# Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary #source code may only be used and distributed under the Widevine Master License #Agreement. # # Include this in any custom unit test targets. # Does not include the test runner main. { 'sources': [ '../oec_device_features.cpp', '../oec_key_deriver.cpp', '../oec_session_util.cpp', '../oemcrypto_session_tests_helper.cpp', '../oemcrypto_session_tests_helper.h', '../../../cdm/test/device_cert.cpp', '../../../cdm/test/device_cert.h', ], 'include_dirs': [ '../../../core/include', # log.h '../../include', '../../ref/src', # oemcrypto_key_ref.h '../', '../../../cdm/test', ], 'defines': [ 'OEMCRYPTO_TESTS', 'OEMCRYPTO_FUZZ_TESTS', ], 'libraries': [ '../../../third_party/fuzz/platforms/x86-64/libFuzzer.a', ], 'dependencies': [ '../../../cdm/cdm.gyp:widevine_ce_cdm_shared', '../../../third_party/gmock.gyp:gmock', '../../../third_party/gmock.gyp:gtest', ], 'conditions': [ ['oemcrypto_lib==""', { 'includes': [ '../../ref/oec_ref.gypi', ], }, { 'libraries': [ '../../../third_party/fuzz/platforms/x86-64/libFuzzer.a', '<(oemcrypto_lib)', ], }], ], }