Enable autofill dialog codepath on Android.
Note that it will crash on Android if the user initiates an autocomplete action on a rAc-enabled web-page. There is a subseqent CL that sets up an empty shell to avoid crashes. BUG=177508 Review URL: https://chromiumcodereview.appspot.com/12330059 git-svn-id: http://src.chromium.org/svn/trunk/src/build@183997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
5e581febac
Коммит
639e7bec59
12
common.gypi
12
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,
|
||||
|
||||
|
@ -491,6 +494,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,
|
||||
}],
|
||||
|
@ -712,6 +720,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)',
|
||||
|
@ -1979,6 +1988,9 @@
|
|||
['enable_themes==1', {
|
||||
'defines': ['ENABLE_THEMES=1'],
|
||||
}],
|
||||
['enable_autofill_dialog==1', {
|
||||
'defines': ['ENABLE_AUTOFILL_DIALOG=1'],
|
||||
}],
|
||||
['enable_background==1', {
|
||||
'defines': ['ENABLE_BACKGROUND=1'],
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче