| 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",
|
| + ]
|
| +}
|
|
|