| Index: base/base.gyp
|
| diff --git a/base/base.gyp b/base/base.gyp
|
| index 3e02c604541186d8120ca91ae5a53ddd40072e91..04c2d5543d0ef1bb76a9832b54fb291479fd7522 100644
|
| --- a/base/base.gyp
|
| +++ b/base/base.gyp
|
| @@ -24,6 +24,7 @@
|
| 'allocator/allocator.gyp:allocator',
|
| 'base_debugging_flags#target',
|
| 'base_static',
|
| + 'base_build_date#target',
|
| '../testing/gtest.gyp:gtest_prod',
|
| '../third_party/modp_b64/modp_b64.gyp:modp_b64',
|
| 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
| @@ -1000,6 +1001,30 @@
|
| ],
|
| },
|
| },
|
| + {
|
| + 'type': 'none',
|
| + 'target_name': 'base_build_date',
|
| + 'actions': [{
|
| + 'action_name': 'generate_build_date_headers',
|
| + 'inputs': [ '<(DEPTH)/build/write_build_date_header.py' ],
|
| + 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ],
|
| + 'action': [
|
| + 'python', '<(DEPTH)/build/write_build_date_header.py',
|
| + '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h', '<(build_type)'
|
| + ]
|
| + }],
|
| + 'conditions': [
|
| + [ 'buildtype == "Official"', {
|
| + 'variables': {
|
| + 'build_type': 'official'
|
| + }
|
| + }, {
|
| + 'variables': {
|
| + 'build_type': 'default'
|
| + }
|
| + }],
|
| + ]
|
| + },
|
| ],
|
| 'conditions': [
|
| ['OS=="ios" and "<(GENERATOR)"=="ninja"', {
|
|
|