Initial source release: v2.0.8-0-679
Change-Id: Idf6316a8faf4b4fdc54265aad12084e5aa60707a
This commit is contained in:
89
cdm/cdm_api_internal.gyp
Normal file
89
cdm/cdm_api_internal.gyp
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 2013 Google Inc. All Rights Reserved.
|
||||
#
|
||||
# Refer to the distribution package's README for information about
|
||||
# setting up your system, performing the build, and using/testing
|
||||
# the build targets.
|
||||
#
|
||||
# Set external_build=0 via GYP_DEFINES if debug information in
|
||||
# libwvcdm_shared.so is desirable.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'license_protocol',
|
||||
'type': 'static_library',
|
||||
'sources': ['../core/src/license_protocol.proto',],
|
||||
'variables': {
|
||||
'proto_in_dir': '../core/src',
|
||||
'proto_out_dir': 'license_protocol',
|
||||
},
|
||||
'includes': ['../build/protoc.gypi'],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_files',
|
||||
'type': 'static_library',
|
||||
'sources': ['../core/src/device_files.proto',],
|
||||
'variables': {
|
||||
'proto_in_dir': '../core/src',
|
||||
'proto_out_dir': 'device_files',
|
||||
},
|
||||
'includes': ['../build/protoc.gypi'],
|
||||
},
|
||||
{
|
||||
'target_name': 'wvcdm_sysdep',
|
||||
'type': 'static_library',
|
||||
'defines': ['CDM_IMPLEMENTATION'],
|
||||
'include_dirs': [
|
||||
'../cdm/include',
|
||||
'../core/include',
|
||||
'../linux/include',
|
||||
'../third_party/stringencoders/src',
|
||||
],
|
||||
'sources': [
|
||||
'../cdm/src/file_store.cpp',
|
||||
'../cdm/src/properties_common.cpp',
|
||||
'../core/src/string_conversions.cpp',
|
||||
'../linux/src/lock.cpp',
|
||||
'../linux/src/log.cpp',
|
||||
'../third_party/stringencoders/src/modp_b64w.cpp',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'wvcdm_shared',
|
||||
'type': 'shared_library',
|
||||
'defines': ['CDM_IMPLEMENTATION'],
|
||||
'dependencies': [
|
||||
'license_protocol',
|
||||
'wvcdm_sysdep',
|
||||
'device_files',
|
||||
'<(oemcrypto_target)',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../cdm/include',
|
||||
'../core/include',
|
||||
'../third_party/gmock/include',
|
||||
'../linux/include',
|
||||
'../oemcrypto/include',
|
||||
],
|
||||
'sources': [
|
||||
# uses common published api
|
||||
'../cdm/src/clock.cpp',
|
||||
'../cdm/src/host_event_listener.cpp',
|
||||
'../cdm/src/wv_content_decryption_module.cpp',
|
||||
'../core/src/buffer_reader.cpp',
|
||||
'../core/src/cdm_engine.cpp',
|
||||
'../core/src/cdm_session.cpp',
|
||||
'../core/src/certificate_provisioning.cpp',
|
||||
'../core/src/crypto_session.cpp',
|
||||
'../core/src/device_files.cpp',
|
||||
'../core/src/license.cpp',
|
||||
'../core/src/oemcrypto_adapter_static.cpp',
|
||||
'../core/src/policy_engine.cpp',
|
||||
'../core/src/privacy_crypto.cpp',
|
||||
'../core/src/properties.cpp',
|
||||
],
|
||||
'direct_dependencies': [
|
||||
'license_protocol',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user