Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 12e9e64448d1c194c849f0274106c0216f13749f..7605b3db90ad1f0a9b20164ac6309af87969e9f5 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -333,6 +333,9 @@ |
| # disabling depends on the platform. |
| 'enable_themes%': 1, |
| + # Enables autofill dialog and associated features; disabled by default. |
| + 'enable_autofill_dialog%' : 0, |
| + |
| # Uses OEM-specific wallpaper resources on Chrome OS. |
| 'use_oem_wallpaper%': 0, |
| @@ -488,6 +491,11 @@ |
| 'remoting%': 0, |
| }], |
| + # Enable autofill dialog for Android and Views-enabled platforms for now. |
| + ['toolkit_views==1 or (OS=="android" and android_build_type==0)', { |
| + 'enable_autofill_dialog%': 1 |
| + }], |
| + |
| ['OS=="android" and android_build_type==0', { |
| 'enable_webrtc%': 1, |
| }], |
| @@ -709,6 +717,7 @@ |
| 'enable_plugins%': '<(enable_plugins)', |
| 'enable_session_service%': '<(enable_session_service)', |
| 'enable_themes%': '<(enable_themes)', |
| + 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
| 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
| 'enable_background%': '<(enable_background)', |
| 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| @@ -1409,6 +1418,9 @@ |
| ['enable_themes==1', { |
| 'grit_defines': ['-D', 'enable_themes'], |
| }], |
| + ['enable_autofill_dialog==1', { |
| + 'grit_defines': ['-D', 'enable_autofill_dialog'], |
| + }], |
|
Dan Beam
2013/02/21 22:29:01
do we use this yet? if not, we may as well just w
aruslan
2013/02/21 22:49:28
Done.
|
| ['use_oem_wallpaper==1', { |
| 'grit_defines': ['-D', 'use_oem_wallpaper'], |
| }], |
| @@ -1968,6 +1980,9 @@ |
| ['enable_themes==1', { |
| 'defines': ['ENABLE_THEMES=1'], |
| }], |
| + ['enable_autofill_dialog==1', { |
| + 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], |
| + }], |
| ['enable_background==1', { |
| 'defines': ['ENABLE_BACKGROUND=1'], |
| }], |