Chromium Code Reviews| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 174 deps = [ | 174 deps = [ |
| 175 "//skia", | 175 "//skia", |
| 176 "//testing/gtest", | 176 "//testing/gtest", |
| 177 "//ui/base:test_support", | 177 "//ui/base:test_support", |
| 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/gfx/x", | |
| 185 "//ui/wm", | 184 "//ui/wm", |
| 186 ] | 185 ] |
| 187 | 186 |
| 188 if (is_win) { | 187 if (is_win) { |
| 189 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. | 188 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. |
| 190 } | 189 } |
| 191 | 190 |
| 191 if (use_x11) { | |
| 192 deps += [ "//ui/gfx/x" ] | |
| 193 } | |
| 194 | |
| 192 if (use_aura) { | 195 if (use_aura) { |
|
sky
2014/12/16 16:42:40
As you are cleaning things up, can you get rid of
tfarina
2014/12/17 22:50:37
I took care of this in CL https://codereview.chrom
| |
| 193 if (is_win) { | 196 if (is_win) { |
| 194 sources += [ "test/ui_controls_factory_aurawin.cc" ] | 197 sources += [ "test/ui_controls_factory_aurawin.cc" ] |
| 195 } | 198 } |
| 196 | 199 |
| 197 if (use_x11) { | 200 if (use_x11) { |
| 198 sources += [ | 201 sources += [ |
| 199 "test/ui_controls_factory_aurax11.cc", | 202 "test/ui_controls_factory_aurax11.cc", |
| 200 "test/x11_event_sender.cc", | 203 "test/x11_event_sender.cc", |
| 201 "test/x11_event_sender.h", | 204 "test/x11_event_sender.h", |
| 202 ] | 205 ] |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 284 "//ui/events:gesture_detection", | 287 "//ui/events:gesture_detection", |
| 285 "//ui/gfx", | 288 "//ui/gfx", |
| 286 "//ui/gfx/geometry", | 289 "//ui/gfx/geometry", |
| 287 "//ui/gl", | 290 "//ui/gl", |
| 288 ] | 291 ] |
| 289 | 292 |
| 290 if (is_linux) { | 293 if (is_linux) { |
| 291 deps += [ "//third_party/mesa" ] | 294 deps += [ "//third_party/mesa" ] |
| 292 } | 295 } |
| 293 } | 296 } |
| OLD | NEW |