Source release 17.1.1
This commit is contained in:
@@ -16,42 +16,71 @@
|
||||
# achieve.
|
||||
{
|
||||
'variables': {
|
||||
# Choose whether the client information is compiled into the binary at
|
||||
# compile-time or whether it is gathered by the CDM at runtime. The client
|
||||
# information ends up as client identification in license requests. All
|
||||
# values may be used by a license server proxy to drive business logic.
|
||||
# Valid values are:
|
||||
#
|
||||
# 'compiled' - The client information is read from the platform properties
|
||||
# and compiled into the CE CDM binary. The platform properties
|
||||
# that define client info must be defined.
|
||||
#
|
||||
# 'runtime' - The client information is read at runtime using
|
||||
# read_client_info.h. The property 'read_client_info_path' must
|
||||
# also be defined, pointing to a GYP target that provides an
|
||||
# implementation of read_client_info.h.
|
||||
'client_info_source%': 'compiled',
|
||||
|
||||
# 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)
|
||||
# binary at build-time. If 'client_info_source' is 'compiled'. 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) If
|
||||
# 'client_info_source' is 'runtime', these variables are ignored.
|
||||
|
||||
# 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%': '',
|
||||
#'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%': '',
|
||||
#'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%': '',
|
||||
#'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%': '',
|
||||
#'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%': '',
|
||||
#'client_device_name%': '',
|
||||
|
||||
# The CPU architecture of the client, e.g. "ARMv7".
|
||||
'client_arch_name%': '',
|
||||
#'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%': '',
|
||||
#'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%': '',
|
||||
#'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%': '',
|
||||
#'client_version%': '',
|
||||
|
||||
# If 'client_info_source' is 'runtime', this variable must be set to the
|
||||
# path to a GYP target that provides an implementation of
|
||||
# read_client_info.h. This implementation will be compiled into the CDM and
|
||||
# used at runtime to get the client info. If 'client_info_source' is
|
||||
# 'compiled', this variable is ignored.
|
||||
'read_client_info_path%': '',
|
||||
|
||||
|
||||
# Choose type of OEMCrypto library to compile in. Valid values are:
|
||||
@@ -60,11 +89,6 @@
|
||||
# they are providing their own OEMCrypto library and the Widevine
|
||||
# CE CDM build system is not responsible for building anything.
|
||||
#
|
||||
# 'ref' - The default value of 'ref' builds the OEMCrypto reference code, in
|
||||
# order to allow the CE CDM to build without a vendor integration.
|
||||
# This setting should *NEVER* be used in production systems and is
|
||||
# for testing purposes only.
|
||||
#
|
||||
# 'level3' - Partners who have received a Widevine-generated Level 3 library
|
||||
# should use 'level3' to indicate that the Widevine CE CDM build
|
||||
# system should include it in the build.
|
||||
@@ -72,13 +96,15 @@
|
||||
# 'target' - If your vendor OEMCrypto is built using GYP and you would like
|
||||
# the Widevine CE CDM build system to build it as part of the CE
|
||||
# CDM build process, you can use 'target' and also set the
|
||||
# variable 'oemcrypto_gyp_target' below. Most vendors will want
|
||||
# to use 'vendor', above, instead. This setting exists primarily
|
||||
# for Google's internal testing.
|
||||
'oemcrypto_lib%': 'ref',
|
||||
# variable 'oemcrypto_gyp_path' below. Most vendors will want to
|
||||
# use 'vendor', above, instead. This setting exists primarily for
|
||||
# Google's internal testing.
|
||||
#'oemcrypto_lib%': '',
|
||||
|
||||
# You only need to set this value if you set 'oemcrypto_lib' to 'target'
|
||||
# above.
|
||||
'oemcrypto_gyp_target%': '',
|
||||
#'oemcrypto_gyp_path%': '',
|
||||
|
||||
# Choose the oemcrypto adapter type. Valid values are:
|
||||
#
|
||||
# 'static' - (default). Statically link oemcrypto into the tests.
|
||||
@@ -152,34 +178,16 @@
|
||||
#
|
||||
# 2) protobuf_config == 'target'
|
||||
# Use an existing protobuf gyp target from your project.
|
||||
# Specify the protobuf gyp file and target in protobuf_lib_target.
|
||||
# Specify the protoc gyp file and target in protoc_host_target.
|
||||
# Specify the protobuf gyp file and target in protobuf_lib_path.
|
||||
# Specify the protoc gyp file and target in protoc_host_path.
|
||||
# Specify the path to protoc in protoc_bin.
|
||||
#
|
||||
# 3) protobuf_config == 'source' (default)
|
||||
# Build protobuf and protoc from the copy in third_party/protobuf.
|
||||
'protobuf_config%': 'source',
|
||||
'protobuf_lib%': '',
|
||||
'protoc_bin%': '',
|
||||
'protoc_lib%': '',
|
||||
'protoc_lib_target%': '',
|
||||
'protoc_host_target%': '',
|
||||
'protobuf_lib_path%': '',
|
||||
'protoc_host_path%': '',
|
||||
}, # 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