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

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

Issue 705623004: GN: Get os="chromeos" use_ozone=true to compile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes, build chrome and app_shell Created 6 years, 1 month 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
« no previous file with comments | « media/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6
7 component("aura") { 7 component("aura") {
8 sources = [ 8 sources = [
9 "client/aura_constants.cc", 9 "client/aura_constants.cc",
10 "client/aura_constants.h", 10 "client/aura_constants.h",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 ] 108 ]
109 109
110 if (use_x11) { 110 if (use_x11) {
111 configs += [ 111 configs += [
112 "//build/config/linux:x11", 112 "//build/config/linux:x11",
113 "//build/config/linux:xrandr", 113 "//build/config/linux:xrandr",
114 ] 114 ]
115 deps += [ 115 deps += [
116 "//ui/events/platform/x11", 116 "//ui/events/platform/x11",
117 ] 117 ]
118 } else {
119 sources -= [
120 "window_tree_host_x11.cc",
121 "window_tree_host_x11.h",
122 ]
118 } 123 }
119 124
120 if (is_win) { 125 if (is_win) {
121 sources -= [ 126 sources -= [
122 "input_state_lookup.cc", 127 "input_state_lookup.cc",
123 ] 128 ]
124 129
125 deps += [ 130 deps += [
126 "//ui/metro_viewer", 131 "//ui/metro_viewer",
127 "//ipc", 132 "//ipc",
128 ] 133 ]
129 } 134 }
130 135
131 if (use_ozone) { 136 if (use_ozone) {
132 sources += [ 137 sources += [
133 "window_tree_host_ozone.cc", 138 "window_tree_host_ozone.cc",
134 "window_tree_host_ozone.h", 139 "window_tree_host_ozone.h",
135 ] 140 ]
136 141
137 # TODO(GYP) enable when these targets exist. 142 deps += [
138 #deps += [ 143 "//ui/events/ozone:events_ozone",
139 # "//ui/events/ozone", 144 "//ui/ozone",
140 # "//ui/ozone", 145 ]
141 #]
142 } 146 }
143 } 147 }
144 148
145 source_set("test_support") { 149 source_set("test_support") {
146 testonly = true 150 testonly = true
147 sources = [ 151 sources = [
148 "test/aura_test_base.cc", 152 "test/aura_test_base.cc",
149 "test/aura_test_base.h", 153 "test/aura_test_base.h",
150 "test/aura_test_helper.cc", 154 "test/aura_test_helper.cc",
151 "test/aura_test_helper.h", 155 "test/aura_test_helper.h",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 "//ui/gfx/geometry", 300 "//ui/gfx/geometry",
297 "//ui/gl", 301 "//ui/gl",
298 ] 302 ]
299 303
300 if (is_linux) { 304 if (is_linux) {
301 deps += [ 305 deps += [
302 "//third_party/mesa", 306 "//third_party/mesa",
303 ] 307 ]
304 } 308 }
305 } 309 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698