40 lines
842 B
Python
40 lines
842 B
Python
# Copyright 2015 Google Inc. All Rights Reserved.
|
|
#
|
|
# Include this in any custom unit test targets.
|
|
# Does not include the device certificate or the test runner main.
|
|
{
|
|
'sources': [
|
|
'../core/test/http_socket.cpp',
|
|
'../core/test/license_request.cpp',
|
|
'../core/test/url_request.cpp',
|
|
|
|
'test/cdm_test.cpp',
|
|
'test/cdm_test_printers.cpp',
|
|
'test/cdm_test_printers.h',
|
|
'test/test_host.cpp',
|
|
'test/test_host.h',
|
|
],
|
|
'include_dirs': [
|
|
'../core/test',
|
|
],
|
|
'defines': [
|
|
'UNIT_TEST',
|
|
'CDM_TESTS',
|
|
],
|
|
'conditions': [
|
|
# OpenSSL needed for http_socket
|
|
['openssl_config == "target"', {
|
|
'dependencies': [
|
|
'<(openssl_target)',
|
|
],
|
|
}, {
|
|
# openssl_config == "system"
|
|
'link_settings': {
|
|
'libraries': [
|
|
'-lssl',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
}
|