Source release 19.3.0
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
'device_files_target': 'cdm.gyp:device_files',
|
||||
# The path to the prebuilt CDM to test against. (iOS only)
|
||||
'prebuilt_cdm_path%': '',
|
||||
# The path to the include directory.
|
||||
'test_include_dir%': 'include',
|
||||
'expected_cdm_version%': '',
|
||||
'supports_dynamic_perf_test%': 0,
|
||||
'json_dir': '../third_party/nlohmann-json',
|
||||
'jsmn_dir': '../third_party/jsmn',
|
||||
@@ -150,6 +153,21 @@
|
||||
],
|
||||
}],
|
||||
}], # condition: supports_dynamic_perf_test
|
||||
['prebuilt_cdm_path!=""', {
|
||||
'targets': [{
|
||||
'target_name': 'widevine_check_version',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'test/test_version.cpp',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(test_include_dir)',
|
||||
],
|
||||
'libraries': [
|
||||
'<(prebuilt_cdm_path)',
|
||||
],
|
||||
}],
|
||||
}],
|
||||
['OS=="ios"', {
|
||||
'targets': [{
|
||||
'toolsets' : [ 'target' ],
|
||||
@@ -165,6 +183,7 @@
|
||||
],
|
||||
'xcode_settings': {
|
||||
'INFOPLIST_FILE': 'test/info.plist',
|
||||
'PROVISIONING_PROFILE_SPECIFIER': 'Google Development',
|
||||
},
|
||||
'conditions': [
|
||||
['prebuilt_cdm_path!=""', {
|
||||
@@ -187,6 +206,7 @@
|
||||
'type': 'loadable_module',
|
||||
'mac_xctest_bundle': '1',
|
||||
'defines': [
|
||||
'EXPECTED_CDM_VERSION="<(expected_cdm_version)"',
|
||||
'GTEST_FILTER="<(gtest_filter)"',
|
||||
],
|
||||
'xcode_settings': {
|
||||
@@ -210,22 +230,27 @@
|
||||
'../core/test/license_request.cpp',
|
||||
'../core/test/url_request.cpp',
|
||||
'../util/src/string_conversions.cpp',
|
||||
'../util/src/string_format.cpp',
|
||||
'../util/test/test_clock.cpp',
|
||||
'../util/test/test_sleep.cpp',
|
||||
'src/log.cpp',
|
||||
'src/logger_global.cpp',
|
||||
'test/perf_test.cpp',
|
||||
'test/perf_test_xctest.mm',
|
||||
'test/test_host.cpp',
|
||||
'test/test_version_xctest.mm',
|
||||
],
|
||||
'includes': [ '../util/libssl_dependency.gypi' ],
|
||||
'include_dirs': [
|
||||
'<(test_include_dir)',
|
||||
'../core/include',
|
||||
'../core/test',
|
||||
'../oemcrypto/include',
|
||||
'../util/include',
|
||||
'../util/test',
|
||||
'include',
|
||||
],
|
||||
'dependencies': [
|
||||
'../cdm/cdm.gyp:device_files',
|
||||
'../third_party/googletest.gyp:gmock',
|
||||
'../third_party/googletest.gyp:gtest',
|
||||
'dummy_app',
|
||||
|
||||
Reference in New Issue
Block a user