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_native_viewport_service_lib | 7 # GYP version: mojo/mojo_services.gypi:mojo_native_viewport_service_lib |
8 static_library("native_viewport") { | 8 static_library("native_viewport") { |
9 output_name = "mojo_native_viewport" | 9 output_name = "mojo_native_viewport" |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//cc/surfaces", | 13 "//cc/surfaces", |
| 14 "//gpu/command_buffer/service", |
14 "//mojo/application", | 15 "//mojo/application", |
15 "//mojo/common", | 16 "//mojo/common", |
16 "//mojo/environment:chromium", | 17 "//mojo/environment:chromium", |
17 "//mojo/services/gles2", | 18 "//mojo/services/gles2", |
| 19 "//mojo/services/gles2:interfaces", |
18 "//mojo/services/public/cpp/geometry", | 20 "//mojo/services/public/cpp/geometry", |
19 "//mojo/services/public/cpp/input_events", | 21 "//mojo/services/public/cpp/input_events", |
20 "//mojo/services/public/cpp/surfaces", | 22 "//mojo/services/public/cpp/surfaces", |
21 "//mojo/services/public/interfaces/geometry", | 23 "//mojo/services/public/interfaces/geometry", |
22 "//mojo/services/public/interfaces/native_viewport", | 24 "//mojo/services/public/interfaces/native_viewport", |
23 "//mojo/services/public/interfaces/surfaces", | 25 "//mojo/services/public/interfaces/surfaces", |
24 "//ui/events", | 26 "//ui/events", |
25 "//ui/events/platform", | 27 "//ui/events/platform", |
26 "//ui/gfx", | 28 "//ui/gfx", |
27 "//ui/gfx/geometry", | 29 "//ui/gfx/geometry", |
| 30 "//ui/gl", |
| 31 "//ui/platform_window", |
28 ] | 32 ] |
29 | 33 |
30 sources = [ | 34 sources = [ |
31 "gpu_impl.cc", | 35 "gpu_impl.cc", |
32 "gpu_impl.h", | 36 "gpu_impl.h", |
33 "native_viewport_impl.cc", | 37 "native_viewport_impl.cc", |
34 "native_viewport_impl.h", | 38 "native_viewport_impl.h", |
35 "platform_viewport.h", | 39 "platform_viewport.h", |
36 "platform_viewport_android.cc", | 40 "platform_viewport_android.cc", |
37 "platform_viewport_android.h", | 41 "platform_viewport_android.h", |
(...skipping 23 matching lines...) Expand all Loading... |
61 deps += [ | 65 deps += [ |
62 "//ui/events/platform/x11", | 66 "//ui/events/platform/x11", |
63 "//ui/platform_window/x11", | 67 "//ui/platform_window/x11", |
64 ] | 68 ] |
65 } | 69 } |
66 | 70 |
67 if (use_ozone) { | 71 if (use_ozone) { |
68 sources += [ "platform_viewport_ozone.cc" ] | 72 sources += [ "platform_viewport_ozone.cc" ] |
69 } | 73 } |
70 } | 74 } |
OLD | NEW |