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

Side by Side Diff: BUILD.gn

Issue 2338173006: GN: build get_images_from_skps. (Closed)
Patch Set: 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 | 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 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import("gn/shared_sources.gni") 6 import("gn/shared_sources.gni")
7 7
8 declare_args() { 8 declare_args() {
9 skia_enable_tools = !is_fuchsia && !is_component_build 9 skia_enable_tools = !is_fuchsia && !is_component_build
10 10
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 633
634 if (skia_use_vulkan) { 634 if (skia_use_vulkan) {
635 sources += [ "tools/gpu/vk/VkTestContext.cpp" ] 635 sources += [ "tools/gpu/vk/VkTestContext.cpp" ]
636 } 636 }
637 } 637 }
638 638
639 test_lib("flags") { 639 test_lib("flags") {
640 public_include_dirs = [ "tools/flags" ] 640 public_include_dirs = [ "tools/flags" ]
641 sources = [ 641 sources = [
642 "tools/flags/SkCommandLineFlags.cpp", 642 "tools/flags/SkCommandLineFlags.cpp",
643 ]
644 }
645 test_lib("common_flags") {
646 public_include_dirs = [ "tools/flags" ]
647 sources = [
643 "tools/flags/SkCommonFlags.cpp", 648 "tools/flags/SkCommonFlags.cpp",
644 "tools/flags/SkCommonFlagsConfig.cpp", 649 "tools/flags/SkCommonFlagsConfig.cpp",
645 ] 650 ]
646 deps = [ 651 deps = [
652 ":flags",
647 ":gpu_tool_utils", 653 ":gpu_tool_utils",
648 ] 654 ]
649 } 655 }
650 656
651 test_lib("tool_utils") { 657 test_lib("tool_utils") {
652 public_include_dirs = [ 658 public_include_dirs = [
653 "tools", 659 "tools",
654 "tools/debugger", 660 "tools/debugger",
655 "tools/timer", 661 "tools/timer",
656 ] 662 ]
(...skipping 12 matching lines...) Expand all
669 "tools/debugger/SkJsonWriteBuffer.cpp", 675 "tools/debugger/SkJsonWriteBuffer.cpp",
670 "tools/debugger/SkObjectParser.cpp", 676 "tools/debugger/SkObjectParser.cpp",
671 "tools/debugger/SkOverdrawMode.cpp", 677 "tools/debugger/SkOverdrawMode.cpp",
672 "tools/picture_utils.cpp", 678 "tools/picture_utils.cpp",
673 "tools/random_parse_path.cpp", 679 "tools/random_parse_path.cpp",
674 "tools/sk_tool_utils.cpp", 680 "tools/sk_tool_utils.cpp",
675 "tools/sk_tool_utils_font.cpp", 681 "tools/sk_tool_utils_font.cpp",
676 "tools/timer/Timer.cpp", 682 "tools/timer/Timer.cpp",
677 ] 683 ]
678 deps = [ 684 deps = [
685 ":common_flags",
679 ":flags", 686 ":flags",
680 "//third_party/libpng", 687 "//third_party/libpng",
681 ] 688 ]
682 public_deps = [ 689 public_deps = [
683 "//third_party/jsoncpp", 690 "//third_party/jsoncpp",
684 ] 691 ]
685 } 692 }
686 693
687 gm_sources = exec_script("gyp/find.py", 694 gm_sources = exec_script("gyp/find.py",
688 [ 695 [
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 } 789 }
783 790
784 executable("dm") { 791 executable("dm") {
785 sources = [ 792 sources = [
786 "dm/DM.cpp", 793 "dm/DM.cpp",
787 "dm/DMJsonWriter.cpp", 794 "dm/DMJsonWriter.cpp",
788 "dm/DMSrcSink.cpp", 795 "dm/DMSrcSink.cpp",
789 ] 796 ]
790 include_dirs = [ "tests" ] 797 include_dirs = [ "tests" ]
791 deps = [ 798 deps = [
799 ":common_flags",
792 ":experimental_svg_model", 800 ":experimental_svg_model",
793 ":flags", 801 ":flags",
794 ":gm", 802 ":gm",
795 ":gpu_tool_utils", 803 ":gpu_tool_utils",
796 ":skia", 804 ":skia",
797 ":tests", 805 ":tests",
798 ":tool_utils", 806 ":tool_utils",
799 "//third_party/jsoncpp", 807 "//third_party/jsoncpp",
800 "//third_party/libpng", 808 "//third_party/libpng",
801 ] 809 ]
(...skipping 10 matching lines...) Expand all
812 ] 820 ]
813 testonly = true 821 testonly = true
814 } 822 }
815 823
816 executable("nanobench") { 824 executable("nanobench") {
817 sources = [ 825 sources = [
818 "bench/nanobench.cpp", 826 "bench/nanobench.cpp",
819 ] 827 ]
820 deps = [ 828 deps = [
821 ":bench", 829 ":bench",
830 ":common_flags",
822 ":experimental_svg_model", 831 ":experimental_svg_model",
823 ":flags", 832 ":flags",
824 ":gm", 833 ":gm",
825 ":gpu_tool_utils", 834 ":gpu_tool_utils",
826 ":skia", 835 ":skia",
827 ":tool_utils", 836 ":tool_utils",
828 "//third_party/jsoncpp", 837 "//third_party/jsoncpp",
829 ] 838 ]
830 testonly = true 839 testonly = true
831 } 840 }
(...skipping 14 matching lines...) Expand all
846 executable("sktexttopdf") { 855 executable("sktexttopdf") {
847 sources = [ 856 sources = [
848 "tools/SkShaper_primitive.cpp", 857 "tools/SkShaper_primitive.cpp",
849 "tools/using_skia_and_harfbuzz.cpp", 858 "tools/using_skia_and_harfbuzz.cpp",
850 ] 859 ]
851 deps = [ 860 deps = [
852 ":skia", 861 ":skia",
853 ] 862 ]
854 testonly = true 863 testonly = true
855 } 864 }
865
866 executable("get_images_from_skps") {
867 sources = [
868 "tools/get_images_from_skps.cpp",
869 ]
870 deps = [
871 ":flags",
872 ":skia",
873 "//third_party/jsoncpp",
874 ]
875 testonly = true
876 }
856 } 877 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698