OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager | 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager |
8 shared_library("view_manager") { | 8 shared_library("view_manager") { |
9 output_name = "mojo_view_manager" | 9 output_name = "mojo_view_manager" |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//cc/surfaces", | 13 "//cc/surfaces", |
14 "//mojo/application", | 14 "//mojo/application", |
15 "//mojo/common", | 15 "//mojo/common", |
| 16 "//mojo/converters/geometry", |
| 17 "//mojo/converters/input_events", |
| 18 "//mojo/converters/surfaces", |
16 "//mojo/environment:chromium", | 19 "//mojo/environment:chromium", |
17 "//mojo/public/c/system:for_shared_library", | 20 "//mojo/public/c/system:for_shared_library", |
18 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
19 "//mojo/public/interfaces/application", | 22 "//mojo/public/interfaces/application", |
20 "//mojo/services/public/cpp/geometry", | |
21 "//mojo/services/public/cpp/input_events", | |
22 "//mojo/services/public/cpp/surfaces", | |
23 "//mojo/services/public/interfaces/geometry", | 23 "//mojo/services/public/interfaces/geometry", |
24 "//mojo/services/public/interfaces/input_events", | 24 "//mojo/services/public/interfaces/input_events", |
25 "//mojo/services/public/interfaces/native_viewport", | 25 "//mojo/services/public/interfaces/native_viewport", |
26 "//mojo/services/public/interfaces/surfaces", | 26 "//mojo/services/public/interfaces/surfaces", |
27 "//mojo/services/public/interfaces/view_manager", | 27 "//mojo/services/public/interfaces/view_manager", |
28 "//ui/base", | 28 "//ui/base", |
29 "//ui/events", | 29 "//ui/events", |
30 "//ui/events:events_base", | 30 "//ui/events:events_base", |
31 "//ui/gfx", | 31 "//ui/gfx", |
32 "//ui/gfx/geometry", | 32 "//ui/gfx/geometry", |
(...skipping 28 matching lines...) Expand all Loading... |
61 ] | 61 ] |
62 } | 62 } |
63 | 63 |
64 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests | 64 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests |
65 test("mojo_view_manager_unittests") { | 65 test("mojo_view_manager_unittests") { |
66 deps = [ | 66 deps = [ |
67 "//base", | 67 "//base", |
68 "//base/test:test_support", | 68 "//base/test:test_support", |
69 "//mojo/application", | 69 "//mojo/application", |
70 "//mojo/application_manager", | 70 "//mojo/application_manager", |
| 71 "//mojo/converters/geometry", |
| 72 "//mojo/converters/input_events", |
71 "//mojo/edk/system", | 73 "//mojo/edk/system", |
72 "//mojo/environment:chromium", | 74 "//mojo/environment:chromium", |
73 "//mojo/public/cpp/bindings", | 75 "//mojo/public/cpp/bindings", |
74 "//mojo/services/public/cpp/geometry", | |
75 "//mojo/services/public/cpp/input_events", | |
76 "//mojo/services/public/cpp/view_manager", | 76 "//mojo/services/public/cpp/view_manager", |
77 "//mojo/services/public/cpp/view_manager/lib:run_unittests", | 77 "//mojo/services/public/cpp/view_manager/lib:run_unittests", |
78 "//mojo/shell:test_support", | 78 "//mojo/shell:test_support", |
79 "//testing/gtest", | 79 "//testing/gtest", |
80 "//ui/gfx/geometry", | 80 "//ui/gfx/geometry", |
81 ] | 81 ] |
82 | 82 |
83 if (use_x11) { | 83 if (use_x11) { |
84 deps += ["//ui/gfx/x"] | 84 deps += ["//ui/gfx/x"] |
85 } | 85 } |
86 | 86 |
87 if (is_component_build) { | 87 if (is_component_build) { |
88 deps += ["//ui/gl"] | 88 deps += ["//ui/gl"] |
89 } | 89 } |
90 | 90 |
91 sources = [ | 91 sources = [ |
92 "test_change_tracker.cc", | 92 "test_change_tracker.cc", |
93 "test_change_tracker.h", | 93 "test_change_tracker.h", |
94 "view_manager_unittest.cc", | 94 "view_manager_unittest.cc", |
95 ] | 95 ] |
96 } | 96 } |
OLD | NEW |