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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 configs -= [ "//build/config/compiler:chromium_code" ] | 574 configs -= [ "//build/config/compiler:chromium_code" ] |
575 configs += [ | 575 configs += [ |
576 ":skia_config", | 576 ":skia_config", |
577 ":skia_library_config", | 577 ":skia_library_config", |
578 "//build/config/compiler:no_chromium_code", | 578 "//build/config/compiler:no_chromium_code", |
579 ] | 579 ] |
580 | 580 |
581 visibility = [ ":skia" ] | 581 visibility = [ ":skia" ] |
582 } | 582 } |
583 | 583 |
| 584 # TODO(GYP): Delete this after we've converted everything to GN. |
| 585 # The _run targets exist only for compatibility w/ GYP. |
| 586 group("skia_unittests_run") { |
| 587 testonly = true |
| 588 deps = [ |
| 589 ":skia_unittests", |
| 590 ] |
| 591 } |
| 592 |
584 test("skia_unittests") { | 593 test("skia_unittests") { |
585 sources = [ | 594 sources = [ |
586 "ext/analysis_canvas_unittest.cc", | 595 "ext/analysis_canvas_unittest.cc", |
587 "ext/bitmap_platform_device_mac_unittest.cc", | 596 "ext/bitmap_platform_device_mac_unittest.cc", |
588 "ext/convolver_unittest.cc", | 597 "ext/convolver_unittest.cc", |
589 "ext/image_operations_unittest.cc", | 598 "ext/image_operations_unittest.cc", |
590 "ext/pixel_ref_utils_unittest.cc", | 599 "ext/pixel_ref_utils_unittest.cc", |
591 "ext/platform_canvas_unittest.cc", | 600 "ext/platform_canvas_unittest.cc", |
592 "ext/recursive_gaussian_convolution_unittest.cc", | 601 "ext/recursive_gaussian_convolution_unittest.cc", |
593 "ext/refptr_unittest.cc", | 602 "ext/refptr_unittest.cc", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 638 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
630 ] | 639 ] |
631 | 640 |
632 deps = [ | 641 deps = [ |
633 ":skia", | 642 ":skia", |
634 "//base", | 643 "//base", |
635 "//base/test:test_support", | 644 "//base/test:test_support", |
636 ] | 645 ] |
637 } | 646 } |
638 } | 647 } |
OLD | NEW |