# Copyright 2024 Google LLC. All Rights Reserved. This file and proprietary # source code may only be used and distributed under the Widevine License # Agreement. # # Any top-level targets in this file (and their dependencies) will be built by # the CE CDM's ./build.py build system. Refer to the distribution package's # README for details. { 'includes': [ 'platform_properties.gypi', ], 'variables': { }, 'targets': [{ 'toolsets' : [ 'target' ], 'target_name': 'extract_bcc_tool', 'sources': [ '../oemcrypto/test/extract_bcc_tool.cpp', ], 'include_dirs': [ '../cdm/include', '../core/include', '../metrics/include', '../oemcrypto/include', '../util/include', ], 'dependencies': [ 'cdm.gyp:widevine_ce_cdm_static', ], 'msvs_settings': { 'VCLinkerTool': { # Additionally, since they are loaded locally, suppress these # warnings. 'AdditionalOptions': [ '/IGNORE:4049', '/IGNORE:4217', ], }, }, 'conditions': [ ['OS=="ios"', { 'type': 'loadable_module', 'mac_xctest_bundle': '1', 'defines': [ 'GTEST_FILTER="<(gtest_filter)"', ], 'dependencies': [ 'cdm_unittests.gyp:dummy_app', ], 'sources': [ 'test/gtest_xctest_wrapper.mm', ], 'xcode_settings': { 'BUNDLE_LOADER': '$(TEST_HOST)', 'TEST_HOST': '<(PRODUCT_DIR)/dummy_app.app/dummy_app', 'WRAPPER_EXTENSION': 'xctest', }, }, { 'type': 'executable', }], ['oemcrypto_lib=="target"', { 'dependencies': [ '<(oemcrypto_gyp_path)', ], }], ], }], }