Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 7725fb656ad68b6e6e19a20aaf2d882306afcf12..f5908ef78ff8eb7ed3e479995b158236e1239569 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', |
@@ -1032,6 +1033,21 @@ |
}, |
}, |
{ |
+ # GN version: //base/win:base_win_features |
+ # 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.
|
+ # 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', |
+ 'includes': [ '../build/buildflag_header.gypi' ], |
+ 'variables': { |
+ 'buildflag_header_path': 'base/win/base_features.h', |
+ 'buildflag_flags': [ |
+ 'ENABLE_HANDLE_VERIFIER=<(enable_handle_verifier)', |
+ ], |
+ }, |
+ }, |
+ { |
'type': 'none', |
'target_name': 'base_build_date', |
'hard_dependency': 1, |