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

Unified Diff: chrome/browser/BUILD.gn

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: merge origin/master for good measure Created 4 years, 5 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/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 61d2c53a90773a8aae03f165fa045ce57267420f..29e90a41453328c7b0c9553cb438039f4ff7ce2a 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//blimp/blimp.gni")
import("//build/config/chrome_build.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
@@ -770,6 +771,7 @@ split_static_library("browser") {
":client_discourse_context_proto",
":delta_file_proto",
":jni_headers",
+ "//blimp/client/public",
"//components/data_usage/android",
"//components/precache/content",
"//components/precache/core",
@@ -777,6 +779,12 @@ split_static_library("browser") {
"//components/toolbar",
"//components/web_contents_delegate_android",
]
+
+ if (enable_blimp) {
+ deps += [ "//blimp/client/core" ]
+ } else {
+ deps += [ "//blimp/client/dummy" ]
+ }
}
if (is_android) {

Powered by Google App Engine
This is Rietveld 408576698