53 lines
1.7 KiB
Python
53 lines
1.7 KiB
Python
# 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',
|
|
'disable_privacy_crypto%': 'false',
|
|
}, # 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
|
|
}
|