Source release 14.1.0
This commit is contained in:
40
oemcrypto/test/oemcrypto_unittests.gyp
Normal file
40
oemcrypto/test/oemcrypto_unittests.gyp
Normal file
@@ -0,0 +1,40 @@
|
||||
# This is a gyp file for building the OEMCrypto unit tests with the reference
|
||||
# code from the stand-alone source code.
|
||||
{
|
||||
'variables': {
|
||||
# Override the variables below for the location of various gyp files.
|
||||
# Alternatively, set the environment variable CDM_DIR to point to a recent
|
||||
# version of the source CDM.
|
||||
'boringssl_dependency%': '<!(echo $CDM_DIR)/third_party/boringssl/boringssl.gyp:legacy_ssl',
|
||||
'gtest_dependency%': '<!(echo $CDM_DIR)/third_party/gmock.gyp:gtest',
|
||||
'gmock_dependency%': '<!(echo $CDM_DIR)/third_party/gmock.gyp:gmock',
|
||||
'oemcrypto_dir%': '..',
|
||||
'util_dir%': '../../util',
|
||||
'platform_specific_dir%': '<!(echo $CDM_DIR)/linux/src',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'oemcrypto_unittests',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'oemcrypto_test_main.cpp',
|
||||
'<(platform_specific_dir)/file_store.cpp',
|
||||
'<(platform_specific_dir)/lock.cpp',
|
||||
'<(platform_specific_dir)/log.cpp',
|
||||
'<(util_dir)/src/string_conversions.cpp',
|
||||
],
|
||||
'includes': [
|
||||
'oemcrypto_unittests.gypi',
|
||||
'../ref/oec_ref.gypi',
|
||||
],
|
||||
'libraries': [
|
||||
'-lpthread', # gtest
|
||||
],
|
||||
'dependencies': [
|
||||
'<(boringssl_dependency)',
|
||||
'<(gtest_dependency)',
|
||||
'<(gmock_dependency)',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user