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

Unified 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: Switch to a normal deps. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | base/win/BUILD.gn » ('j') | base/win/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 86d2331e8fb004b169b25b2913414df3400e0f94..39037a3c52b05eb90785435bd783893e9fb748ce 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -24,6 +24,7 @@
'allocator/allocator.gyp:allocator',
'allocator/allocator.gyp:allocator_features#target',
'base_debugging_flags#target',
+ 'base_win_features#target',
'base_static',
'base_build_date#target',
'../testing/gtest.gyp:gtest_prod',
@@ -1019,7 +1020,7 @@
},
{
# GN version: //base/debug:debugging_flags
- # Since this generates a file, it most only be referenced in the target
+ # Since this generates a file, it must only be referenced in the target
# toolchain or there will be multiple rules that generate the header.
# When referenced from a target that might be compiled in the host
# toolchain, always refer to 'base_debugging_flags#target'.
@@ -1033,6 +1034,27 @@
},
},
{
+ # GN version: //base/win:base_win_features
+ # Since this generates a file, it must only be referenced in the target
+ # toolchain or there will be multiple rules that generate the header.
+ # When referenced from a target that might be compiled in the host
+ # toolchain, always refer to 'base_win_features#target'.
+ 'target_name': 'base_win_features',
+ 'conditions': [
+ ['OS=="win"', {
+ 'includes': [ '../build/buildflag_header.gypi' ],
+ 'variables': {
+ 'buildflag_header_path': 'base/win/base_features.h',
+ 'buildflag_flags': [
+ 'SINGLE_MODULE_MODE_HANDLE_VERIFIER=<(single_module_mode_handle_verifier)',
+ ],
+ },
+ }, {
+ 'type': 'none',
+ }],
+ ],
+ },
+ {
'type': 'none',
'target_name': 'base_build_date',
'hard_dependency': 1,
« no previous file with comments | « base/BUILD.gn ('k') | base/win/BUILD.gn » ('j') | base/win/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698