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

Side by Side Diff: skia/BUILD.gn

Issue 2332293003: Start enabling platform_canvas_unittests on Linux (Closed)
Patch Set: make gn consistent, turn on clipping test Created 4 years, 3 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
« no previous file with comments | « no previous file | skia/ext/platform_canvas_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/skia/gn/shared_sources.gni") 8 import("//third_party/skia/gn/shared_sources.gni")
9 9
10 if (current_cpu == "arm") { 10 if (current_cpu == "arm") {
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 "ext/bitmap_platform_device_mac_unittest.cc", 655 "ext/bitmap_platform_device_mac_unittest.cc",
656 "ext/convolver_unittest.cc", 656 "ext/convolver_unittest.cc",
657 "ext/image_operations_unittest.cc", 657 "ext/image_operations_unittest.cc",
658 "ext/platform_canvas_unittest.cc", 658 "ext/platform_canvas_unittest.cc",
659 "ext/recursive_gaussian_convolution_unittest.cc", 659 "ext/recursive_gaussian_convolution_unittest.cc",
660 "ext/skia_memory_dump_provider_unittest.cc", 660 "ext/skia_memory_dump_provider_unittest.cc",
661 "ext/skia_utils_ios_unittest.mm", 661 "ext/skia_utils_ios_unittest.mm",
662 "ext/skia_utils_mac_unittest.mm", 662 "ext/skia_utils_mac_unittest.mm",
663 ] 663 ]
664 664
665 if (!is_win && !is_mac) { 665 if (!is_win && !is_mac && !use_cairo) {
666 sources -= [ "ext/platform_canvas_unittest.cc" ] 666 sources -= [ "ext/platform_canvas_unittest.cc" ]
667 } 667 }
668 668
669 deps = [ 669 deps = [
670 ":skia", 670 ":skia",
671 "//base", 671 "//base",
672 "//mojo/edk/test:run_all_unittests", 672 "//mojo/edk/test:run_all_unittests",
673 "//testing/gtest", 673 "//testing/gtest",
674 "//ui/gfx", 674 "//ui/gfx",
675 "//ui/gfx/geometry", 675 "//ui/gfx/geometry",
676 ] 676 ]
677 677
678 if (!is_ios) { 678 if (!is_ios) {
679 sources += [ "public/interfaces/test/struct_traits_unittest.cc" ] 679 sources += [ "public/interfaces/test/struct_traits_unittest.cc" ]
680 deps += [ 680 deps += [
681 # TODO: Fix this test to not depend on cc. 681 # TODO: Fix this test to not depend on cc.
682 "//cc:test_support", 682 "//cc:test_support",
683 "//mojo/public/cpp/bindings", 683 "//mojo/public/cpp/bindings",
684 "//skia/public/interfaces:test_interfaces", 684 "//skia/public/interfaces:test_interfaces",
685 ] 685 ]
686 } 686 }
687
688 if (is_linux) {
689 if (use_pango) {
690 configs += [ "//build/config/linux/pangocairo" ]
691 }
692 }
687 } 693 }
688 694
689 if (!is_ios) { 695 if (!is_ios) {
690 executable("image_operations_bench") { 696 executable("image_operations_bench") {
691 sources = [ 697 sources = [
692 "ext/image_operations_bench.cc", 698 "ext/image_operations_bench.cc",
693 ] 699 ]
694 700
695 deps = [ 701 deps = [
696 ":skia", 702 ":skia",
(...skipping 11 matching lines...) Expand all
708 714
709 deps = [ 715 deps = [
710 ":skia", 716 ":skia",
711 "//base", 717 "//base",
712 "//base/test:test_support", 718 "//base/test:test_support",
713 "//build/config/sanitizers:deps", 719 "//build/config/sanitizers:deps",
714 "//build/win:default_exe_manifest", 720 "//build/win:default_exe_manifest",
715 ] 721 ]
716 } 722 }
717 } 723 }
OLDNEW
« no previous file with comments | « no previous file | skia/ext/platform_canvas_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698