blob: 6c8eccce80f5c3559761afe34b95f9bc05e624d0 [file] [log] [blame]
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy", "generated_cc_atom")
licenses(["notice"])
exports_files_legacy()
cc_library(
name = "core_srcs",
deps = [
":SkImage_Lazy_src",
":SkImage_Raster_src",
":SkImage_src",
":SkRescaleAndReadPixels_src",
":SkSurface_Raster_src",
":SkSurface_src",
],
)
cc_library(
name = "gpu_srcs",
deps = [
":SkImage_GpuBase_src",
":SkImage_GpuYUVA_src",
":SkImage_Gpu_src",
":SkSurface_Gpu_src",
],
)
cc_library(
name = "srcs",
visibility = ["//:__subpackages__"],
deps = [":core_srcs"] + select({
"//bazel/common_config_settings:has_gpu_backend": [
":gpu_srcs",
],
"//conditions:default": [],
}),
)
generated_cc_atom(
name = "SkImage_Base_hdr",
hdrs = ["SkImage_Base.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkData_hdr",
"//include/core:SkImage_hdr",
"//include/core:SkSurface_hdr",
"//include/private:SkTDArray_hdr",
"//src/core:SkMipmap_hdr",
"//src/gpu/ganesh:GrSurfaceProxyView_hdr",
"//src/gpu/ganesh:GrTextureProxy_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/gpu/graphite:TextureProxyView_hdr",
],
)
generated_cc_atom(
name = "SkImage_GpuBase_hdr",
hdrs = ["SkImage_GpuBase.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
"//include/core:SkDeferredDisplayListRecorder_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/private/gpu/ganesh:GrTypesPriv_hdr",
"//src/core:SkYUVAInfoLocation_hdr",
],
)
generated_cc_atom(
name = "SkImage_GpuBase_src",
srcs = ["SkImage_GpuBase.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_GpuBase_hdr",
":SkImage_Gpu_hdr",
":SkReadPixelsRec_hdr",
"//include/core:SkBitmap_hdr",
"//include/core:SkPromiseImageTexture_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/gpu:GrDirectContext_hdr",
"//include/gpu:GrRecordingContext_hdr",
"//include/gpu:GrYUVABackendTextures_hdr",
"//src/core:SkBitmapCache_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:GrImageContextPriv_hdr",
"//src/gpu/ganesh:GrImageInfo_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/ganesh:GrTexture_hdr",
"//src/gpu/ganesh:GrYUVATextureProxies_hdr",
"//src/gpu/ganesh:SurfaceContext_hdr",
"//src/gpu/ganesh/effects:GrYUVtoRGBEffect_hdr",
],
)
generated_cc_atom(
name = "SkImage_GpuYUVA_hdr",
hdrs = ["SkImage_GpuYUVA.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_GpuBase_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//src/core:SkCachedData_hdr",
"//src/gpu/ganesh:GrYUVATextureProxies_hdr",
],
)
generated_cc_atom(
name = "SkImage_GpuYUVA_src",
srcs = ["SkImage_GpuYUVA.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_GpuYUVA_hdr",
":SkImage_Gpu_hdr",
"//include/core:SkBitmap_hdr",
"//include/core:SkYUVAPixmaps_hdr",
"//include/gpu:GrDirectContext_hdr",
"//include/gpu:GrRecordingContext_hdr",
"//include/gpu:GrYUVABackendTextures_hdr",
"//src/core:SkAutoPixmapStorage_hdr",
"//src/core:SkMipmap_hdr",
"//src/core:SkSamplingPriv_hdr",
"//src/core:SkScopeExit_hdr",
"//src/gpu/ganesh:GrClip_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:GrGpu_hdr",
"//src/gpu/ganesh:GrImageContextPriv_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/gpu/ganesh:SurfaceFillContext_hdr",
"//src/gpu/ganesh/effects:GrBicubicEffect_hdr",
"//src/gpu/ganesh/effects:GrYUVtoRGBEffect_hdr",
],
)
generated_cc_atom(
name = "SkImage_Gpu_hdr",
hdrs = ["SkImage_Gpu.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_GpuBase_hdr",
"//include/private:SkSpinlock_hdr",
"//src/core:SkImagePriv_hdr",
"//src/gpu/ganesh:GrGpuResourcePriv_hdr",
"//src/gpu/ganesh:GrSurfaceProxyPriv_hdr",
"//src/gpu/ganesh:GrSurfaceProxyView_hdr",
],
)
generated_cc_atom(
name = "SkImage_Gpu_src",
srcs = ["SkImage_Gpu.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Gpu_hdr",
"//include/core:SkCanvas_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/gpu:GrDirectContext_hdr",
"//include/gpu:GrRecordingContext_hdr",
"//include/gpu:GrYUVABackendTextures_hdr",
"//include/private:SkImageInfoPriv_hdr",
"//src/core:SkAutoPixmapStorage_hdr",
"//src/core:SkBitmapCache_hdr",
"//src/core:SkMipmap_hdr",
"//src/core:SkScopeExit_hdr",
"//src/core:SkTraceEvent_hdr",
"//src/gpu/ganesh:GrAHardwareBufferImageGenerator_hdr",
"//src/gpu/ganesh:GrAHardwareBufferUtils_impl_hdr",
"//src/gpu/ganesh:GrBackendTextureImageGenerator_hdr",
"//src/gpu/ganesh:GrBackendUtils_hdr",
"//src/gpu/ganesh:GrCaps_hdr",
"//src/gpu/ganesh:GrColorSpaceXform_hdr",
"//src/gpu/ganesh:GrContextThreadSafeProxyPriv_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:GrDrawingManager_hdr",
"//src/gpu/ganesh:GrGpu_hdr",
"//src/gpu/ganesh:GrImageContextPriv_hdr",
"//src/gpu/ganesh:GrImageInfo_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:GrSemaphore_hdr",
"//src/gpu/ganesh:GrTextureProxyPriv_hdr",
"//src/gpu/ganesh:GrTextureProxy_hdr",
"//src/gpu/ganesh:GrTexture_hdr",
"//src/gpu/ganesh:GrYUVATextureProxies_hdr",
"//src/gpu/ganesh:SurfaceFillContext_hdr",
"//src/gpu/ganesh/effects:GrTextureEffect_hdr",
"//src/gpu/ganesh/gl:GrGLTexture_hdr",
],
)
generated_cc_atom(
name = "SkImage_Lazy_hdr",
hdrs = ["SkImage_Lazy.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
"//include/core:SkYUVAPixmaps_hdr",
"//include/private:SkIDChangeListener_hdr",
"//include/private:SkMutex_hdr",
],
)
generated_cc_atom(
name = "SkImage_Lazy_src",
srcs = ["SkImage_Lazy.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Lazy_hdr",
"//include/core:SkBitmap_hdr",
"//include/core:SkColorSpace_hdr",
"//include/core:SkData_hdr",
"//include/core:SkImageGenerator_hdr",
"//include/gpu:GrDirectContext_hdr",
"//include/gpu:GrRecordingContext_hdr",
"//src/core:SkBitmapCache_hdr",
"//src/core:SkCachedData_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkNextID_hdr",
"//src/core:SkResourceCache_hdr",
"//src/core:SkYUVPlanesCache_hdr",
"//src/gpu:ResourceKey_hdr",
"//src/gpu/ganesh:GrCaps_hdr",
"//src/gpu/ganesh:GrColorSpaceXform_hdr",
"//src/gpu/ganesh:GrGpuResourcePriv_hdr",
"//src/gpu/ganesh:GrPaint_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:GrSamplerState_hdr",
"//src/gpu/ganesh:GrYUVATextureProxies_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/gpu/ganesh:SurfaceFillContext_hdr",
"//src/gpu/ganesh/effects:GrYUVtoRGBEffect_hdr",
],
)
generated_cc_atom(
name = "SkImage_Raster_src",
srcs = ["SkImage_Raster.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
"//include/core:SkBitmap_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkColorSpace_hdr",
"//include/core:SkData_hdr",
"//include/core:SkPixelRef_hdr",
"//include/core:SkSurface_hdr",
"//include/gpu/graphite:GraphiteTypes_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//include/private:SkImageInfoPriv_hdr",
"//src/codec:SkColorTable_hdr",
"//src/core:SkCompressedDataUtils_hdr",
"//src/core:SkConvertPixels_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkTLazy_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/gpu/ganesh/effects:GrBicubicEffect_hdr",
"//src/gpu/ganesh/effects:GrTextureEffect_hdr",
"//src/gpu/graphite:Buffer_hdr",
"//src/gpu/graphite:Caps_hdr",
"//src/gpu/graphite:CommandBuffer_hdr",
"//src/gpu/graphite:RecorderPriv_hdr",
"//src/gpu/graphite:TextureUtils_hdr",
"//src/gpu/graphite:UploadTask_hdr",
"//src/shaders:SkBitmapProcShader_hdr",
],
)
generated_cc_atom(
name = "SkImage_src",
srcs = ["SkImage.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
":SkImage_Gpu_hdr",
":SkReadPixelsRec_hdr",
":SkRescaleAndReadPixels_hdr",
"//include/core:SkBitmap_hdr",
"//include/core:SkData_hdr",
"//include/core:SkImageEncoder_hdr",
"//include/core:SkImageFilter_hdr",
"//include/core:SkImageGenerator_hdr",
"//include/core:SkPicture_hdr",
"//include/core:SkSurface_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/gpu:GrContextThreadSafeProxy_hdr",
"//include/gpu:GrDirectContext_hdr",
"//src/core:SkBitmapCache_hdr",
"//src/core:SkCachedData_hdr",
"//src/core:SkColorSpacePriv_hdr",
"//src/core:SkImageFilterCache_hdr",
"//src/core:SkImageFilter_Base_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkMipmapBuilder_hdr",
"//src/core:SkMipmap_hdr",
"//src/core:SkNextID_hdr",
"//src/core:SkSamplingPriv_hdr",
"//src/core:SkSpecialImage_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:GrFragmentProcessor_hdr",
"//src/gpu/ganesh:GrImageContextPriv_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/gpu/ganesh/effects:GrBicubicEffect_hdr",
"//src/gpu/ganesh/effects:GrTextureEffect_hdr",
"//src/shaders:SkImageShader_hdr",
],
)
generated_cc_atom(
name = "SkReadPixelsRec_hdr",
hdrs = ["SkReadPixelsRec.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkImageInfo_hdr",
"//include/core:SkPixmap_hdr",
],
)
generated_cc_atom(
name = "SkRescaleAndReadPixels_hdr",
hdrs = ["SkRescaleAndReadPixels.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkBitmap_hdr",
"//include/core:SkImage_hdr",
"//include/core:SkSamplingOptions_hdr",
],
)
generated_cc_atom(
name = "SkRescaleAndReadPixels_src",
srcs = ["SkRescaleAndReadPixels.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkBitmap_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkColorSpace_hdr",
"//include/core:SkImageInfo_hdr",
"//include/core:SkPaint_hdr",
"//include/core:SkRect_hdr",
"//include/core:SkSurface_hdr",
],
)
generated_cc_atom(
name = "SkSurface_Base_hdr",
hdrs = ["SkSurface_Base.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkCanvas_hdr",
"//include/core:SkDeferredDisplayList_hdr",
"//include/core:SkSurface_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkSurfacePriv_hdr",
],
)
generated_cc_atom(
name = "SkSurface_Gpu_hdr",
hdrs = ["SkSurface_Gpu.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkSurface_Base_hdr",
"//include/private/gpu/ganesh:GrTypesPriv_hdr",
],
)
generated_cc_atom(
name = "SkSurface_Gpu_src",
srcs = ["SkSurface_Gpu.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
":SkImage_Gpu_hdr",
":SkSurface_Base_hdr",
":SkSurface_Gpu_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkDeferredDisplayList_hdr",
"//include/core:SkSurfaceCharacterization_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/gpu:GrDirectContext_hdr",
"//include/gpu:GrRecordingContext_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkSurfacePriv_hdr",
"//src/gpu/ganesh:BaseDevice_hdr",
"//src/gpu/ganesh:GrAHardwareBufferUtils_impl_hdr",
"//src/gpu/ganesh:GrCaps_hdr",
"//src/gpu/ganesh:GrContextThreadSafeProxyPriv_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:GrProxyProvider_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:GrRenderTarget_hdr",
"//src/gpu/ganesh:GrTexture_hdr",
],
)
generated_cc_atom(
name = "SkSurface_Raster_src",
srcs = ["SkSurface_Raster.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkSurface_Base_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkMallocPixelRef_hdr",
"//include/private:SkImageInfoPriv_hdr",
"//src/core:SkDevice_hdr",
"//src/core:SkImagePriv_hdr",
],
)
generated_cc_atom(
name = "SkSurface_src",
srcs = ["SkSurface.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":SkImage_Base_hdr",
":SkRescaleAndReadPixels_hdr",
":SkSurface_Base_hdr",
"//include/core:SkCanvas_hdr",
"//include/gpu:GrBackendSurface_hdr",
"//include/utils:SkNoDrawCanvas_hdr",
"//src/core:SkAutoPixmapStorage_hdr",
"//src/core:SkImagePriv_hdr",
"//src/core:SkPaintPriv_hdr",
],
)