Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: add sql_unittests to swarming, remove interactive_ui_tests, move mojo rules Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« net/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 sources -= [ 449 sources -= [
450 "test/ui_cocoa_test_helper.h", 450 "test/ui_cocoa_test_helper.h",
451 "test/ui_cocoa_test_helper.mm", 451 "test/ui_cocoa_test_helper.mm",
452 ] 452 ]
453 } 453 }
454 if (is_linux) { 454 if (is_linux) {
455 configs += [ "//build/config/linux:fontconfig" ] 455 configs += [ "//build/config/linux:fontconfig" ]
456 } 456 }
457 } 457 }
458 458
459 # TODO(GYP): Delete this after we've converted everything to GN.
460 # The _run targets exist only for compatibility w/ GYP.
461 group("gfx_unittests_run") {
462 testonly = true
463 deps = [
464 ":gfx_unittests",
465 ]
466 }
467
459 test("gfx_unittests") { 468 test("gfx_unittests") {
460 sources = [ 469 sources = [
461 "font_render_params_linux_unittest.cc", 470 "font_render_params_linux_unittest.cc",
462 "font_unittest.cc", 471 "font_unittest.cc",
463 "image/image_family_unittest.cc", 472 "image/image_family_unittest.cc",
464 "image/image_ios_unittest.mm", 473 "image/image_ios_unittest.mm",
465 "image/image_skia_unittest.cc", 474 "image/image_skia_unittest.cc",
466 "image/image_unittest.cc", 475 "image/image_unittest.cc",
467 "platform_font_linux_unittest.cc", 476 "platform_font_linux_unittest.cc",
468 "screen_unittest.cc", 477 "screen_unittest.cc",
469 "test/run_all_unittests.cc", 478 "test/run_all_unittests.cc",
470 "text_elider_unittest.cc", 479 "text_elider_unittest.cc",
471 "text_utils_unittest.cc", 480 "text_utils_unittest.cc",
472 ] 481 ]
473 482
483 data = [
484 "test/data/",
485 "$root_out_dir/ui_test.pak",
486 ]
487
474 if (!is_ios) { 488 if (!is_ios) {
475 sources += [ 489 sources += [
476 "animation/animation_container_unittest.cc", 490 "animation/animation_container_unittest.cc",
477 "animation/animation_unittest.cc", 491 "animation/animation_unittest.cc",
478 "animation/multi_animation_unittest.cc", 492 "animation/multi_animation_unittest.cc",
479 "animation/slide_animation_unittest.cc", 493 "animation/slide_animation_unittest.cc",
480 "animation/tween_unittest.cc", 494 "animation/tween_unittest.cc",
481 "blit_unittest.cc", 495 "blit_unittest.cc",
482 "break_list_unittest.cc", 496 "break_list_unittest.cc",
483 "canvas_unittest.cc", 497 "canvas_unittest.cc",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 "//skia", 550 "//skia",
537 "//third_party/icu:icuuc", 551 "//third_party/icu:icuuc",
538 "//third_party/libpng", 552 "//third_party/libpng",
539 "//third_party/zlib", 553 "//third_party/zlib",
540 "//testing/gtest", 554 "//testing/gtest",
541 "//ui/base", 555 "//ui/base",
542 "//ui/gfx/geometry", 556 "//ui/gfx/geometry",
543 "//ui/resources:ui_test_pak", 557 "//ui/resources:ui_test_pak",
544 ] 558 ]
545 559
560 data_deps = [ "//ui/resources:ui_test_pak" ]
561
546 if (!is_mac && !is_ios) { 562 if (!is_mac && !is_ios) {
547 sources += [ 563 sources += [
548 "interpolated_transform_unittest.cc", 564 "interpolated_transform_unittest.cc",
549 "transform_unittest.cc", 565 "transform_unittest.cc",
550 ] 566 ]
551 } 567 }
552 568
553 if (is_android) { 569 if (is_android) {
554 sources -= [ 570 sources -= [
555 # Do not run display_change_notifier_unittest.cc on Android because it 571 # Do not run display_change_notifier_unittest.cc on Android because it
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 if (is_android) { 611 if (is_android) {
596 generate_jni("gfx_jni_headers") { 612 generate_jni("gfx_jni_headers") {
597 sources = [ 613 sources = [
598 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 614 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
599 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 615 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
600 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 616 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
601 ] 617 ]
602 jni_package = "gfx" 618 jni_package = "gfx"
603 } 619 }
604 } 620 }
OLDNEW
« net/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698