Commit 20d0d540 authored by Oscar Johansson's avatar Oscar Johansson Committed by Commit Bot

Enable jumbo support for //components/omnibox

Without jumbo, omnibox takes around 3 CPU minutes to build
which is around 0.5 % of the total build time.

This commit enables jumbo support in components/omnibox.

Bug: 869381
Change-Id: Ifb51dab5a6b034a384c6bf07ee2f5b8c17b952a7
Reviewed-on: https://chromium-review.googlesource.com/1156593Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Commit-Queue: Oscar Johansson <oscarj@opera.com>
Cr-Commit-Position: refs/heads/master@{#580114}
parent cffc7123
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# found in the LICENSE file. # found in the LICENSE file.
import("//build/buildflag_header.gni") import("//build/buildflag_header.gni")
import("//build/config/jumbo.gni")
import("//device/vr/buildflags/buildflags.gni") import("//device/vr/buildflags/buildflags.gni")
import("//third_party/protobuf/proto_library.gni") import("//third_party/protobuf/proto_library.gni")
import("//components/vector_icons/vector_icons.gni") import("//components/vector_icons/vector_icons.gni")
...@@ -42,7 +43,7 @@ aggregate_vector_icons("omnibox_vector_icons") { ...@@ -42,7 +43,7 @@ aggregate_vector_icons("omnibox_vector_icons") {
] ]
} }
static_library("browser") { jumbo_static_library("browser") {
sources = [ sources = [
"answers_cache.cc", "answers_cache.cc",
"answers_cache.h", "answers_cache.h",
...@@ -227,7 +228,7 @@ proto_library("in_memory_url_index_cache_proto") { ...@@ -227,7 +228,7 @@ proto_library("in_memory_url_index_cache_proto") {
] ]
} }
static_library("test_support") { jumbo_static_library("test_support") {
testonly = true testonly = true
sources = [ sources = [
"fake_autocomplete_provider_client.cc", "fake_autocomplete_provider_client.cc",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment