OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
11 'base.gypi', | 11 'base.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'base', | 15 'target_name': 'base', |
16 'type': '<(component)', | 16 'type': '<(component)', |
17 'toolsets': ['host', 'target'], | 17 'toolsets': ['host', 'target'], |
18 'variables': { | 18 'variables': { |
19 'base_target': 1, | 19 'base_target': 1, |
20 'enable_wexit_time_destructors': 1, | 20 'enable_wexit_time_destructors': 1, |
21 'optimize': 'max', | 21 'optimize': 'max', |
22 }, | 22 }, |
23 'dependencies': [ | 23 'dependencies': [ |
24 'allocator/allocator.gyp:allocator', | 24 'allocator/allocator.gyp:allocator', |
25 'base_debugging_flags#target', | 25 'base_debugging_flags#target', |
26 'base_static', | 26 'base_static', |
| 27 'base_build_date#target', |
27 '../testing/gtest.gyp:gtest_prod', | 28 '../testing/gtest.gyp:gtest_prod', |
28 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 29 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
29 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 30 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
30 ], | 31 ], |
31 # TODO(gregoryd): direct_dependent_settings should be shared with the | 32 # TODO(gregoryd): direct_dependent_settings should be shared with the |
32 # 64-bit target, but it doesn't work due to a bug in gyp | 33 # 64-bit target, but it doesn't work due to a bug in gyp |
33 'direct_dependent_settings': { | 34 'direct_dependent_settings': { |
34 'include_dirs': [ | 35 'include_dirs': [ |
35 '..', | 36 '..', |
36 ], | 37 ], |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 # toolchain, always refer to 'base_debugging_flags#target'. | 986 # toolchain, always refer to 'base_debugging_flags#target'. |
986 'target_name': 'base_debugging_flags', | 987 'target_name': 'base_debugging_flags', |
987 'includes': [ '../build/buildflag_header.gypi' ], | 988 'includes': [ '../build/buildflag_header.gypi' ], |
988 'variables': { | 989 'variables': { |
989 'buildflag_header_path': 'base/debug/debugging_flags.h', | 990 'buildflag_header_path': 'base/debug/debugging_flags.h', |
990 'buildflag_flags': [ | 991 'buildflag_flags': [ |
991 'ENABLE_PROFILING=<(profiling)', | 992 'ENABLE_PROFILING=<(profiling)', |
992 ], | 993 ], |
993 }, | 994 }, |
994 }, | 995 }, |
| 996 { |
| 997 'type': 'none', |
| 998 'target_name': 'base_build_date', |
| 999 'actions': [{ |
| 1000 'action_name': 'generate_build_date_headers', |
| 1001 'inputs': [ |
| 1002 '<(DEPTH)/build/write_build_date_header.py', |
| 1003 '<(DEPTH)/build/util/LASTCHANGE' |
| 1004 ], |
| 1005 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], |
| 1006 'action': [ |
| 1007 'python', '<(DEPTH)/build/write_build_date_header.py', |
| 1008 '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h', |
| 1009 '<(build_type)' |
| 1010 ] |
| 1011 }], |
| 1012 'conditions': [ |
| 1013 [ 'buildtype == "Official"', { |
| 1014 'variables': { |
| 1015 'build_type': 'official' |
| 1016 } |
| 1017 }, { |
| 1018 'variables': { |
| 1019 'build_type': 'default' |
| 1020 } |
| 1021 }], |
| 1022 ] |
| 1023 }, |
995 ], | 1024 ], |
996 'conditions': [ | 1025 'conditions': [ |
997 ['OS=="ios" and "<(GENERATOR)"=="ninja"', { | 1026 ['OS=="ios" and "<(GENERATOR)"=="ninja"', { |
998 'targets': [ | 1027 'targets': [ |
999 { | 1028 { |
1000 'target_name': 'test_launcher', | 1029 'target_name': 'test_launcher', |
1001 'toolsets': ['host'], | 1030 'toolsets': ['host'], |
1002 'type': 'executable', | 1031 'type': 'executable', |
1003 'dependencies': [ | 1032 'dependencies': [ |
1004 'test_support_base', | 1033 'test_support_base', |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 '../build/isolate.gypi', | 1667 '../build/isolate.gypi', |
1639 ], | 1668 ], |
1640 'sources': [ | 1669 'sources': [ |
1641 'base_unittests.isolate', | 1670 'base_unittests.isolate', |
1642 ], | 1671 ], |
1643 }, | 1672 }, |
1644 ], | 1673 ], |
1645 }], | 1674 }], |
1646 ], | 1675 ], |
1647 } | 1676 } |
OLD | NEW |