Source release 15.2.0
This commit is contained in:
@@ -8,9 +8,31 @@
|
||||
'variables': {
|
||||
# Label as 'static' or 'dynamic' to use the respective OEMCrypto adapter.
|
||||
'oemcrypto_adapter%': 'static',
|
||||
# Choose type of OEMCrypto library to compile in (ref, level3, vendor).
|
||||
# Production Level 1 systems should use vendor.
|
||||
# Choose type of OEMCrypto library to compile in. Valid values are:
|
||||
#
|
||||
# 'vendor' - Production Level 1 systems should use 'vendor' to indicate that
|
||||
# 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.
|
||||
#
|
||||
# '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',
|
||||
# You only need to set this value if you set 'oemcrypto_lib' to 'target'
|
||||
# above.
|
||||
'oemcrypto_gyp_target%': '',
|
||||
# Override this for the location to the BoringSSL gyp file.
|
||||
'boringssl_dependency%': '../third_party/boringssl/boringssl.gyp:ssl',
|
||||
# Directory where OEMCrypto header, test, and reference files lives.
|
||||
@@ -67,22 +89,27 @@
|
||||
}],
|
||||
['oemcrypto_lib=="level3"', {
|
||||
'sources': [
|
||||
# The test impl of OEMCrypto_Level3FileSystem and its factory.
|
||||
'test/level3_file_system_ce_test.h',
|
||||
'test/level3_file_system_ce_test.cpp',
|
||||
'test/level3_file_system_ce_test_factory.cpp',
|
||||
],
|
||||
'conditions': [
|
||||
# The test impl of OEMCrypto_Level3FileSystem and its factory.
|
||||
'test/level3_file_system_ce_test.h',
|
||||
'test/level3_file_system_ce_test.cpp',
|
||||
'test/level3_file_system_ce_test_factory.cpp',
|
||||
],
|
||||
'conditions': [
|
||||
['oemcrypto_adapter=="static"', {
|
||||
'dependencies': [
|
||||
'../oemcrypto/level3/oec_level3.gyp:oec_level3_static',
|
||||
],
|
||||
'dependencies': [
|
||||
'../oemcrypto/level3/oec_level3.gyp:oec_level3_static',
|
||||
],
|
||||
}, {
|
||||
'dependencies': [
|
||||
'../oemcrypto/level3/oec_level3.gyp:oec_level3_dynamic',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'dependencies': [
|
||||
'../oemcrypto/level3/oec_level3.gyp:oec_level3_dynamic',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['oemcrypto_lib=="target"', {
|
||||
'dependencies': [
|
||||
'<(oemcrypto_gyp_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user