Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3566)

Unified Diff: chrome/common/BUILD.gn

Issue 2086223002: Convert instant search messages to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/common/instant.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 2c5b6d8cb59d2cf1ca0c083c038ef39668fa3a0c..e34b61826bfd9423e3b206b653f1bf0637e1ad23 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -92,6 +92,7 @@ static_library("common") {
"descriptors_android.h",
"ini_parser.cc",
"ini_parser.h",
+ "instant_type_traits.h",
"logging_chrome.cc",
"logging_chrome.h",
"mac/app_shim_launch.h",
@@ -623,13 +624,18 @@ if (is_win) {
# require many files from it. This makes linking more efficient.
static_library("test_support") {
testonly = true
- visibility = [ "//chrome/test:test_support" ]
+ visibility = [ "//chrome/test:*" ]
- sources = []
+ sources = [
+ "search/mock_searchbox.cc",
+ "search/mock_searchbox.h",
+ ]
deps = [
":common",
+ ":instant_mojom",
"//base",
+ "//testing/gmock",
"//testing/gtest",
]
@@ -685,3 +691,14 @@ mojom("mojo_bindings") {
"//url/mojo:url_mojom_gurl",
]
}
+
+mojom("instant_mojom") {
+ sources = [
+ "instant.mojom",
+ ]
+
+ public_deps = [
+ "//mojo/common:common_custom_types",
+ "//url/mojo:url_mojom_gurl",
+ ]
+}
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/common/instant.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698