Initial source release: v2.0.8-0-679
Change-Id: Idf6316a8faf4b4fdc54265aad12084e5aa60707a
This commit is contained in:
24
build/platforms/x86-64/oemcrypto/oec_build.gyp
Normal file
24
build/platforms/x86-64/oemcrypto/oec_build.gyp
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 2013 Google Inc. All Rights Reserved.
|
||||
#
|
||||
# Build the vendor's oemcrypto (simulated with mock for x86-64)
|
||||
#
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'oemcrypto',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../../../../core/include',
|
||||
'../../../../oemcrypto/include',
|
||||
'../../../../',
|
||||
],
|
||||
'sources': [
|
||||
'../../../../oemcrypto/mock/src/oemcrypto_engine_mock.cpp',
|
||||
'../../../../oemcrypto/mock/src/oemcrypto_key_mock.cpp',
|
||||
'../../../../oemcrypto/mock/src/oemcrypto_keybox_mock.cpp',
|
||||
'../../../../oemcrypto/mock/src/oemcrypto_mock.cpp',
|
||||
'../../../../oemcrypto/mock/src/wvcrc.cpp',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
6
build/platforms/x86-64/x86-64.gypi
Normal file
6
build/platforms/x86-64/x86-64.gypi
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright 2013 Google Inc. All rights reserved.
|
||||
{
|
||||
'variables': {
|
||||
'certificate_provision':'true',
|
||||
},
|
||||
}
|
||||
50
build/platforms/x86-64/x86-64.py
Normal file
50
build/platforms/x86-64/x86-64.py
Normal file
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/python2
|
||||
# Copyright 2013 Google Inc. All rights reserved.
|
||||
#
|
||||
# x86-64 baseline
|
||||
# Definitions:
|
||||
# external_build - boolean if 0, we will build libwvcdm_shared from source.
|
||||
# Comment out "V:1" for non-verbose make, it's not based on bool value.
|
||||
#
|
||||
toolchain = {
|
||||
'tooldir': '/usr/bin/',
|
||||
'CC' : 'gcc',
|
||||
'CXX' : 'g++',
|
||||
'AR' : 'ar',
|
||||
'LD' : 'ld',
|
||||
'CFLAGS': '-fno-exceptions -fPIC \
|
||||
-I/usr/local/include \
|
||||
-I./build/platforms/x86-64',
|
||||
'CXXFLAGS': '-fno-exceptions -fPIC \
|
||||
-I/usr/local/include \
|
||||
-I$(CDM_TOP)/build/platforms/x86-64',
|
||||
'LDFLAGS': '-L$(CDM_TOP)/prebuilt/gtest/out_x86_linux/Release/lib',
|
||||
}
|
||||
|
||||
# gyp_variables
|
||||
# Definitions:
|
||||
# external_build = vendor can only get binary libwvcdm, no source.
|
||||
# oemcrypto_lib = where the vendor's oemcrypto lib is if not a mock.
|
||||
# target_oemcrypto = oemcrypto_lib or comment out for default of oec_mock.
|
||||
gyp_variables = [
|
||||
'-Duse_system_protobuf=1',
|
||||
'-Dexternal_build=0',
|
||||
'-Dtarget_build=x86-64',
|
||||
'-Doemcrypto_target=../build/platforms/x86-64/oemcrypto/oec_build.gyp:oemcrypto',
|
||||
'-Doemcrypto_lib=',
|
||||
'cdm/cdm_api_external.gyp',
|
||||
'-Dcompany_name="www"',
|
||||
'-Dmodel_name="www"',
|
||||
'-Darchitecture_name="x86-64"',
|
||||
'-Ddevice_name="x86-64 Linux"',
|
||||
'-Dproduct_name="x86-64 cdm"',
|
||||
'-Dbuildinfo_data="cdm_partner_2.0"',
|
||||
'--include=build/platforms/x86-64/x86-64.gypi',
|
||||
]
|
||||
|
||||
# Comment out "V:1" if you want non-verbose make, it's not based on bool value.
|
||||
|
||||
export_variables = {
|
||||
'V':'1', \
|
||||
'builddir_name':'$(CDM_TOP)/out/x86-64', \
|
||||
}
|
||||
Reference in New Issue
Block a user