Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index b6b2444d1d71f9799c077a190275145f7f904d1b..f6971fd23683f8c337ca2f8023ddd76a68c8b58d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -316,6 +316,7 @@ |
'asan%': '<(asan)', |
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', |
+ 'enable_web_intents%': '<(enable_web_intents)', |
# Whether to build for Wayland display server |
'use_wayland%': 0, |
@@ -702,6 +703,10 @@ |
'grit_defines': ['-D', 'enable_register_protocol_handler'], |
}], |
+ ['enable_web_intents==1', { |
+ 'grit_defines': ['-D', 'enable_web_intents'], |
+ }], |
+ |
['asan==1', { |
'clang%': 1, |
}], |
@@ -918,6 +923,11 @@ |
'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
], |
}], |
+ ['enable_web_intents==1', { |
+ 'defines': [ |
+ 'ENABLE_INTENTS=1', |
+ ], |
+ }], |
], # conditions for 'target_defaults' |
'target_conditions': [ |
['chromium_code==0', { |