| Index: mojo/services/view_manager/BUILD.gn
|
| diff --git a/mojo/services/view_manager/BUILD.gn b/mojo/services/view_manager/BUILD.gn
|
| index 21b2796638cf08c7d0acf4033ede994c85cd2f0c..3cc385343d1eccaed681899d9b84e559753a426a 100644
|
| --- a/mojo/services/view_manager/BUILD.gn
|
| +++ b/mojo/services/view_manager/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # 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")
|
| +
|
| # GYP version: mojo/mojo_services.gypi:mojo_view_manager
|
| component("view_manager") {
|
| deps = [
|
| @@ -40,7 +42,6 @@ component("view_manager") {
|
| "default_access_policy.h",
|
| "display_manager.cc",
|
| "display_manager.h",
|
| - "ids.h",
|
| "main.cc",
|
| "server_view.cc",
|
| "server_view.h",
|
| @@ -65,19 +66,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",
|
|
|