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