| 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 'dependencies': [ | 1013 'dependencies': [ |
| 1013 'test_support_base', | 1014 'test_support_base', |
| 1014 ], | 1015 ], |
| 1015 }, { | 1016 }, { |
| 1016 'type': 'none', | 1017 'type': 'none', |
| 1017 }], | 1018 }], |
| 1018 ], | 1019 ], |
| 1019 }, | 1020 }, |
| 1020 { | 1021 { |
| 1021 # GN version: //base/debug:debugging_flags | 1022 # GN version: //base/debug:debugging_flags |
| 1022 # Since this generates a file, it most only be referenced in the target | 1023 # Since this generates a file, it must only be referenced in the target |
| 1023 # toolchain or there will be multiple rules that generate the header. | 1024 # toolchain or there will be multiple rules that generate the header. |
| 1024 # When referenced from a target that might be compiled in the host | 1025 # When referenced from a target that might be compiled in the host |
| 1025 # toolchain, always refer to 'base_debugging_flags#target'. | 1026 # toolchain, always refer to 'base_debugging_flags#target'. |
| 1026 'target_name': 'base_debugging_flags', | 1027 'target_name': 'base_debugging_flags', |
| 1027 'includes': [ '../build/buildflag_header.gypi' ], | 1028 'includes': [ '../build/buildflag_header.gypi' ], |
| 1028 'variables': { | 1029 'variables': { |
| 1029 'buildflag_header_path': 'base/debug/debugging_flags.h', | 1030 'buildflag_header_path': 'base/debug/debugging_flags.h', |
| 1030 'buildflag_flags': [ | 1031 'buildflag_flags': [ |
| 1031 'ENABLE_PROFILING=<(profiling)', | 1032 'ENABLE_PROFILING=<(profiling)', |
| 1032 ], | 1033 ], |
| 1033 }, | 1034 }, |
| 1034 }, | 1035 }, |
| 1035 { | 1036 { |
| 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 'ENABLE_HANDLE_VERIFIER=<(enable_handle_verifier)', |
| 1050 ], |
| 1051 }, |
| 1052 }, { |
| 1053 'type': 'none', |
| 1054 }], |
| 1055 ], |
| 1056 }, |
| 1057 { |
| 1036 'type': 'none', | 1058 'type': 'none', |
| 1037 'target_name': 'base_build_date', | 1059 'target_name': 'base_build_date', |
| 1038 'hard_dependency': 1, | 1060 'hard_dependency': 1, |
| 1039 'actions': [{ | 1061 'actions': [{ |
| 1040 'action_name': 'generate_build_date_headers', | 1062 'action_name': 'generate_build_date_headers', |
| 1041 'inputs': [ | 1063 'inputs': [ |
| 1042 '<(DEPTH)/build/write_build_date_header.py', | 1064 '<(DEPTH)/build/write_build_date_header.py', |
| 1043 '<(DEPTH)/build/util/LASTCHANGE' | 1065 '<(DEPTH)/build/util/LASTCHANGE' |
| 1044 ], | 1066 ], |
| 1045 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], | 1067 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1730 '../build/isolate.gypi', | 1752 '../build/isolate.gypi', |
| 1731 ], | 1753 ], |
| 1732 'sources': [ | 1754 'sources': [ |
| 1733 'base_unittests.isolate', | 1755 'base_unittests.isolate', |
| 1734 ], | 1756 ], |
| 1735 }, | 1757 }, |
| 1736 ], | 1758 ], |
| 1737 }], | 1759 }], |
| 1738 ], | 1760 ], |
| 1739 } | 1761 } |
| OLD | NEW |