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

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 4 years, 2 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
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 7ce9af103d35b87b564604eef668680f579c0a50..ea32a9e5ea012590fd0475abcb5045d9a6b8663c 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -81,6 +81,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",
@@ -619,13 +620,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",
"//base",
+ "//chrome/common:instant_mojom",
+ "//testing/gmock",
"//testing/gtest",
]
@@ -680,3 +686,14 @@ mojom("mojo_bindings") {
use_new_wrapper_types = false
}
+
+mojom("instant_mojom") {
+ sources = [
+ "instant.mojom",
+ ]
+
+ public_deps = [
+ "//mojo/common:common_custom_types",
+ "//url/mojo:url_mojom_gurl",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698