Files
ce_cdm/cdm/oemcrypto_unittests.gypi
2018-05-16 17:35:40 -07:00

36 lines
1.0 KiB
Python

# Copyright 2015 Google Inc. All Rights Reserved.
#
# Include this in any custom unit test targets.
# Does not include the test runner main.
{
'variables': {
# Label as 'static' or 'dynamic' to use the respective OEMCrypto adapter.
'oemcrypto_adapter%': 'static',
# Choose OEMCrypto library to compile in (mock, level3, vendor).
'oemcrypto_lib%': 'mock',
},
'sources': [
'../oemcrypto/test/oec_device_features.cpp',
'../oemcrypto/test/oec_session_util.cpp',
'../oemcrypto/test/oemcrypto_session_tests_helper.cpp',
'../oemcrypto/test/oemcrypto_test.cpp',
'../test/auth/test_keybox.cpp',
'../test/auth/test_rsa_key.cpp',
'../test/auth/test_oem_cert.cpp',
'../test/auth/test_service_cert.cpp',
],
'include_dirs': [
'../core/include', # log.h
'../oemcrypto/include',
'../oemcrypto/mock/src', # oemcrypto_key_mock.h
'../oemcrypto/test',
'../test/auth',
],
'defines': [
'OEMCRYPTO_TESTS',
],
'dependencies': [
'<(boringssl_dependency)',
],
}