Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(804)

Side by Side Diff: base/base.gyp

Issue 1977833003: Add a buildflag to use the handle verifier in a per module mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/win/scoped_handle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 'target_name': 'base_debugging_flags', 1026 'target_name': 'base_debugging_flags',
1026 'includes': [ '../build/buildflag_header.gypi' ], 1027 'includes': [ '../build/buildflag_header.gypi' ],
1027 'variables': { 1028 'variables': {
1028 'buildflag_header_path': 'base/debug/debugging_flags.h', 1029 'buildflag_header_path': 'base/debug/debugging_flags.h',
1029 'buildflag_flags': [ 1030 'buildflag_flags': [
1030 'ENABLE_PROFILING=<(profiling)', 1031 'ENABLE_PROFILING=<(profiling)',
1031 ], 1032 ],
1032 }, 1033 },
1033 }, 1034 },
1034 { 1035 {
1036 # GN version: //base/win:base_win_features
1037 # Since this generates a file, it most only be referenced in the target
chrisha 2016/05/13 18:44:54 must* (could fix this where it was copied from to
Sébastien Marchand 2016/05/18 13:39:08 Done.
1038 # toolchain or there will be multiple rules that generate the header.
1039 # When referenced from a target that might be compiled in the host
1040 # toolchain, always refer to 'base_win_features#target'.
1041 'target_name': 'base_win_features',
1042 'includes': [ '../build/buildflag_header.gypi' ],
1043 'variables': {
1044 'buildflag_header_path': 'base/win/base_features.h',
1045 'buildflag_flags': [
1046 'ENABLE_HANDLE_VERIFIER=<(enable_handle_verifier)',
1047 ],
1048 },
1049 },
1050 {
1035 'type': 'none', 1051 'type': 'none',
1036 'target_name': 'base_build_date', 1052 'target_name': 'base_build_date',
1037 'hard_dependency': 1, 1053 'hard_dependency': 1,
1038 'actions': [{ 1054 'actions': [{
1039 'action_name': 'generate_build_date_headers', 1055 'action_name': 'generate_build_date_headers',
1040 'inputs': [ 1056 'inputs': [
1041 '<(DEPTH)/build/write_build_date_header.py', 1057 '<(DEPTH)/build/write_build_date_header.py',
1042 '<(DEPTH)/build/util/LASTCHANGE' 1058 '<(DEPTH)/build/util/LASTCHANGE'
1043 ], 1059 ],
1044 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ], 1060 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/base/generated_build_date.h' ],
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 '../build/isolate.gypi', 1745 '../build/isolate.gypi',
1730 ], 1746 ],
1731 'sources': [ 1747 'sources': [
1732 'base_unittests.isolate', 1748 'base_unittests.isolate',
1733 ], 1749 ],
1734 }, 1750 },
1735 ], 1751 ],
1736 }], 1752 }],
1737 ], 1753 ],
1738 } 1754 }
OLDNEW
« no previous file with comments | « no previous file | base/win/scoped_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698