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

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

Issue 787403003: ui/aura: No need to not check for 'use_aura' in a aura specific build file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "//ui/compositor:test_support", 178 "//ui/compositor:test_support",
179 "//ui/events", 179 "//ui/events",
180 "//ui/events:events_base", 180 "//ui/events:events_base",
181 "//ui/events:test_support", 181 "//ui/events:test_support",
182 "//ui/gfx", 182 "//ui/gfx",
183 "//ui/gfx/geometry", 183 "//ui/gfx/geometry",
184 "//ui/wm", 184 "//ui/wm",
185 ] 185 ]
186 186
187 if (is_win) { 187 if (is_win) {
188 sources += [ "test/ui_controls_factory_aurawin.cc" ]
189
188 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. 190 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
189 } 191 }
190 192
191 if (use_x11) { 193 if (use_x11) {
194 sources += [
195 "test/ui_controls_factory_aurax11.cc",
196 "test/x11_event_sender.cc",
197 "test/x11_event_sender.h",
198 ]
199
192 deps += [ "//ui/gfx/x" ] 200 deps += [ "//ui/gfx/x" ]
193 } 201 }
194
195 if (use_aura) {
196 if (is_win) {
197 sources += [ "test/ui_controls_factory_aurawin.cc" ]
198 }
199
200 if (use_x11) {
201 sources += [
202 "test/ui_controls_factory_aurax11.cc",
203 "test/x11_event_sender.cc",
204 "test/x11_event_sender.h",
205 ]
206 }
207 }
208 } 202 }
209 203
210 executable("demo") { 204 executable("demo") {
211 output_name = "aura_demo" 205 output_name = "aura_demo"
212 testonly = true 206 testonly = true
213 207
214 sources = [ 208 sources = [
215 "demo/demo_main.cc", 209 "demo/demo_main.cc",
216 ] 210 ]
217 211
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 "//ui/events:gesture_detection", 281 "//ui/events:gesture_detection",
288 "//ui/gfx", 282 "//ui/gfx",
289 "//ui/gfx/geometry", 283 "//ui/gfx/geometry",
290 "//ui/gl", 284 "//ui/gl",
291 ] 285 ]
292 286
293 if (is_linux) { 287 if (is_linux) {
294 deps += [ "//third_party/mesa" ] 288 deps += [ "//third_party/mesa" ]
295 } 289 }
296 } 290 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698