55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
# Copyright 2013 Google Inc. All Rights Reserved.
|
|
#
|
|
# Builds under the CDM ./build/build.py (target platform) build system
|
|
# Refer to the distribution package's README for details.
|
|
#
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'wvcdm_shared_api_unittest',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../cdm/test/cdm_api_test.cpp',
|
|
'../core/test/config_test_env.cpp',
|
|
'../core/test/license_request.cpp',
|
|
'../core/test/http_socket.cpp',
|
|
'../core/test/url_request.cpp',
|
|
],
|
|
'include_dirs': [
|
|
'include',
|
|
'../cdm/include',
|
|
'../core/include',
|
|
'../core/test',
|
|
'../oemcrypto/include',
|
|
],
|
|
'ldflags': [
|
|
'-L$(builddir_name)/$(BUILDTYPE)/lib.target',
|
|
'-L$(builddir_name)/$(BUILDTYPE)',
|
|
'-Wl,-rpath=$(builddir_name)/$(BUILDTYPE)/lib.target/',
|
|
],
|
|
'libraries': [
|
|
'$(builddir_name)/$(BUILDTYPE)/lib.target/libwvcdm_shared.so',
|
|
'-lssl',
|
|
'-lcrypto',
|
|
'-lpthread',
|
|
'-lprotobuf',
|
|
],
|
|
'dependencies': [
|
|
'test/gmock.gyp:gmock',
|
|
'test/gmock.gyp:gmock_main',
|
|
'test/gtest.gyp:gtest',
|
|
],
|
|
'conditions': [
|
|
[ 'external_build==0',
|
|
{
|
|
'dependencies': [
|
|
'../cdm/cdm_api_internal.gyp:wvcdm_shared',
|
|
]
|
|
}
|
|
]
|
|
],
|
|
},
|
|
],
|
|
}
|
|
|