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

Unified Diff: components/BUILD.gn

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Update CastBrowserContext Created 3 years, 7 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: components/BUILD.gn
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 5426057cc9fe13555e0a4be88256bd729716ea6a..8b272ab17e0a7bd84d05e24f00b0df9acdd9b961 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/config/chrome_build.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//extensions/features/features.gni")
import("//printing/features/features.gni")
import("//rlz/features/features.gni")
import("//testing/test.gni")
@@ -161,6 +162,10 @@ test("components_unittests") {
deps += [ "//components/nacl/browser:unit_tests" ]
}
+ if (enable_extensions) {
+ deps += [ "//components/guest_view/browser:unit_tests" ]
+ }
+
if (is_ios) {
deps += [
"//components/image_fetcher/ios:unit_tests",
@@ -190,7 +195,6 @@ test("components_unittests") {
"//components/error_page/renderer:unit_tests",
"//components/favicon/content:unit_tests",
"//components/gcm_driver/instance_id:unit_tests",
- "//components/guest_view/browser:unit_tests",
"//components/history/content/browser:unit_tests",
"//components/invalidation/impl:unit_tests",
"//components/keyed_service/content:unit_tests",
@@ -224,7 +228,6 @@ test("components_unittests") {
"//components/wallpaper:unit_tests",
"//components/web_cache/browser:unit_tests",
"//components/webcrypto:unit_tests",
- "//components/zoom:unit_tests",
]
data_deps = [
@@ -280,6 +283,7 @@ test("components_unittests") {
"//components/proximity_auth:unit_tests",
"//components/storage_monitor:unit_tests",
"//components/web_modal:unit_tests",
+ "//components/zoom:unit_tests",
]
}

Powered by Google App Engine
This is Rietveld 408576698