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

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: address comments 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",
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
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_platform.cc",
143 "window_tree_host_ozone.h", 141 "window_tree_host_platform.h",
144 ] 142 ]
145 143
146 deps += [ "//ui/ozone" ] 144 deps += [ "//ui/ozone" ]
mfomitchev 2015/10/09 13:56:54 this dep should remain ozone only
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",
154 "test/aura_test_base.h", 152 "test/aura_test_base.h",
155 "test/aura_test_helper.cc", 153 "test/aura_test_helper.cc",
156 "test/aura_test_helper.h", 154 "test/aura_test_helper.h",
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ui/aura/aura.gyp » ('j') | ui/aura/aura.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698