summaryrefslogtreecommitdiff
path: root/chromium/components/omnibox
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-05 17:15:33 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-11 07:47:18 +0000
commit7324afb043a0b1e623d8e8eb906cdc53bdeb4685 (patch)
treea3fe2d74ea9c9e142c390dac4ca0e219382ace46 /chromium/components/omnibox
parent6a4cabb866f66d4128a97cdc6d9d08ce074f1247 (diff)
downloadqtwebengine-chromium-7324afb043a0b1e623d8e8eb906cdc53bdeb4685.tar.gz
BASELINE: Update Chromium to 58.0.3029.54
Change-Id: I67f57065a7afdc8e4614adb5c0230281428df4d1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium/components/omnibox')
-rw-r--r--chromium/components/omnibox/browser/BUILD.gn27
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/components/omnibox/browser/BUILD.gn b/chromium/components/omnibox/browser/BUILD.gn
index b0e6a38ed13..d4bc859b8ff 100644
--- a/chromium/components/omnibox/browser/BUILD.gn
+++ b/chromium/components/omnibox/browser/BUILD.gn
@@ -3,11 +3,28 @@
# found in the LICENSE file.
import("//third_party/protobuf/proto_library.gni")
+import("//ui/vector_icons/vector_icons.gni")
if (is_android) {
import("//build/config/android/rules.gni")
}
+aggregate_vector_icons("omnibox_vector_icons") {
+ icon_directory = "vector_icons"
+
+ icons = [
+ "calculator.1x.icon",
+ "calculator.icon",
+ "extension_app.1x.icon",
+ "extension_app.icon",
+ "http.icon",
+ "keyword_search.icon",
+ "search.icon",
+ "star.1x.icon",
+ "star.icon",
+ ]
+}
+
static_library("browser") {
sources = [
"answers_cache.cc",
@@ -36,6 +53,8 @@ static_library("browser") {
"builtin_provider.h",
"clipboard_url_provider.cc",
"clipboard_url_provider.h",
+ "features.cc",
+ "features.h",
"history_provider.cc",
"history_provider.h",
"history_quick_provider.cc",
@@ -109,6 +128,8 @@ static_library("browser") {
"zero_suggest_provider.h",
]
+ defines = [ "OMNIBOX_BROWSER_IMPLEMENTATION" ]
+
public_deps = [
"//components/history/core/browser",
"//components/metrics/proto",
@@ -136,6 +157,7 @@ static_library("browser") {
"//components/url_formatter",
"//components/variations",
"//components/variations/net",
+ "//extensions/common:common_constants",
"//net",
"//skia",
"//sql",
@@ -145,6 +167,11 @@ static_library("browser") {
"//url",
]
+ if (!is_android && !is_ios) {
+ sources += get_target_outputs(":omnibox_vector_icons")
+ deps += [ ":omnibox_vector_icons" ]
+ }
+
# TODO(brettw) Fix the include cycle and remove this line.
allow_circular_includes_from = [ "//components/search_engines" ]
}