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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("aura") { | 8 component("aura") { |
9 sources = [ | 9 sources = [ |
10 "../wm/public/activation_change_observer.cc", | 10 "../wm/public/activation_change_observer.cc", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 "window_observer.h", | 79 "window_observer.h", |
80 "window_targeter.cc", | 80 "window_targeter.cc", |
81 "window_targeter.h", | 81 "window_targeter.h", |
82 "window_tracker.cc", | 82 "window_tracker.cc", |
83 "window_tracker.h", | 83 "window_tracker.h", |
84 "window_tree_host.cc", | 84 "window_tree_host.cc", |
85 "window_tree_host.h", | 85 "window_tree_host.h", |
86 "window_tree_host_mac.h", | 86 "window_tree_host_mac.h", |
87 "window_tree_host_mac.mm", | 87 "window_tree_host_mac.mm", |
88 "window_tree_host_observer.h", | 88 "window_tree_host_observer.h", |
89 "window_tree_host_win.cc", | 89 "window_tree_host_platform.cc", |
90 "window_tree_host_win.h", | 90 "window_tree_host_platform.h", |
91 "window_tree_host_x11.cc", | 91 "window_tree_host_x11.cc", |
92 "window_tree_host_x11.h", | 92 "window_tree_host_x11.h", |
93 ] | 93 ] |
94 | 94 |
95 defines = [ "AURA_IMPLEMENTATION" ] | 95 defines = [ "AURA_IMPLEMENTATION" ] |
96 | 96 |
97 deps = [ | 97 deps = [ |
98 "//base", | 98 "//base", |
99 "//base:i18n", | 99 "//base:i18n", |
100 "//base/third_party/dynamic_annotations", | 100 "//base/third_party/dynamic_annotations", |
(...skipping 29 matching lines...) Expand all Loading... |
130 if (is_win) { | 130 if (is_win) { |
131 sources -= [ "input_state_lookup.cc" ] | 131 sources -= [ "input_state_lookup.cc" ] |
132 | 132 |
133 deps += [ | 133 deps += [ |
134 "//ipc", | 134 "//ipc", |
135 "//ui/metro_viewer", | 135 "//ui/metro_viewer", |
136 "//ui/platform_window/win", | 136 "//ui/platform_window/win", |
137 ] | 137 ] |
138 } | 138 } |
139 | 139 |
| 140 if (!is_win && !is_android && !use_ozone) { |
| 141 sources -= [ |
| 142 "window_tree_host_platform.cc", |
| 143 "window_tree_host_platform.h", |
| 144 ] |
| 145 } |
| 146 |
140 if (use_ozone) { | 147 if (use_ozone) { |
141 sources += [ | 148 deps += [ "//ui/ozone" ] |
142 "window_tree_host_ozone.cc", | 149 } |
143 "window_tree_host_ozone.h", | 150 |
| 151 if (is_android) { |
| 152 deps += [ |
| 153 "//ui/platform_window/android", |
| 154 "//ui/platform_window/android:platform_window_java", |
144 ] | 155 ] |
145 | |
146 deps += [ "//ui/ozone" ] | |
147 } | 156 } |
148 } | 157 } |
149 | 158 |
150 source_set("test_support") { | 159 source_set("test_support") { |
151 testonly = true | 160 testonly = true |
152 sources = [ | 161 sources = [ |
153 "test/aura_test_base.cc", | 162 "test/aura_test_base.cc", |
154 "test/aura_test_base.h", | 163 "test/aura_test_base.h", |
155 "test/aura_test_helper.cc", | 164 "test/aura_test_helper.cc", |
156 "test/aura_test_helper.h", | 165 "test/aura_test_helper.h", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 "//ui/events:gesture_detection", | 317 "//ui/events:gesture_detection", |
309 "//ui/gfx", | 318 "//ui/gfx", |
310 "//ui/gfx/geometry", | 319 "//ui/gfx/geometry", |
311 "//ui/gl", | 320 "//ui/gl", |
312 ] | 321 ] |
313 | 322 |
314 if (is_linux) { | 323 if (is_linux) { |
315 deps += [ "//third_party/mesa" ] | 324 deps += [ "//third_party/mesa" ] |
316 } | 325 } |
317 | 326 |
318 data_deps = [ "//third_party/mesa:osmesa" ] | 327 data_deps = [ |
| 328 "//third_party/mesa:osmesa", |
| 329 ] |
319 } | 330 } |
OLD | NEW |