OLD | NEW |
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 if (current_cpu == "arm") { | 8 if (current_cpu == "arm") { |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 } | 10 } |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 configs -= [ "//build/config/compiler:chromium_code" ] | 651 configs -= [ "//build/config/compiler:chromium_code" ] |
652 configs += [ | 652 configs += [ |
653 ":skia_config", | 653 ":skia_config", |
654 ":skia_library_config", | 654 ":skia_library_config", |
655 "//build/config/compiler:no_chromium_code", | 655 "//build/config/compiler:no_chromium_code", |
656 ] | 656 ] |
657 | 657 |
658 visibility = [ ":skia" ] | 658 visibility = [ ":skia" ] |
659 } | 659 } |
660 | 660 |
661 # TODO(GYP): Delete this after we've converted everything to GN. | |
662 # The _run targets exist only for compatibility w/ GYP. | |
663 group("skia_unittests_run") { | |
664 testonly = true | |
665 deps = [ | |
666 ":skia_unittests", | |
667 ] | |
668 } | |
669 | |
670 test("skia_unittests") { | 661 test("skia_unittests") { |
671 sources = [ | 662 sources = [ |
672 "ext/analysis_canvas_unittest.cc", | 663 "ext/analysis_canvas_unittest.cc", |
673 "ext/bitmap_platform_device_mac_unittest.cc", | 664 "ext/bitmap_platform_device_mac_unittest.cc", |
674 "ext/convolver_unittest.cc", | 665 "ext/convolver_unittest.cc", |
675 "ext/image_operations_unittest.cc", | 666 "ext/image_operations_unittest.cc", |
676 "ext/platform_canvas_unittest.cc", | 667 "ext/platform_canvas_unittest.cc", |
677 "ext/recursive_gaussian_convolution_unittest.cc", | 668 "ext/recursive_gaussian_convolution_unittest.cc", |
678 "ext/refptr_unittest.cc", | 669 "ext/refptr_unittest.cc", |
679 "ext/skia_memory_dump_provider_unittest.cc", | 670 "ext/skia_memory_dump_provider_unittest.cc", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 ] | 711 ] |
721 | 712 |
722 deps = [ | 713 deps = [ |
723 ":skia", | 714 ":skia", |
724 "//base", | 715 "//base", |
725 "//base/test:test_support", | 716 "//base/test:test_support", |
726 "//build/config/sanitizers:deps", | 717 "//build/config/sanitizers:deps", |
727 ] | 718 ] |
728 } | 719 } |
729 } | 720 } |
OLD | NEW |