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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "window_event_dispatcher.cc", | 76 "window_event_dispatcher.cc", |
77 "window_event_dispatcher.h", | 77 "window_event_dispatcher.h", |
78 "window_observer.cc", | 78 "window_observer.cc", |
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_android.cc", |
| 87 "window_tree_host_android.h", |
86 "window_tree_host_mac.h", | 88 "window_tree_host_mac.h", |
87 "window_tree_host_mac.mm", | 89 "window_tree_host_mac.mm", |
88 "window_tree_host_observer.h", | 90 "window_tree_host_observer.h", |
89 "window_tree_host_win.cc", | 91 "window_tree_host_win.cc", |
90 "window_tree_host_win.h", | 92 "window_tree_host_win.h", |
91 "window_tree_host_x11.cc", | 93 "window_tree_host_x11.cc", |
92 "window_tree_host_x11.h", | 94 "window_tree_host_x11.h", |
93 ] | 95 ] |
94 | 96 |
95 defines = [ "AURA_IMPLEMENTATION" ] | 97 defines = [ "AURA_IMPLEMENTATION" ] |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 140 } |
139 | 141 |
140 if (use_ozone) { | 142 if (use_ozone) { |
141 sources += [ | 143 sources += [ |
142 "window_tree_host_ozone.cc", | 144 "window_tree_host_ozone.cc", |
143 "window_tree_host_ozone.h", | 145 "window_tree_host_ozone.h", |
144 ] | 146 ] |
145 | 147 |
146 deps += [ "//ui/ozone" ] | 148 deps += [ "//ui/ozone" ] |
147 } | 149 } |
| 150 |
| 151 if (is_android) { |
| 152 deps += [ |
| 153 "//ui/platform_window/android", |
| 154 "//ui/platform_window/android:platform_window_java", |
| 155 ] |
| 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", |
157 "test/aura_test_utils.cc", | 166 "test/aura_test_utils.cc", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 "//ui/gfx/geometry", | 317 "//ui/gfx/geometry", |
309 "//ui/gl", | 318 "//ui/gl", |
310 ] | 319 ] |
311 | 320 |
312 if (is_linux) { | 321 if (is_linux) { |
313 deps += [ "//third_party/mesa" ] | 322 deps += [ "//third_party/mesa" ] |
314 } | 323 } |
315 | 324 |
316 data_deps = [ "//third_party/mesa:osmesa" ] | 325 data_deps = [ "//third_party/mesa:osmesa" ] |
317 } | 326 } |
OLD | NEW |