1# 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 10skia_graphite_public = [ 11 "$_include/Context.h", 12 "$_include/GraphiteTypes.h", 13] 14 15skia_graphite_sources = [ 16 "$_include/BackendTexture.h", 17 "$_include/Context.h", 18 "$_include/SkStuff.h", 19 "$_include/TextureInfo.h", 20 "$_src/BackendTexture.cpp", 21 "$_src/Buffer.cpp", 22 "$_src/Buffer.h", 23 "$_src/Caps.cpp", 24 "$_src/Caps.h", 25 "$_src/CommandBuffer.cpp", 26 "$_src/CommandBuffer.h", 27 "$_src/Context.cpp", 28 "$_src/ContextPriv.cpp", 29 "$_src/ContextPriv.h", 30 "$_src/ContextUtils.cpp", 31 "$_src/ContextUtils.h", 32 "$_src/CopyTask.cpp", 33 "$_src/CopyTask.h", 34 "$_src/Device.cpp", 35 "$_src/Device.h", 36 "$_src/DrawBufferManager.cpp", 37 "$_src/DrawBufferManager.h", 38 "$_src/DrawContext.cpp", 39 "$_src/DrawContext.h", 40 "$_src/DrawList.cpp", 41 "$_src/DrawList.h", 42 "$_src/DrawOrder.h", 43 "$_src/DrawPass.cpp", 44 "$_src/DrawPass.h", 45 "$_src/DrawTypes.h", 46 "$_src/EnumBitMask.h", 47 "$_src/Gpu.cpp", 48 "$_src/Gpu.h", 49 "$_src/GpuWorkSubmission.h", 50 "$_src/GraphicsPipeline.cpp", 51 "$_src/GraphicsPipeline.h", 52 "$_src/GraphicsPipelineDesc.cpp", 53 "$_src/GraphicsPipelineDesc.h", 54 "$_src/Image_Graphite.cpp", 55 "$_src/Image_Graphite.h", 56 "$_src/ProgramCache.cpp", 57 "$_src/ProgramCache.h", 58 "$_src/Recorder.cpp", 59 "$_src/Recorder.h", 60 "$_src/Recording.cpp", 61 "$_src/Recording.h", 62 "$_src/RenderPassTask.cpp", 63 "$_src/RenderPassTask.h", 64 "$_src/Renderer.h", 65 "$_src/ResourceProvider.cpp", 66 "$_src/ResourceProvider.h", 67 "$_src/ResourceTypes.h", 68 "$_src/SkStuff.cpp", 69 "$_src/Surface_Graphite.cpp", 70 "$_src/Surface_Graphite.h", 71 "$_src/Task.cpp", 72 "$_src/Task.h", 73 "$_src/TaskGraph.cpp", 74 "$_src/TaskGraph.h", 75 "$_src/Texture.cpp", 76 "$_src/Texture.h", 77 "$_src/TextureInfo.cpp", 78 "$_src/TextureProxy.cpp", 79 "$_src/TextureProxy.h", 80 "$_src/Uniform.h", 81 "$_src/UniformCache.cpp", 82 "$_src/UniformCache.h", 83 "$_src/UniformManager.cpp", 84 "$_src/UniformManager.h", 85 "$_src/geom/BoundsManager.h", 86 "$_src/geom/IntersectionTree.cpp", 87 "$_src/geom/IntersectionTree.h", 88 "$_src/geom/Rect.h", 89 "$_src/geom/Shape.cpp", 90 "$_src/geom/Shape.h", 91 "$_src/geom/Transform.cpp", 92 "$_src/geom/Transform_graphite.h", 93 "$_src/geom/VectorTypes.h", 94 "$_src/render/StencilAndFillPathRenderer.cpp", 95] 96 97skia_graphite_mtl_sources = [ 98 "$_include/mtl/MtlBackendContext.h", 99 "$_include/mtl/MtlTypes.h", 100 "$_include/private/MtlTypesPriv.h", 101 "$_src/mtl/MtlBlitCommandEncoder.h", 102 "$_src/mtl/MtlBuffer.h", 103 "$_src/mtl/MtlBuffer.mm", 104 "$_src/mtl/MtlCaps.h", 105 "$_src/mtl/MtlCaps.mm", 106 "$_src/mtl/MtlCommandBuffer.h", 107 "$_src/mtl/MtlCommandBuffer.mm", 108 "$_src/mtl/MtlGpu.h", 109 "$_src/mtl/MtlGpu.mm", 110 "$_src/mtl/MtlGraphicsPipeline.h", 111 "$_src/mtl/MtlGraphicsPipeline.mm", 112 "$_src/mtl/MtlRenderCommandEncoder.h", 113 "$_src/mtl/MtlResourceProvider.h", 114 "$_src/mtl/MtlResourceProvider.mm", 115 "$_src/mtl/MtlTexture.h", 116 "$_src/mtl/MtlTexture.mm", 117 "$_src/mtl/MtlTrampoline.h", 118 "$_src/mtl/MtlTrampoline.mm", 119 "$_src/mtl/MtlTypesPriv.mm", 120 "$_src/mtl/MtlUtils.h", 121 "$_src/mtl/MtlUtils.mm", 122] 123