blob: 96d01ed6c4e9471e6df48083e0bc567017182b78 [file] [log] [blame]
Robert Phillips755e00e2021-09-21 11:59:57 -04001# Copyright 2021 Google LLC
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# Things are easiest for everyone if these source paths are absolute.
7_src = get_path_info("../experimental/graphite/src", "abspath")
8_include = get_path_info("../experimental/graphite/include", "abspath")
9
Robert Phillipse19164d2021-09-28 14:01:13 -040010skia_graphite_public = [
11 "$_include/Context.h",
12 "$_include/GraphiteTypes.h",
13]
Robert Phillips755e00e2021-09-21 11:59:57 -040014
15skia_graphite_sources = [
16 "$_include/Context.h",
17 "$_include/SkStuff.h",
Greg Danield73cff02021-09-29 11:42:09 -040018 "$_include/TextureInfo.h",
Greg Danielfbc64be2021-10-06 10:30:33 -040019 "$_include/private/GraphiteTypesPriv.h",
Jim Van Verth1e90b882021-09-24 11:09:08 -040020 "$_src/Caps.cpp",
21 "$_src/Caps.h",
Jim Van Verth8b85d7b2021-09-24 15:04:45 -040022 "$_src/CommandBuffer.cpp",
23 "$_src/CommandBuffer.h",
Robert Phillips755e00e2021-09-21 11:59:57 -040024 "$_src/Context.cpp",
25 "$_src/Device.cpp",
26 "$_src/Device.h",
Michael Ludwig65e848d2021-10-04 20:36:51 +000027 "$_src/DrawContext.cpp",
28 "$_src/DrawContext.h",
Michael Ludwigaeb5d4d2021-09-25 13:06:50 -040029 "$_src/DrawList.h",
Michael Ludwig949aebf2021-09-28 15:19:34 -040030 "$_src/DrawPass.cpp",
31 "$_src/DrawPass.h",
Jim Van Verth1e90b882021-09-24 11:09:08 -040032 "$_src/Gpu.cpp",
33 "$_src/Gpu.h",
Robert Phillipsd6bf3742021-09-22 16:07:30 -040034 "$_src/Image_Graphite.cpp",
35 "$_src/Image_Graphite.h",
Robert Phillips47da0ac2021-10-06 10:43:54 -040036 "$_src/Recorder.cpp",
37 "$_src/Recorder.h",
38 "$_src/Recording.cpp",
39 "$_src/Recording.h",
Michael Ludwigaeb5d4d2021-09-25 13:06:50 -040040 "$_src/RenderPassTask.cpp",
41 "$_src/RenderPassTask.h",
Jim Van Verthefdb1f02021-10-04 16:16:57 -040042 "$_src/RenderPipeline.cpp",
43 "$_src/RenderPipeline.h",
44 "$_src/RenderPipelineDesc.cpp",
45 "$_src/RenderPipelineDesc.h",
Jim Van Verth8b85d7b2021-09-24 15:04:45 -040046 "$_src/ResourceProvider.cpp",
47 "$_src/ResourceProvider.h",
Robert Phillips755e00e2021-09-21 11:59:57 -040048 "$_src/SkStuff.cpp",
Robert Phillipsf15c3ff2021-09-21 15:34:36 -040049 "$_src/Surface_Graphite.cpp",
50 "$_src/Surface_Graphite.h",
Robert Phillips5a6f1602021-09-21 16:34:35 -040051 "$_src/Task.cpp",
52 "$_src/Task.h",
Robert Phillips47da0ac2021-10-06 10:43:54 -040053 "$_src/TaskGraph.cpp",
54 "$_src/TaskGraph.h",
Greg Danielb2d20e02021-09-30 10:51:08 -040055 "$_src/Texture.cpp",
56 "$_src/Texture.h",
Greg Daniele47c5d12021-10-07 10:17:44 -040057 "$_src/TextureInfo.cpp",
58 "$_src/TextureProxy.cpp",
59 "$_src/TextureProxy.h",
Michael Ludwig2aff3152021-10-06 15:30:13 -040060 "$_src/geom/BoundsManager.h",
61 "$_src/geom/Shape.cpp",
62 "$_src/geom/Shape.h",
Robert Phillips755e00e2021-09-21 11:59:57 -040063]
Jim Van Verthff733b32021-09-24 16:46:36 -040064
65skia_graphite_mtl_sources = [
Robert Phillipse19164d2021-09-28 14:01:13 -040066 "$_include/mtl/MtlBackendContext.h",
67 "$_include/mtl/MtlTypes.h",
Greg Danield73cff02021-09-29 11:42:09 -040068 "$_include/private/MtlTypesPriv.h",
Jim Van Verth47b62862021-09-28 11:55:21 -040069 "$_src/mtl/MtlCaps.h",
70 "$_src/mtl/MtlCaps.mm",
71 "$_src/mtl/MtlCommandBuffer.h",
72 "$_src/mtl/MtlCommandBuffer.mm",
Jim Van Verthff733b32021-09-24 16:46:36 -040073 "$_src/mtl/MtlGpu.h",
74 "$_src/mtl/MtlGpu.mm",
Jim Van Verthefdb1f02021-10-04 16:16:57 -040075 "$_src/mtl/MtlRenderPipeline.h",
76 "$_src/mtl/MtlRenderPipeline.mm",
Jim Van Verth47b62862021-09-28 11:55:21 -040077 "$_src/mtl/MtlResourceProvider.h",
78 "$_src/mtl/MtlResourceProvider.mm",
Greg Danielf69f21e2021-09-30 11:56:44 -040079 "$_src/mtl/MtlTexture.h",
80 "$_src/mtl/MtlTexture.mm",
Jim Van Verth0f833ca2021-09-29 16:48:25 -040081 "$_src/mtl/MtlTrampoline.h",
82 "$_src/mtl/MtlTrampoline.mm",
Greg Danield73cff02021-09-29 11:42:09 -040083 "$_src/mtl/MtlTypesPriv.mm",
Greg Danield4ca5e12021-10-05 16:34:37 -040084 "$_src/mtl/MtlUtils.h",
85 "$_src/mtl/MtlUtils.mm",
Jim Van Verthff733b32021-09-24 16:46:36 -040086]