Initial source release: v2.0.8-0-679
Change-Id: Idf6316a8faf4b4fdc54265aad12084e5aa60707a
This commit is contained in:
54
cdm/cdm_api_external.gyp
Normal file
54
cdm/cdm_api_external.gyp
Normal file
@@ -0,0 +1,54 @@
|
||||
# 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',
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user