| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 "test/window_event_dispatcher_test_api.h", | 169 "test/window_event_dispatcher_test_api.h", |
| 170 "test/window_test_api.cc", | 170 "test/window_test_api.cc", |
| 171 "test/window_test_api.h", | 171 "test/window_test_api.h", |
| 172 ] | 172 ] |
| 173 | 173 |
| 174 deps = [ | 174 deps = [ |
| 175 ":aura", | 175 ":aura", |
| 176 "//skia", | 176 "//skia", |
| 177 "//testing/gtest", | 177 "//testing/gtest", |
| 178 "//ui/base", | 178 "//ui/base", |
| 179 "//ui/base:ui_base_test_support", | 179 "//ui/base:test_support", |
| 180 "//ui/compositor:test_support", | 180 "//ui/compositor:test_support", |
| 181 "//ui/events", | 181 "//ui/events", |
| 182 "//ui/events:events_base", | 182 "//ui/events:events_base", |
| 183 "//ui/events:events_test_support", | 183 "//ui/events:test_support", |
| 184 "//ui/gfx", | 184 "//ui/gfx", |
| 185 "//ui/gfx/geometry", | 185 "//ui/gfx/geometry", |
| 186 ] | 186 ] |
| 187 | 187 |
| 188 if (is_win) { | 188 if (is_win) { |
| 189 cflags = [ | 189 cflags = [ |
| 190 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 190 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 191 ] | 191 ] |
| 192 } | 192 } |
| 193 | 193 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 207 } | 207 } |
| 208 | 208 |
| 209 #TODO(GYP): Enable this when everything it depends links. | 209 #TODO(GYP): Enable this when everything it depends links. |
| 210 #executable("aura_demo") { | 210 #executable("aura_demo") { |
| 211 # sources = [ | 211 # sources = [ |
| 212 # "demo/demo_main.cc", | 212 # "demo/demo_main.cc", |
| 213 # ] | 213 # ] |
| 214 # | 214 # |
| 215 # deps = [ | 215 # deps = [ |
| 216 # ":aura", | 216 # ":aura", |
| 217 # ":aura_test_support", | 217 # ":test_support", |
| 218 # "//base", | 218 # "//base", |
| 219 # "//base:i18n", | 219 # "//base:i18n", |
| 220 # "//skia", | 220 # "//skia", |
| 221 # "//third_party/icu", | 221 # "//third_party/icu", |
| 222 # "//ui/base", | 222 # "//ui/base", |
| 223 # "//ui/compositor", | 223 # "//ui/compositor", |
| 224 # "//ui/compositor:test_support", | 224 # "//ui/compositor:test_support", |
| 225 # "//ui/events", | 225 # "//ui/events", |
| 226 # "//ui/gfx", | 226 # "//ui/gfx", |
| 227 # "//ui/gfx/geometry", | 227 # "//ui/gfx/geometry", |
| 228 # ] | 228 # ] |
| 229 # | 229 # |
| 230 # if (use_x11) { | 230 # if (use_x11) { |
| 231 # deps += [ | 231 # deps += [ |
| 232 # "//ui/gfx/x", | 232 # "//ui/gfx/x", |
| 233 # ] | 233 # ] |
| 234 # } | 234 # } |
| 235 #} | 235 #} |
| 236 | 236 |
| 237 #TODO(GYP): Enable this when everything it depends links. | 237 #TODO(GYP): Enable this when everything it depends links. |
| 238 #executable("aura_bench") { | 238 #executable("aura_bench") { |
| 239 # sources = [ | 239 # sources = [ |
| 240 # "bench/bench_main.cc", | 240 # "bench/bench_main.cc", |
| 241 # ] | 241 # ] |
| 242 # | 242 # |
| 243 # deps = [ | 243 # deps = [ |
| 244 # ":aura", | 244 # ":aura", |
| 245 # ":aura_test_support", | 245 # ":test_support", |
| 246 # "//base", | 246 # "//base", |
| 247 # "//base:i18n", | 247 # "//base:i18n", |
| 248 # "//cc", | 248 # "//cc", |
| 249 # "//skia", | 249 # "//skia", |
| 250 # "//third_party/icu", | 250 # "//third_party/icu", |
| 251 # "//ui/base", | 251 # "//ui/base", |
| 252 # "//ui/compositor", | 252 # "//ui/compositor", |
| 253 # "//ui/compositor:test_support", | 253 # "//ui/compositor:test_support", |
| 254 # "//ui/events", | 254 # "//ui/events", |
| 255 # "//ui/gfx", | 255 # "//ui/gfx", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 268 # sources = [ | 268 # sources = [ |
| 269 # "gestures/gesture_recognizer_unittest.cc", | 269 # "gestures/gesture_recognizer_unittest.cc", |
| 270 # "test/run_all_unittests.cc", | 270 # "test/run_all_unittests.cc", |
| 271 # "window_event_dispatcher_unittest.cc", | 271 # "window_event_dispatcher_unittest.cc", |
| 272 # "window_targeter_unittest.cc", | 272 # "window_targeter_unittest.cc", |
| 273 # "window_unittest.cc", | 273 # "window_unittest.cc", |
| 274 # ] | 274 # ] |
| 275 # | 275 # |
| 276 # deps = [ | 276 # deps = [ |
| 277 # ":aura", | 277 # ":aura", |
| 278 # ":aura_test_support", | 278 # ":test_support", |
| 279 # "//base/test:test_support", | 279 # "//base/test:test_support", |
| 280 # "//skia", | 280 # "//skia", |
| 281 # "//testing/gtest", | 281 # "//testing/gtest", |
| 282 # "//ui/base", | 282 # "//ui/base", |
| 283 # "//ui/base:ui_base_test_support", | 283 # "//ui/base:test_support", |
| 284 # "//ui/compositor", | 284 # "//ui/compositor", |
| 285 # "//ui/compositor:test_support", | 285 # "//ui/compositor:test_support", |
| 286 # "//ui/events", | 286 # "//ui/events", |
| 287 # "//ui/events:events_base", | 287 # "//ui/events:events_base", |
| 288 # "//ui/events:gesture_detection", | 288 # "//ui/events:gesture_detection", |
| 289 # "//ui/gfx", | 289 # "//ui/gfx", |
| 290 # "//ui/gfx/geometry", | 290 # "//ui/gfx/geometry", |
| 291 # "//ui/gl", | 291 # "//ui/gl", |
| 292 # ] | 292 # ] |
| 293 # | 293 # |
| 294 # if (is_linux) { | 294 # if (is_linux) { |
| 295 # deps += [ | 295 # deps += [ |
| 296 # #"<(DEPTH)/third_party/mesa/mesa.gyp:osmesa", | 296 # #"<(DEPTH)/third_party/mesa/mesa.gyp:osmesa", |
| 297 # ] | 297 # ] |
| 298 # } | 298 # } |
| 299 # | 299 # |
| 300 # if (is_linux) { # && use_allocator != "none") { | 300 # if (is_linux) { # && use_allocator != "none") { |
| 301 # deps += [ | 301 # deps += [ |
| 302 # # See http://crbug.com/162998#c4 for why this is needed. | 302 # # See http://crbug.com/162998#c4 for why this is needed. |
| 303 # "//base/allocator", | 303 # "//base/allocator", |
| 304 # ] | 304 # ] |
| 305 # } | 305 # } |
| 306 #} | 306 #} |
| OLD | NEW |