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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 "pango_util.h", | 356 "pango_util.h", |
357 "platform_font_pango.cc", | 357 "platform_font_pango.cc", |
358 "platform_font_pango.h", | 358 "platform_font_pango.h", |
359 ] | 359 ] |
360 configs += [ "//build/config/linux:pangocairo" ] | 360 configs += [ "//build/config/linux:pangocairo" ] |
361 } | 361 } |
362 } | 362 } |
363 | 363 |
364 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry | 364 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry |
365 | 365 |
366 source_set("gfx_test_support") { | 366 source_set("test_support") { |
367 sources = [ | 367 sources = [ |
368 "test/fontconfig_util_linux.cc", | 368 "test/fontconfig_util_linux.cc", |
369 "test/fontconfig_util_linux.h", | 369 "test/fontconfig_util_linux.h", |
370 "test/gfx_util.cc", | 370 "test/gfx_util.cc", |
371 "test/gfx_util.h", | 371 "test/gfx_util.h", |
372 "test/ui_cocoa_test_helper.h", | 372 "test/ui_cocoa_test_helper.h", |
373 "test/ui_cocoa_test_helper.mm", | 373 "test/ui_cocoa_test_helper.mm", |
374 ] | 374 ] |
375 | 375 |
376 deps = [ | 376 deps = [ |
(...skipping 29 matching lines...) Expand all Loading... |
406 "geometry/safe_integer_conversions_unittest.cc", | 406 "geometry/safe_integer_conversions_unittest.cc", |
407 "geometry/size_unittest.cc", | 407 "geometry/size_unittest.cc", |
408 "geometry/vector2d_unittest.cc", | 408 "geometry/vector2d_unittest.cc", |
409 "geometry/vector3d_unittest.cc", | 409 "geometry/vector3d_unittest.cc", |
410 "range/range_unittest.cc", | 410 "range/range_unittest.cc", |
411 "test/run_all_unittests.cc", | 411 "test/run_all_unittests.cc", |
412 ] | 412 ] |
413 | 413 |
414 deps = [ | 414 deps = [ |
415 ":gfx", | 415 ":gfx", |
416 ":gfx_test_support", | 416 ":test_support", |
417 "//base", | 417 "//base", |
418 "//base/test:test_support", | 418 "//base/test:test_support", |
419 "//testing/gtest", | 419 "//testing/gtest", |
420 "//ui/base", | 420 "//ui/base", |
421 "//ui/gfx/geometry", | 421 "//ui/gfx/geometry", |
422 "//ui/resources:ui_test_pak", | 422 "//ui/resources:ui_test_pak", |
423 ] | 423 ] |
424 | 424 |
425 if (use_pango) { | 425 if (use_pango) { |
426 sources += [ "platform_font_pango_unittest.cc" ] | 426 sources += [ "platform_font_pango_unittest.cc" ] |
427 configs += [ | 427 configs += [ |
428 "//build/config/linux:pangocairo", | 428 "//build/config/linux:pangocairo", |
429 "//build/config/linux:pangoft2", | 429 "//build/config/linux:pangoft2", |
430 ] | 430 ] |
431 } | 431 } |
432 } | 432 } |
433 | 433 |
434 if (is_android) { | 434 if (is_android) { |
435 generate_jni("gfx_jni_headers") { | 435 generate_jni("gfx_jni_headers") { |
436 sources = [ | 436 sources = [ |
437 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 437 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
438 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 438 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
439 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 439 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
440 ] | 440 ] |
441 jni_package = "gfx" | 441 jni_package = "gfx" |
442 } | 442 } |
443 } | 443 } |
OLD | NEW |