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 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 sources = [ | 364 sources = [ |
365 "test/fontconfig_util_linux.cc", | 365 "test/fontconfig_util_linux.cc", |
366 "test/fontconfig_util_linux.h", | 366 "test/fontconfig_util_linux.h", |
367 "test/gfx_util.cc", | 367 "test/gfx_util.cc", |
368 "test/gfx_util.h", | 368 "test/gfx_util.h", |
369 "test/ui_cocoa_test_helper.h", | 369 "test/ui_cocoa_test_helper.h", |
370 "test/ui_cocoa_test_helper.mm", | 370 "test/ui_cocoa_test_helper.mm", |
371 ] | 371 ] |
372 | 372 |
373 deps = [ | 373 deps = [ |
| 374 ":gfx", |
374 "//base", | 375 "//base", |
375 "//base/test:test_support", | 376 "//base/test:test_support", |
376 "//skia", | 377 "//skia", |
377 "//testing/gtest", | 378 "//testing/gtest", |
| 379 "//ui/gfx/geometry", |
378 ] | 380 ] |
379 | 381 |
380 if (is_ios) { | 382 if (is_ios) { |
381 # The cocoa files don't apply to iOS. | 383 # The cocoa files don't apply to iOS. |
382 sources -= [ | 384 sources -= [ |
383 "test/ui_cocoa_test_helper.h", | 385 "test/ui_cocoa_test_helper.h", |
384 "test/ui_cocoa_test_helper.mm", | 386 "test/ui_cocoa_test_helper.mm", |
385 ] | 387 ] |
386 } | 388 } |
387 if (is_linux) { | 389 if (is_linux) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 if (is_android) { | 435 if (is_android) { |
434 generate_jni("gfx_jni_headers") { | 436 generate_jni("gfx_jni_headers") { |
435 sources = [ | 437 sources = [ |
436 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 438 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
437 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 439 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
438 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 440 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
439 ] | 441 ] |
440 jni_package = "gfx" | 442 jni_package = "gfx" |
441 } | 443 } |
442 } | 444 } |
OLD | NEW |