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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 ] | 407 ] |
408 | 408 |
409 deps = [ | 409 deps = [ |
410 ":gfx", | 410 ":gfx", |
411 ":gfx_test_support", | 411 ":gfx_test_support", |
412 "//base", | 412 "//base", |
413 "//base/test:test_support", | 413 "//base/test:test_support", |
414 "//testing/gtest", | 414 "//testing/gtest", |
415 "//ui/base", | 415 "//ui/base", |
416 "//ui/gfx/geometry", | 416 "//ui/gfx/geometry", |
| 417 "//ui/resources:ui_test_pak", |
417 ] | 418 ] |
418 | 419 |
419 if (use_pango) { | 420 if (use_pango) { |
420 sources += [ "platform_font_pango_unittest.cc" ] | 421 sources += [ "platform_font_pango_unittest.cc" ] |
421 configs += [ | 422 configs += [ |
422 "//build/config/linux:pangocairo", | 423 "//build/config/linux:pangocairo", |
423 "//build/config/linux:pangoft2", | 424 "//build/config/linux:pangoft2", |
424 ] | 425 ] |
425 } | 426 } |
426 } | 427 } |
427 | 428 |
428 if (is_android) { | 429 if (is_android) { |
429 generate_jni("gfx_jni_headers") { | 430 generate_jni("gfx_jni_headers") { |
430 sources = [ | 431 sources = [ |
431 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 432 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
432 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 433 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
433 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 434 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
434 ] | 435 ] |
435 jni_package = "gfx" | 436 jni_package = "gfx" |
436 } | 437 } |
437 } | 438 } |
OLD | NEW |