Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 8e48115a01d20f9fe91015a39b49b502f36dc59e..0eaf2c7a6c253899b945dcbe4e5168ef83b3fcfb 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1911,9 +1911,12 @@ |
['notifications==1', { |
'grit_defines': ['-D', 'enable_notifications'], |
}], |
- ['enable_resource_whitelist_generation==1', { |
+ ['enable_resource_whitelist_generation==1 and OS!="win"', { |
scottmg
2014/04/14 23:35:26
I guess we might want a clang==0 in here, but sinc
|
'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelisted_resource_{numeric_id}") {numeric_id}'], |
}], |
+ ['enable_resource_whitelist_generation==1 and OS=="win"', { |
+ 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("whitelisted_resource_{numeric_id}")) {numeric_id}'], |
+ }], |
['enable_mdns==1 or OS=="mac"', { |
'grit_defines': ['-D', 'enable_service_discovery'], |
'enable_service_discovery%': 1 |