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 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 25 matching lines...) Expand all Loading... |
36 } else { | 36 } else { |
37 mojo_native_application("native_viewport") { | 37 mojo_native_application("native_viewport") { |
38 output_name = "native_viewport_service" | 38 output_name = "native_viewport_service" |
39 sources = [ | 39 sources = [ |
40 "main.cc", | 40 "main.cc", |
41 ] | 41 ] |
42 deps = [ | 42 deps = [ |
43 ":lib", | 43 ":lib", |
44 "//base", | 44 "//base", |
45 "//components/gles2", | 45 "//components/gles2", |
46 "//components/native_viewport/public/cpp:args", | 46 "//components/view_manager/public/cpp", |
47 "//components/native_viewport/public/interfaces", | 47 "//components/view_manager/public/interfaces", |
48 "//mojo/application", | 48 "//mojo/application", |
49 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", | 49 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", |
50 "//ui/events", | 50 "//ui/events", |
51 "//ui/events/platform", | 51 "//ui/events/platform", |
52 "//ui/gl", | 52 "//ui/gl", |
53 ] | 53 ] |
54 } | 54 } |
55 } | 55 } |
56 | 56 |
57 source_set("lib") { | 57 source_set("lib") { |
(...skipping 14 matching lines...) Expand all Loading... |
72 "platform_viewport_x11.cc", | 72 "platform_viewport_x11.cc", |
73 ] | 73 ] |
74 | 74 |
75 if (!is_ios) { | 75 if (!is_ios) { |
76 sources -= [ "platform_viewport_stub.cc" ] | 76 sources -= [ "platform_viewport_stub.cc" ] |
77 } | 77 } |
78 | 78 |
79 deps = [ | 79 deps = [ |
80 "//base", | 80 "//base", |
81 "//components/gles2", | 81 "//components/gles2", |
82 "//components/native_viewport/public/interfaces", | 82 "//components/view_manager/public/interfaces", |
83 "//gpu/command_buffer/service", | 83 "//gpu/command_buffer/service", |
84 "//mojo/application", | 84 "//mojo/application", |
85 "//mojo/common", | 85 "//mojo/common", |
86 "//mojo/common:tracing_impl", | 86 "//mojo/common:tracing_impl", |
87 "//mojo/converters/geometry", | 87 "//mojo/converters/geometry", |
88 "//mojo/converters/input_events", | 88 "//mojo/converters/input_events", |
89 "//mojo/environment:chromium", | 89 "//mojo/environment:chromium", |
90 "//ui/events", | 90 "//ui/events", |
91 "//ui/events/platform", | 91 "//ui/events/platform", |
92 "//ui/gfx", | 92 "//ui/gfx", |
(...skipping 10 matching lines...) Expand all Loading... |
103 if (use_x11) { | 103 if (use_x11) { |
104 deps += [ "//ui/platform_window/x11" ] | 104 deps += [ "//ui/platform_window/x11" ] |
105 } else { | 105 } else { |
106 sources -= [ "platform_viewport_x11.cc" ] | 106 sources -= [ "platform_viewport_x11.cc" ] |
107 } | 107 } |
108 | 108 |
109 if (is_win) { | 109 if (is_win) { |
110 deps += [ "//ui/platform_window/win" ] | 110 deps += [ "//ui/platform_window/win" ] |
111 } | 111 } |
112 } | 112 } |
OLD | NEW |