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 'allocator/allocator.gyp:allocator_features#target', | 25 'allocator/allocator.gyp:allocator_features#target', |
26 'base_debugging_flags#target', | 26 'base_debugging_flags#target', |
27 'base_win_features#target', | |
28 'base_static', | 27 'base_static', |
29 'base_build_date#target', | 28 'base_build_date#target', |
30 '../testing/gtest.gyp:gtest_prod', | 29 '../testing/gtest.gyp:gtest_prod', |
31 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 30 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
32 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 31 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
33 ], | 32 ], |
34 # TODO(gregoryd): direct_dependent_settings should be shared with the | 33 # TODO(gregoryd): direct_dependent_settings should be shared with the |
35 # 64-bit target, but it doesn't work due to a bug in gyp | 34 # 64-bit target, but it doesn't work due to a bug in gyp |
36 'direct_dependent_settings': { | 35 'direct_dependent_settings': { |
37 'include_dirs': [ | 36 'include_dirs': [ |
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 'dependencies': [ | 1012 'dependencies': [ |
1014 'test_support_base', | 1013 'test_support_base', |
1015 ], | 1014 ], |
1016 }, { | 1015 }, { |
1017 'type': 'none', | 1016 'type': 'none', |
1018 }], | 1017 }], |
1019 ], | 1018 ], |
1020 }, | 1019 }, |
1021 { | 1020 { |
1022 # GN version: //base/debug:debugging_flags | 1021 # GN version: //base/debug:debugging_flags |
1023 # Since this generates a file, it must only be referenced in the target | 1022 # Since this generates a file, it most only be referenced in the target |
1024 # toolchain or there will be multiple rules that generate the header. | 1023 # toolchain or there will be multiple rules that generate the header. |
1025 # When referenced from a target that might be compiled in the host | 1024 # When referenced from a target that might be compiled in the host |
1026 # toolchain, always refer to 'base_debugging_flags#target'. | 1025 # toolchain, always refer to 'base_debugging_flags#target'. |
1027 'target_name': 'base_debugging_flags', | 1026 'target_name': 'base_debugging_flags', |
1028 'includes': [ '../build/buildflag_header.gypi' ], | 1027 'includes': [ '../build/buildflag_header.gypi' ], |
1029 'variables': { | 1028 'variables': { |
1030 'buildflag_header_path': 'base/debug/debugging_flags.h', | 1029 'buildflag_header_path': 'base/debug/debugging_flags.h', |
1031 'buildflag_flags': [ | 1030 'buildflag_flags': [ |
1032 'ENABLE_PROFILING=<(profiling)', | 1031 'ENABLE_PROFILING=<(profiling)', |
1033 ], | 1032 ], |
1034 }, | 1033 }, |
1035 }, | 1034 }, |
1036 { | 1035 { |
1037 # GN version: //base/win:base_win_features | |
1038 # Since this generates a file, it must only be referenced in the target | |
1039 # toolchain or there will be multiple rules that generate the header. | |
1040 # When referenced from a target that might be compiled in the host | |
1041 # toolchain, always refer to 'base_win_features#target'. | |
1042 'target_name': 'base_win_features', | |
1043 'conditions': [ | |
1044 ['OS=="win"', { | |
1045 'includes': [ '../build/buildflag_header.gypi' ], | |
1046 'variables': { | |
1047 'buildflag_header_path': 'base/win/base_features.h', | |
1048 'buildflag_flags': [ | |
1049 'SINGLE_MODULE_MODE_HANDLE_VERIFIER=<(single_module_mode_handle_ve
rifier)', | |
1050 ], | |
1051 }, | |
1052 }, { | |
1053 'type': 'none', | |
1054 }], | |
1055 ], | |
1056 }, | |
1057 { | |
1058 'type': 'none', | 1036 'type': 'none', |
1059 'target_name': 'base_build_date', | 1037 'target_name': 'base_build_date', |
1060 'hard_dependency': 1, | 1038 'hard_dependency': 1, |
1061 'actions': [{ | 1039 'actions': [{ |
1062 'action_name': 'generate_build_date_headers', | 1040 'action_name': 'generate_build_date_headers', |
1063 'inputs': [ | 1041 'inputs': [ |
1064 '<(DEPTH)/build/write_build_date_header.py', | 1042 '<(DEPTH)/build/write_build_date_header.py', |
1065 '<(DEPTH)/build/util/LASTCHANGE' | 1043 '<(DEPTH)/build/util/LASTCHANGE' |
1066 ], | 1044 ], |
1067 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], | 1045 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 '../build/isolate.gypi', | 1731 '../build/isolate.gypi', |
1754 ], | 1732 ], |
1755 'sources': [ | 1733 'sources': [ |
1756 'base_unittests.isolate', | 1734 'base_unittests.isolate', |
1757 ], | 1735 ], |
1758 }, | 1736 }, |
1759 ], | 1737 ], |
1760 }], | 1738 }], |
1761 ], | 1739 ], |
1762 } | 1740 } |
OLD | NEW |