summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gn2
-rw-r--r--components/BUILD.gn2
-rw-r--r--components/omnibox/browser/BUILD.gn9
-rw-r--r--components/sessions/BUILD.gn8
4 files changed, 20 insertions, 1 deletions
diff --git a/.gn b/.gn
index 52c4795..e7d6f6d 100644
--- a/.gn
+++ b/.gn
@@ -36,6 +36,8 @@ check_targets = [
"//components/app_modal/*",
"//components/autofill/*",
"//components/bookmarks/*",
+ "//components/google/*",
+ "//components/omnibox/*",
"//components/os_crypt/*",
"//components/pref_registry/*",
"//components/undo/*",
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 59574f6..05250f4 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -300,8 +300,8 @@ test("components_unittests") {
"//components/undo:unit_tests",
"//components/update_client:unit_tests",
"//components/variations:unit_tests",
- "//components/web_resource:unit_tests",
"//components/webcrypto:unit_tests",
+ "//components/web_resource:unit_tests",
"//components/webdata/common:unit_tests",
# These are the deps required by the code in this target.
diff --git a/components/omnibox/browser/BUILD.gn b/components/omnibox/browser/BUILD.gn
index a801e70..eea5eaf 100644
--- a/components/omnibox/browser/BUILD.gn
+++ b/components/omnibox/browser/BUILD.gn
@@ -84,6 +84,7 @@ source_set("browser") {
":in_memory_url_index_cache_proto",
"//base",
"//base:i18n",
+ "//base:prefs",
"//components/bookmarks/browser",
"//components/keyed_service/core",
"//components/pref_registry",
@@ -91,6 +92,7 @@ source_set("browser") {
"//components/resources",
"//components/search",
"//components/search_engines",
+ "//components/sessions",
"//components/strings",
"//components/url_fixer",
"//components/variations",
@@ -122,6 +124,8 @@ static_library("test_support") {
":browser",
"//base",
"//components/metrics/proto",
+ "//components/search_engines",
+ "//net",
"//testing/gmock",
]
}
@@ -144,7 +148,12 @@ source_set("unit_tests") {
deps = [
":browser",
":test_support",
+ "//base",
+ "//components/search",
+ "//components/search_engines",
+ "//components/variations",
"//testing/gmock",
"//testing/gtest",
+ "//url",
]
}
diff --git a/components/sessions/BUILD.gn b/components/sessions/BUILD.gn
index bcc7366..8d60064 100644
--- a/components/sessions/BUILD.gn
+++ b/components/sessions/BUILD.gn
@@ -22,6 +22,10 @@ if (!is_ios) {
configs += [ ":implementation" ]
+ public_deps = [
+ ":shared",
+ ]
+
deps = [
":shared",
"//base",
@@ -40,6 +44,10 @@ if (!is_ios) {
"ios/ios_serialized_navigation_driver.h",
]
+ public_deps = [
+ ":shared",
+ ]
+
deps = [
":shared",
"//base",