Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: ui/aura/BUILD.gn

Issue 1390883003: aura: Unify WindowTreeHost for some platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing factories Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 (use_ozone) { 140 if ((is_mac || use_x11) && !use_ozone) {
mfomitchev 2015/10/09 21:24:18 (!is_win && !use_ozone && !is_android)? IMHO bette
141 sources += [ 141 sources -= [
142 "window_tree_host_ozone.cc", 142 "window_tree_host_platform.cc",
143 "window_tree_host_ozone.h", 143 "window_tree_host_platform.h",
144 ] 144 ]
145 145
146 deps += [ "//ui/ozone" ] 146 deps += [ "//ui/ozone" ]
147 } 147 }
148
149 if (is_android) {
150 deps += [
151 "//ui/platform_window/android",
mfomitchev 2015/10/09 21:24:18 I also had to add "//ui/platform_window/android:pl
no sievers 2015/10/09 21:42:23 oops forgot this
152 ]
153 }
148 } 154 }
149 155
150 source_set("test_support") { 156 source_set("test_support") {
151 testonly = true 157 testonly = true
152 sources = [ 158 sources = [
153 "test/aura_test_base.cc", 159 "test/aura_test_base.cc",
154 "test/aura_test_base.h", 160 "test/aura_test_base.h",
155 "test/aura_test_helper.cc", 161 "test/aura_test_helper.cc",
156 "test/aura_test_helper.h", 162 "test/aura_test_helper.h",
157 "test/aura_test_utils.cc", 163 "test/aura_test_utils.cc",
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 "//ui/gfx/geometry", 316 "//ui/gfx/geometry",
311 "//ui/gl", 317 "//ui/gl",
312 ] 318 ]
313 319
314 if (is_linux) { 320 if (is_linux) {
315 deps += [ "//third_party/mesa" ] 321 deps += [ "//third_party/mesa" ]
316 } 322 }
317 323
318 data_deps = [ "//third_party/mesa:osmesa" ] 324 data_deps = [ "//third_party/mesa:osmesa" ]
319 } 325 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698