Source release 17.1.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Copyright 2020 Google LLC. All Rights Reserved. This file and proprietary
|
||||
# source code may only be used and distributed under the Widevine Master
|
||||
# License Agreement.
|
||||
# source code may only be used and distributed under the Widevine License
|
||||
# Agreement.
|
||||
|
||||
# This file contains all the variables that Widevine exposes for integration
|
||||
# partners to customize in their platforms' settings.gypi files. Partners will
|
||||
@@ -16,6 +16,44 @@
|
||||
# achieve.
|
||||
{
|
||||
'variables': {
|
||||
# The following variables define the client info that is baked into the CDM
|
||||
# binary at build-time. These parameters end up as client identification in
|
||||
# license requests. All values may be used by a license server proxy to
|
||||
# drive business logic. You *must* set meaningful values for all of these
|
||||
# variables as part of defining your platform. Values may not contain
|
||||
# double quotes, percent signs, or the substring " | ". (a vertical pipe
|
||||
# surrounded by spaces)
|
||||
|
||||
# The name of the company who makes the client, e.g. "KubrickTech".
|
||||
# This should match the "Make" field in the Widevine Integration Console.
|
||||
'client_company_name%': '',
|
||||
# The client's model name, e.g. "HAL 9000".
|
||||
# This should match the "Model" field in the Widevine Integration Console.
|
||||
'client_model_name%': '',
|
||||
# The client's model year, e.g. "2001".
|
||||
# Can be used to distinguish different devices with the same model name.
|
||||
# This should match the "Year" field in the Widevine Integration Console.
|
||||
'client_model_year%': '',
|
||||
# The name or codename of the product or application, e.g. "clarke".
|
||||
# This may be the same as "client_model_name".
|
||||
'client_product_name%': '',
|
||||
# The name or codename of the client, e.g. "HAL".
|
||||
# This may be the same as "client_model_name" or "client_product_name".
|
||||
'client_device_name%': '',
|
||||
# The CPU architecture of the client, e.g. "ARMv7".
|
||||
'client_arch_name%': '',
|
||||
# The OS platform of the client, e.g. "Linux".
|
||||
# This should match the "Platform" field in the Widevine Integration
|
||||
# Console.
|
||||
'client_platform%': '',
|
||||
# The form factor of the client, e.g. "TV".
|
||||
# This should match the "Type" field in the Widevine Integration Console.
|
||||
'client_form_factor%': '',
|
||||
# The version number of the client that the CE CDM is integrated into. This
|
||||
# is the operating system or app version, not the CDM version.
|
||||
'client_version%': '',
|
||||
|
||||
|
||||
# Choose type of OEMCrypto library to compile in. Valid values are:
|
||||
#
|
||||
# 'vendor' - Production Level 1 systems should use 'vendor' to indicate that
|
||||
@@ -47,6 +85,12 @@
|
||||
# other values - for internal testing.
|
||||
'oemcrypto_adapter_type%': 'static',
|
||||
|
||||
# Whether to include OTA Keybox functionality or not. This is an optional
|
||||
# feature that is only used a few platforms. Generally, to qualify as an L1
|
||||
# device, a keybox must be installed on the device in the factory.
|
||||
# Valid values are 'true' or 'false'.
|
||||
'support_ota_keybox_functions%': 'false',
|
||||
|
||||
# Override this to indicate what CPU architecture's assembly-language files
|
||||
# should be used when building assembly language files. Or, set it to
|
||||
# "none" to turn off the use of assembly language. The default is "none" for
|
||||
@@ -58,7 +102,7 @@
|
||||
#
|
||||
# Valid values are:
|
||||
# * x86
|
||||
# * x86-64
|
||||
# * x64 or x86-64
|
||||
# * arm
|
||||
# * arm64
|
||||
# * ppc64
|
||||
@@ -96,8 +140,8 @@
|
||||
# When using BoringSSL, the Widevine CE CDM defaults to the copy of
|
||||
# BoringSSL in third_party/boringssl/. If you have an alternative BoringSSL
|
||||
# GYP build, you can override these variables to point to it instead.
|
||||
'boringssl_libcrypto_path%': '../third_party/boringssl/boringssl.gyp:crypto',
|
||||
'boringssl_libssl_path%': '../third_party/boringssl/boringssl.gyp:ssl',
|
||||
'boringssl_libcrypto_path%': '<(DEPTH)/third_party/boringssl/boringssl.gyp:crypto',
|
||||
'boringssl_libssl_path%': '<(DEPTH)/third_party/boringssl/boringssl.gyp:ssl',
|
||||
|
||||
# There are three protobuf configurations:
|
||||
#
|
||||
@@ -113,10 +157,29 @@
|
||||
# Specify the path to protoc in protoc_bin.
|
||||
#
|
||||
# 3) protobuf_config == 'source' (default)
|
||||
# Build protobuf and protoc from source.
|
||||
# Specify the path to the protobuf source in protobuf_source.
|
||||
# Build protobuf and protoc from the copy in third_party/protobuf.
|
||||
'protobuf_config%': 'source',
|
||||
'protobuf_source%': '../third_party/protobuf',
|
||||
'protoc_host_target%': 'dummy',
|
||||
'protoc_bin%': '',
|
||||
'protoc_lib%': '',
|
||||
'protoc_lib_target%': '',
|
||||
'protoc_host_target%': '',
|
||||
}, # variables
|
||||
|
||||
# This block defines preprocessor values that match the client information
|
||||
# variables above. If you are writing your own build files to build CE CDM
|
||||
# insted of using these GYP files, make sure to define these values, following
|
||||
# the rules in the client info section above.
|
||||
'target_defaults': {
|
||||
'defines': [
|
||||
'CLIENT_COMPANY_NAME="<(client_company_name)"',
|
||||
'CLIENT_MODEL_NAME="<(client_model_name)"',
|
||||
'CLIENT_MODEL_YEAR="<(client_model_year)"',
|
||||
'CLIENT_PRODUCT_NAME="<(client_product_name)"',
|
||||
'CLIENT_DEVICE_NAME="<(client_device_name)"',
|
||||
'CLIENT_ARCH_NAME="<(client_arch_name)"',
|
||||
'CLIENT_PLATFORM="<(client_platform)"',
|
||||
'CLIENT_FORM_FACTOR="<(client_form_factor)"',
|
||||
'CLIENT_VERSION="<(client_version)"',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user