From 77262bdbcdc081f8700977cac5cfaf24b124d05c Mon Sep 17 00:00:00 2001 From: "gbillock@chromium.org" Date: Wed, 24 Aug 2011 00:32:29 +0000 Subject: [PATCH] First pass on intents options UI. Copies the cookies view handler for intents. Add pass-throughs to grit for flag. Optionalize intents options page JS/CSS. Fix up data model to read title. Working test. R=jhawkins@chromium.org BUG=None TEST=*Intents* Review URL: http://codereview.chromium.org/7624012 git-svn-id: http://src.chromium.org/svn/trunk/src/build@97955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common.gypi b/common.gypi index 89824b323..8ff7f2733 100644 --- a/common.gypi +++ b/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, @@ -705,6 +706,10 @@ 'grit_defines': ['-D', 'enable_register_protocol_handler'], }], + ['enable_web_intents==1', { + 'grit_defines': ['-D', 'enable_web_intents'], + }], + ['asan==1', { 'clang%': 1, }], @@ -921,6 +926,11 @@ 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', ], }], + ['enable_web_intents==1', { + 'defines': [ + 'ENABLE_INTENTS=1', + ], + }], ], # conditions for 'target_defaults' 'target_conditions': [ ['chromium_code==0', {