44 lines
1.4 KiB
Python
44 lines
1.4 KiB
Python
# Copyright 2013 Google Inc. All rights reserved.
|
|
{
|
|
# Global place to define variables and defines.
|
|
# This file is passed to gyp and the contents included in
|
|
# every gyp referenced.
|
|
|
|
'variables': {
|
|
'target_build%':"x86-64",
|
|
'company_name%':'"UndefinedCompanyName"',
|
|
'model_name%':'"UndefinedModelName"',
|
|
'architecture_name%':'"UndefinedArchitectureName"',
|
|
'device_name%':'"UndefinedDeviceName"',
|
|
'product_name%':'"UndefinedProductName"',
|
|
'buildinfo_data%':'"UndefinedBuildInfo"',
|
|
'target_oemcrypto%': 'oec_mock',
|
|
'oemcrypto_target%':'../oemcrypto/mock/oec_mock.gyp:oec_mock',
|
|
'protoc_dir%':'/usr/bin',
|
|
'certificate_provision%':'false',
|
|
},
|
|
'target_defaults': {
|
|
'default_configuration': 'Release',
|
|
'configurations': {
|
|
'Debug': {
|
|
'cflags': ['-g'],
|
|
},
|
|
'Release': {},
|
|
}, # end configurations
|
|
'target_conditions': [
|
|
['_type=="static_library"', {
|
|
'standalone_static_library': 1,
|
|
}]
|
|
],
|
|
'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)',
|
|
],
|
|
} # end target_defaults
|
|
}
|