Chromium Code Reviews| Index: base/base.gyp |
| diff --git a/base/base.gyp b/base/base.gyp |
| index 929a3e42d52114297ce7715f90c31913b3fd720c..79b30a85727ba8a683d18b98083c27868ae41a1a 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', |
| @@ -992,6 +993,33 @@ |
| ], |
| }, |
| }, |
| + { |
| + 'type': 'none', |
| + 'target_name': 'base_build_date', |
| + 'actions': [{ |
| + 'action_name': 'generate_build_date_headers', |
| + 'inputs': [ |
| + '<(DEPTH)/build/write_build_date_header.py', |
| + '<(DEPTH)/build/util/LASTCHANGE' |
| + ], |
| + '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)' |
|
M-A Ruel
2016/02/09 00:14:13
wrap line
Zachary Forman
2016/02/09 00:47:18
Done
|
| + ] |
| + }], |
| + 'conditions': [ |
| + [ 'buildtype == "Official"', { |
| + 'variables': { |
| + 'build_type': 'official' |
| + } |
| + }, { |
| + 'variables': { |
| + 'build_type': 'default' |
| + } |
| + }], |
| + ] |
| + }, |
| ], |
| 'conditions': [ |
| ['OS=="ios" and "<(GENERATOR)"=="ninja"', { |