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

Unified Diff: mojo/services/view_manager/BUILD.gn

Issue 568883003: Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows component build Created 6 years, 3 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: mojo/services/view_manager/BUILD.gn
diff --git a/mojo/services/view_manager/BUILD.gn b/mojo/services/view_manager/BUILD.gn
index 9f0bb82384064fb3fb0ee9480be3d9c7e6f7acc4..1af5d6386a2b3d4207dac34f210902b963a958d3 100644
--- a/mojo/services/view_manager/BUILD.gn
+++ b/mojo/services/view_manager/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("//build/config/ui.gni")
import("//mojo/system.gni")
# GYP version: mojo/mojo_services.gypi:mojo_view_manager
@@ -66,19 +67,24 @@ test("mojo_view_manager_unittests") {
"//mojo/application",
"//mojo/application_manager",
"//mojo/environment:chromium",
- "//mojo/services/public/cpp/input_events",
"//mojo/services/public/cpp/geometry",
"//mojo/services/public/cpp/view_manager",
"//mojo/services/public/cpp/view_manager/lib:run_unittests",
"//mojo/services/public/cpp/view_manager:common",
- "//mojo/services/public/interfaces/input_events",
- "//mojo/services/public/interfaces/geometry",
- "//mojo/services/public/interfaces/view_manager",
"//mojo/shell:test_support",
"//mojo/system",
"//testing/gtest",
+ "//ui/gfx/geometry",
]
+ if (use_x11) {
+ deps += ["//ui/gfx/x"]
+ }
+
+ if (is_component_build) {
+ deps += ["//ui/gl"]
+ }
+
sources = [
"test_change_tracker.cc",
"test_change_tracker.h",

Powered by Google App Engine
This is Rietveld 408576698