| 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 | 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 } | 199 } |
| 200 | 200 |
| 201 if (use_x11) { | 201 if (use_x11) { |
| 202 sources += [ | 202 sources += [ |
| 203 "test/ui_controls_factory_aurax11.cc", | 203 "test/ui_controls_factory_aurax11.cc", |
| 204 ] | 204 ] |
| 205 } | 205 } |
| 206 } | 206 } |
| 207 } | 207 } |
| 208 | 208 |
| 209 executable("demo") { | 209 #TODO(GYP): Enable this when everything it depends links. |
| 210 output_name = "aura_demo" | 210 #executable("aura_demo") { |
| 211 sources = [ | 211 # sources = [ |
| 212 "demo/demo_main.cc", | 212 # "demo/demo_main.cc", |
| 213 ] | 213 # ] |
| 214 # |
| 215 # deps = [ |
| 216 # ":aura", |
| 217 # ":test_support", |
| 218 # "//base", |
| 219 # "//base:i18n", |
| 220 # "//skia", |
| 221 # "//third_party/icu", |
| 222 # "//ui/base", |
| 223 # "//ui/compositor", |
| 224 # "//ui/compositor:test_support", |
| 225 # "//ui/events", |
| 226 # "//ui/gfx", |
| 227 # "//ui/gfx/geometry", |
| 228 # ] |
| 229 # |
| 230 # if (use_x11) { |
| 231 # deps += [ |
| 232 # "//ui/gfx/x", |
| 233 # ] |
| 234 # } |
| 235 #} |
| 214 | 236 |
| 215 deps = [ | 237 #TODO(GYP): Enable this when everything it depends links. |
| 216 ":aura", | 238 #executable("aura_bench") { |
| 217 ":test_support", | 239 # sources = [ |
| 218 "//base", | 240 # "bench/bench_main.cc", |
| 219 "//base:i18n", | 241 # ] |
| 220 "//skia", | 242 # |
| 221 "//third_party/icu", | 243 # deps = [ |
| 222 "//ui/base", | 244 # ":aura", |
| 223 "//ui/compositor", | 245 # ":test_support", |
| 224 "//ui/compositor:test_support", | 246 # "//base", |
| 225 "//ui/events", | 247 # "//base:i18n", |
| 226 "//ui/gfx", | 248 # "//cc", |
| 227 "//ui/gfx/geometry", | 249 # "//skia", |
| 228 ] | 250 # "//third_party/icu", |
| 251 # "//ui/base", |
| 252 # "//ui/compositor", |
| 253 # "//ui/compositor:test_support", |
| 254 # "//ui/events", |
| 255 # "//ui/gfx", |
| 256 # "//ui/gfx/geometry", |
| 257 # ] |
| 258 # |
| 259 # if (use_x11) { |
| 260 # deps += [ |
| 261 # "//ui/gfx/x", |
| 262 # ] |
| 263 # } |
| 264 #} |
| 229 | 265 |
| 230 if (use_x11) { | 266 #TODO(GYP): Enable this when everything it depends links. |
| 231 deps += [ | 267 #test("aura_unittests") { |
| 232 "//ui/gfx/x", | 268 # sources = [ |
| 233 ] | 269 # "gestures/gesture_recognizer_unittest.cc", |
| 234 } | 270 # "test/run_all_unittests.cc", |
| 235 } | 271 # "window_event_dispatcher_unittest.cc", |
| 236 | 272 # "window_targeter_unittest.cc", |
| 237 executable("bench") { | 273 # "window_unittest.cc", |
| 238 output_name = "aura_bench" | 274 # ] |
| 239 sources = [ | 275 # |
| 240 "bench/bench_main.cc", | 276 # deps = [ |
| 241 ] | 277 # ":aura", |
| 242 | 278 # ":test_support", |
| 243 deps = [ | 279 # "//base/test:test_support", |
| 244 ":aura", | 280 # "//skia", |
| 245 ":test_support", | 281 # "//testing/gtest", |
| 246 "//base", | 282 # "//ui/base", |
| 247 "//base:i18n", | 283 # "//ui/base:test_support", |
| 248 "//cc", | 284 # "//ui/compositor", |
| 249 "//skia", | 285 # "//ui/compositor:test_support", |
| 250 "//third_party/icu", | 286 # "//ui/events", |
| 251 "//ui/base", | 287 # "//ui/events:events_base", |
| 252 "//ui/compositor", | 288 # "//ui/events:gesture_detection", |
| 253 "//ui/compositor:test_support", | 289 # "//ui/gfx", |
| 254 "//ui/events", | 290 # "//ui/gfx/geometry", |
| 255 "//ui/gfx", | 291 # "//ui/gl", |
| 256 "//ui/gfx/geometry", | 292 # ] |
| 257 ] | 293 # |
| 258 | 294 # if (is_linux) { |
| 259 if (use_x11) { | 295 # deps += [ |
| 260 deps += [ | 296 # "<(DEPTH)/third_party/mesa/mesa.gyp:osmesa", |
| 261 "//ui/gfx/x", | 297 # ] |
| 262 ] | 298 # } |
| 263 } | 299 # |
| 264 } | 300 # if (is_linux) { # && use_allocator != "none") { |
| 265 | 301 # deps += [ |
| 266 test("unittests") { | 302 # # See http://crbug.com/162998#c4 for why this is needed. |
| 267 output_name = "aura_unittests" | 303 # "//base/allocator", |
| 268 sources = [ | 304 # ] |
| 269 "gestures/gesture_recognizer_unittest.cc", | 305 # } |
| 270 "test/run_all_unittests.cc", | 306 #} |
| 271 "window_event_dispatcher_unittest.cc", | |
| 272 "window_targeter_unittest.cc", | |
| 273 "window_unittest.cc", | |
| 274 ] | |
| 275 | |
| 276 deps = [ | |
| 277 ":aura", | |
| 278 ":test_support", | |
| 279 "//base/allocator", | |
| 280 "//base/test:test_support", | |
| 281 "//skia", | |
| 282 "//testing/gtest", | |
| 283 "//ui/base", | |
| 284 "//ui/base:test_support", | |
| 285 "//ui/compositor", | |
| 286 "//ui/compositor:test_support", | |
| 287 "//ui/events", | |
| 288 "//ui/events:events_base", | |
| 289 "//ui/events:gesture_detection", | |
| 290 "//ui/gfx", | |
| 291 "//ui/gfx/geometry", | |
| 292 "//ui/gl", | |
| 293 ] | |
| 294 | |
| 295 if (is_linux) { | |
| 296 deps += [ | |
| 297 "//third_party/mesa", | |
| 298 ] | |
| 299 } | |
| 300 } | |
| OLD | NEW |