Source release v2.1.1-0-738 + third_party libs
Change-Id: I76e298f8092951d4214c776d6bbcad6b763eb5b2
This commit is contained in:
53
platforms/global_config.gypi
Normal file
53
platforms/global_config.gypi
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 2013 Google Inc. All rights reserved.
|
||||
{
|
||||
# Global place to define default variables.
|
||||
# This file and the platform-specific gypi are included in every gyp file.
|
||||
|
||||
'variables': {
|
||||
'company_name%': '"UndefinedCompanyName"',
|
||||
'model_name%': '"UndefinedModelName"',
|
||||
'architecture_name%': '"UndefinedArchitectureName"',
|
||||
'device_name%': '"UndefinedDeviceName"',
|
||||
'product_name%': '"UndefinedProductName"',
|
||||
'buildinfo_data%': '"UndefinedBuildInfo"',
|
||||
'oemcrypto_target%': '../oemcrypto/mock/oec_mock.gyp:oec_mock',
|
||||
'protobuf_source_dir%': '',
|
||||
'use_system_protobuf%': 'true',
|
||||
'protoc_dir%': '/usr/bin',
|
||||
'certificate_provision%': 'false',
|
||||
'force_use_of_secure_buffers%': 'false',
|
||||
'cdm_target_name%': 'wvcdm_shared',
|
||||
'cdm_target_type%': 'shared_library',
|
||||
}, # end variables
|
||||
|
||||
'target_defaults': {
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'defines': [
|
||||
'_DEBUG',
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'defines': [
|
||||
'NDEBUG',
|
||||
],
|
||||
},
|
||||
}, # end configurations
|
||||
'target_conditions': [
|
||||
['_type=="static_library"', {
|
||||
'standalone_static_library': 1,
|
||||
}]
|
||||
], # end target_conditions
|
||||
'defines': [
|
||||
'PLATFORM_COMPANY_NAME_WV=<(company_name)',
|
||||
'PLATFORM_MODEL_NAME_WV=<(model_name)',
|
||||
'PLATFORM_ARCHITECTURE_NAME_WV=<(architecture_name)',
|
||||
'PLATFORM_DEVICE_NAME_WV=<(device_name)',
|
||||
'PLATFORM_PRODUCT_NAME_WV=<(product_name)',
|
||||
'PLATFORM_BUILDINFO_WV=<(buildinfo_data)',
|
||||
'PLATFORM_CERTIFICATE_PROV=<(certificate_provision)',
|
||||
'PLATFORM_REQUIRES_SECURE_BUFFERS=<(force_use_of_secure_buffers)',
|
||||
'PLATFORM_USES_CLEAR_BUFFERS=!<(force_use_of_secure_buffers)',
|
||||
], # end defines
|
||||
}, # end target_defaults
|
||||
}
|
||||
92
platforms/x86-64/x86-64.gypi
Normal file
92
platforms/x86-64/x86-64.gypi
Normal file
@@ -0,0 +1,92 @@
|
||||
# Copyright 2013 Google Inc. All rights reserved.
|
||||
{
|
||||
# Here you can override global gyp variables with platform-specific values.
|
||||
# See global_config.gypi for a complete list of settings you can override.
|
||||
'variables': {
|
||||
'certificate_provision': 'true',
|
||||
|
||||
'company_name': '"www"',
|
||||
'model_name': '"www"',
|
||||
'architecture_name': '"x86-64"',
|
||||
'device_name': '"x86-64 Linux"',
|
||||
'product_name': '"x86-64 cdm"',
|
||||
'buildinfo_data': '"cdm_partner_2.0"',
|
||||
}, # end variables
|
||||
|
||||
# Here you can set platform-specific compiler settings.
|
||||
'target_defaults': {
|
||||
# These are flags passed to the compiler for all C & C++ files.
|
||||
'cflags': [
|
||||
'-fPIC',
|
||||
'-fno-exceptions',
|
||||
],
|
||||
|
||||
# These are flags passed to the compiler for plain C only.
|
||||
'cflags_c': [
|
||||
],
|
||||
|
||||
# These are flags passed to the compiler for C++ only.
|
||||
'cflags_cc': [
|
||||
],
|
||||
|
||||
# These are flags passed to the linker.
|
||||
'ldflags': [
|
||||
],
|
||||
|
||||
# These are macros set by the compiler.
|
||||
'defines': [
|
||||
#'EXAMPLE_MACRO_WITH_NO_VALUE',
|
||||
#'EXAMPLE_KEY=EXAMPLE_VALUE',
|
||||
],
|
||||
|
||||
# These are additional include paths to search for headers.
|
||||
'include_dirs': [
|
||||
#'/usr/local/include',
|
||||
],
|
||||
|
||||
'target_conditions': [
|
||||
['_toolset == "host"', {
|
||||
# These are settings specifically for the host toolchain.
|
||||
# The extra equals sign in the key name instructs gyp to replace
|
||||
# the generic settings above rather than append to them.
|
||||
'cflags=': [
|
||||
],
|
||||
|
||||
'cflags_c=': [
|
||||
],
|
||||
|
||||
'cflags_cc=': [
|
||||
],
|
||||
|
||||
'ldflags=': [
|
||||
],
|
||||
|
||||
'defines=': [
|
||||
],
|
||||
|
||||
'include_dirs=': [
|
||||
],
|
||||
}], # end _toolset == "host" condition
|
||||
], # end target_conditions
|
||||
|
||||
'configurations': {
|
||||
# These are additional settings per build configuration.
|
||||
# You may specify any of the keys above in this section
|
||||
# (cflags, cflags_c, cflags_cc, ldflags, defines, include_dirs).
|
||||
'Debug': {
|
||||
'cflags': [
|
||||
'-O0',
|
||||
'-g',
|
||||
],
|
||||
'ldflags': [
|
||||
'-g',
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'cflags': [
|
||||
'-O2',
|
||||
],
|
||||
},
|
||||
}, # end configurations
|
||||
}, # end target_defaults
|
||||
}
|
||||
5
platforms/x86-64/x86-64.py
Normal file
5
platforms/x86-64/x86-64.py
Normal file
@@ -0,0 +1,5 @@
|
||||
export_variables = {
|
||||
'CC': 'gcc',
|
||||
'CXX': 'g++',
|
||||
'AR': 'ar',
|
||||
}
|
||||
Reference in New Issue
Block a user