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