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

Unified Diff: build/common.gypi

Issue 7685006: Implement input type=color UI (common part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: forgot to turn off flag Created 9 years, 1 month 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 | « no previous file | chrome/browser/color_select_helper.h » ('j') | chrome/browser/color_select_helper.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index f3b8de473827313e0ea9d86d4ab3b4a79da9f259..eca3b2ab7f45160de7d9ed51cfc057534f262bea 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -225,6 +225,9 @@
# Enable navigator.registerProtocolHandler and supporting UI.
'enable_register_protocol_handler%': 1,
+ # Enable <input type=color> and supporting UI.
+ 'enable_input_color%': 0,
+
# Enable Web Intents and supporting UI.
'enable_web_intents%': 0,
@@ -405,6 +408,7 @@
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
'asan%': '<(asan)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
+ 'enable_input_color%': '<(enable_input_color)',
'enable_web_intents%': '<(enable_web_intents)',
# Whether to build for Wayland display server
'use_wayland%': 0,
@@ -869,6 +873,10 @@
'grit_defines': ['-D', 'enable_register_protocol_handler'],
}],
+ ['enable_input_color==1', {
+ 'grit_defines': ['-D', 'enable_input_color'],
+ }],
+
['enable_web_intents==1', {
'grit_defines': ['-D', 'enable_web_intents'],
}],
@@ -1158,6 +1166,11 @@
'ENABLE_REGISTER_PROTOCOL_HANDLER=1',
],
}],
+ ['enable_input_color==1', {
+ 'defines': [
+ 'ENABLE_INPUT_COLOR=1',
+ ],
+ }],
['enable_web_intents==1', {
'defines': [
'ENABLE_WEB_INTENTS=1',
« no previous file with comments | « no previous file | chrome/browser/color_select_helper.h » ('j') | chrome/browser/color_select_helper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698