| 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", | |
| 90 "window_tree_host_win.h", | |
| 91 "window_tree_host_x11.cc", | 89 "window_tree_host_x11.cc", |
| 92 "window_tree_host_x11.h", | 90 "window_tree_host_x11.h", |
| 93 ] | 91 ] |
| 94 | 92 |
| 95 defines = [ "AURA_IMPLEMENTATION" ] | 93 defines = [ "AURA_IMPLEMENTATION" ] |
| 96 | 94 |
| 97 deps = [ | 95 deps = [ |
| 98 "//base", | 96 "//base", |
| 99 "//base:i18n", | 97 "//base:i18n", |
| 100 "//base/third_party/dynamic_annotations", | 98 "//base/third_party/dynamic_annotations", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 130 if (is_win) { | 128 if (is_win) { |
| 131 sources -= [ "input_state_lookup.cc" ] | 129 sources -= [ "input_state_lookup.cc" ] |
| 132 | 130 |
| 133 deps += [ | 131 deps += [ |
| 134 "//ipc", | 132 "//ipc", |
| 135 "//ui/metro_viewer", | 133 "//ui/metro_viewer", |
| 136 "//ui/platform_window/win", | 134 "//ui/platform_window/win", |
| 137 ] | 135 ] |
| 138 } | 136 } |
| 139 | 137 |
| 140 if (use_ozone) { | 138 if (use_ozone || is_win) { |
| 141 sources += [ | 139 sources += [ |
| 142 "window_tree_host_ozone.cc", | 140 "window_tree_host_impl.cc", |
| 143 "window_tree_host_ozone.h", | 141 "window_tree_host_impl.h", |
| 144 ] | 142 ] |
| 145 | 143 |
| 146 deps += [ "//ui/ozone" ] | 144 deps += [ "//ui/ozone" ] |
| 147 } | 145 } |
| 148 } | 146 } |
| 149 | 147 |
| 150 source_set("test_support") { | 148 source_set("test_support") { |
| 151 testonly = true | 149 testonly = true |
| 152 sources = [ | 150 sources = [ |
| 153 "test/aura_test_base.cc", | 151 "test/aura_test_base.cc", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 "//ui/gfx/geometry", | 308 "//ui/gfx/geometry", |
| 311 "//ui/gl", | 309 "//ui/gl", |
| 312 ] | 310 ] |
| 313 | 311 |
| 314 if (is_linux) { | 312 if (is_linux) { |
| 315 deps += [ "//third_party/mesa" ] | 313 deps += [ "//third_party/mesa" ] |
| 316 } | 314 } |
| 317 | 315 |
| 318 data_deps = [ "//third_party/mesa:osmesa" ] | 316 data_deps = [ "//third_party/mesa:osmesa" ] |
| 319 } | 317 } |
| OLD | NEW |