summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authormariakhomenko <mariakhomenko@chromium.org>2015-11-02 18:34:11 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-03 02:35:06 +0000
commit73808f97314cf0016ccb03bf942dc94b1b7a9a28 (patch)
treeb94cc9b1191d782d0e7efec9f4bfc04c3d7d6597 /chrome/chrome.gyp
parentb24facba10f213d4448bf108ba0d01821b2ba05d (diff)
downloadchromium_src-73808f97314cf0016ccb03bf942dc94b1b7a9a28.zip
chromium_src-73808f97314cf0016ccb03bf942dc94b1b7a9a28.tar.gz
chromium_src-73808f97314cf0016ccb03bf942dc94b1b7a9a28.tar.bz2
Keep native autocomplete_match_types in sync with java.
Auto-generates the enum values for java autocomplete types. (Gets rid of java enum overhead as a bonus). Removes OPEN_HISTORY_PAGE suggestion type which looks like dead code. Replaces some switch statements with isUrlSuggestion, which seems to have identical logic. BUG=373520 Review URL: https://codereview.chromium.org/1413773006 Cr-Commit-Position: refs/heads/master@{#357515}
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 43a2b73..ceb0fcf 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -545,6 +545,7 @@
'shortcut_source_java',
'../base/base.gyp:base',
'../chrome/android/chrome_apk.gyp:custom_tabs_service_aidl',
+ '../components/components.gyp:autocomplete_match_type_java',
'../components/components.gyp:bookmarks_java',
'../components/components.gyp:dom_distiller_core_java',
'../components/components.gyp:enhanced_bookmarks_java_enums_srcjar',