IWYU for tests A-D.

Change-Id: I0cb383eb6ea5a302627f93b90182a7286c2c0995
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/212280
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
This commit is contained in:
Ben Wagner 2019-05-06 17:17:19 -04:00 committed by Skia Commit-Bot
parent 0362dc268a
commit 9707a7e51c
34 changed files with 124 additions and 75 deletions

View File

@ -5,12 +5,23 @@
* found in the LICENSE file.
*/
#include "tests/Test.h"
#include "include/core/SkBlendMode.h"
#include "include/gpu/GrBlend.h"
#include "include/gpu/GrContext.h"
#include "include/private/GrTypesPriv.h"
#include "include/private/SkColorData.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrPaint.h"
#include "src/gpu/GrProcessorAnalysis.h"
#include "src/gpu/GrProcessorSet.h"
#include "src/gpu/GrUserStencilSettings.h"
#include "src/gpu/GrXferProcessor.h"
#include "src/gpu/effects/GrCustomXfermode.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
#include <utility>
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(AdvancedBlendTest, reporter, ctxInfo) {
static constexpr auto opaque = GrProcessorAnalysisColor::Opaque::kYes;

View File

@ -9,6 +9,7 @@
#include "include/codec/SkCodec.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkData.h"
#include "include/core/SkEncodedImageFormat.h"
#include "include/core/SkImageGenerator.h"
@ -17,13 +18,16 @@
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/third_party/skcms/skcms.h"
#include "src/codec/SkCodecImageGenerator.h"
#include "src/core/SkPixmapPriv.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include <algorithm>
#include <string.h>
#include <initializer_list>
#include <memory>
#include <utility>
static SkISize times(const SkISize& size, float factor) {
return { (int) (size.width() * factor), (int) (size.height() * factor) };

View File

@ -24,8 +24,9 @@
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include <algorithm>
#include <initializer_list>
#include <memory>
#include <utility>
#include <vector>
DEF_TEST(AnimatedImage_scaled, r) {

View File

@ -10,6 +10,7 @@
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkDocument.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
@ -89,7 +90,6 @@ DEF_TEST(Annotation_PdfDefineNamedDestination, reporter) {
#if defined(SK_XML)
#include "include/svg/SkSVGCanvas.h"
#include "src/xml/SkXMLWriter.h"
DEF_TEST(Annotation_SvgLink, reporter) {
SkDynamicMemoryWStream outStream;

View File

@ -5,8 +5,6 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkCanvas.h"
@ -18,8 +16,9 @@
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrTypesPriv.h"
#include "include/private/SkTemplates.h"
#include "src/core/SkUtils.h"
#include "src/gpu/GrCaps.h"
@ -29,6 +28,7 @@
#include "tools/gpu/GrContextFactory.h"
#include <math.h>
#include <initializer_list>
/** convert 0..1 linear value to 0..1 srgb */
static float linear_to_srgb(float linear) {

View File

@ -12,11 +12,15 @@
#include "include/core/SkPixelRef.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/SkFloatingPoint.h"
#include "include/utils/SkRandom.h"
#include "tests/Test.h"
#include "tools/ToolUtils.h"
#include <initializer_list>
static void test_peekpixels(skiatest::Reporter* reporter) {
const SkImageInfo info = SkImageInfo::MakeN32Premul(10, 10);

View File

@ -17,16 +17,17 @@
#include "include/core/SkRefCnt.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "tests/Test.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrTexture.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrTypesPriv.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrResourceProvider.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
#include <initializer_list>
#include <vector>
struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; };

View File

@ -20,6 +20,7 @@
#include "include/core/SkPixmap.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
@ -35,17 +36,18 @@
#include "src/core/SkMask.h"
#include "src/core/SkMaskFilterBase.h"
#include "src/core/SkMathPriv.h"
#include "src/core/SkRectPriv.h"
#include "src/effects/SkEmbossMaskFilter.h"
#include "tests/Test.h"
#include "tools/ToolUtils.h"
#include "tools/gpu/GrContextFactory.h"
#include <math.h>
#include <string.h>
#include <initializer_list>
#include <utility>
class GrContext;
#define WRITE_CSV 0
///////////////////////////////////////////////////////////////////////////////

View File

@ -13,6 +13,7 @@
#include "include/c/sk_types.h"
#include "tests/Test.h"
#include <stddef.h>
#include <stdint.h>
static void shader_test(skiatest::Reporter* reporter) {

View File

@ -6,6 +6,7 @@
*/
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPaint.h"
@ -24,7 +25,6 @@
#include "tools/flags/CommandLineFlags.h"
#include <cstring>
#include <memory>
class SkCanvasState;

View File

@ -5,8 +5,6 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
@ -16,15 +14,20 @@
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrContextOptions.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrColor.h"
#include "include/private/GrTypesPriv.h"
#include "include/private/SkColorData.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrRenderTargetContext.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
#include <cstdint>
#include <cstring>
#include <memory>

View File

@ -5,8 +5,6 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkRect.h"
#include "src/core/SkClipOpPriv.h"

View File

@ -171,8 +171,6 @@ DEF_TEST(ClipCubic, reporter) {
test_giantClip();
}
#include "include/core/SkSurface.h"
DEF_TEST(test_fuzz_crbug_698714, reporter) {
auto surface(SkSurface::MakeRasterN32Premul(500, 500));
SkCanvas* canvas = surface->getCanvas();

View File

@ -20,31 +20,33 @@
#include "include/core/SkString.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "include/private/SkTemplates.h"
#include "include/utils/SkRandom.h"
#include "src/core/SkClipOpPriv.h"
#include "src/core/SkClipStack.h"
#include "tests/Test.h"
#include "include/gpu/GrConfig.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrTexture.h"
#include "include/private/GrResourceKey.h"
#include "include/private/GrTextureProxy.h"
#include "src/gpu/GrCaps.h"
#include "include/private/SkTemplates.h"
#include "include/utils/SkRandom.h"
#include "src/core/SkClipOpPriv.h"
#include "src/core/SkClipStack.h"
#include "src/core/SkTLList.h"
#include "src/gpu/GrClip.h"
#include "src/gpu/GrClipStackClip.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrReducedClip.h"
#include "src/gpu/GrResourceCache.h"
#include "src/gpu/GrSurfaceProxyPriv.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
typedef GrReducedClip::ElementList ElementList;
typedef GrReducedClip::InitialState InitialState;
#include <cstring>
#include <initializer_list>
#include <new>
class GrCaps;
typedef GrReducedClip::ElementList ElementList;
typedef GrReducedClip::InitialState InitialState;
static void test_assign_and_comparison(skiatest::Reporter* reporter) {
SkClipStack s;
bool doAA = false;

View File

@ -157,8 +157,6 @@ DEF_TEST(Clipper, reporter) {
test_hairclipping(reporter);
}
#include "src/core/SkLineClipper.h"
DEF_TEST(LineClipper_skbug_7981, r) {
SkPoint src[] = {{ -5.77698802E+17f, -1.81758057E+23f}, {38127, 2}};
SkPoint dst[2];

View File

@ -10,7 +10,9 @@
#include "include/codec/SkCodecAnimation.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
@ -22,7 +24,9 @@
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include <stdio.h>
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>
#include <vector>

View File

@ -17,6 +17,7 @@
#include "tools/Resources.h"
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>

View File

@ -11,6 +11,7 @@
#include "include/core/SkImageInfo.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "src/core/SkMakeUnique.h"
#include "tests/CodecPriv.h"
@ -19,6 +20,7 @@
#include "tools/Resources.h"
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>
#include <vector>

View File

@ -14,6 +14,7 @@
#include "include/core/SkData.h"
#include "include/core/SkEncodedImageFormat.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageEncoder.h"
#include "include/core/SkImageGenerator.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPixmap.h"
@ -30,6 +31,7 @@
#include "include/encode/SkWebpEncoder.h"
#include "include/private/SkMalloc.h"
#include "include/private/SkTemplates.h"
#include "include/third_party/skcms/skcms.h"
#include "include/utils/SkFrontBufferedStream.h"
#include "include/utils/SkRandom.h"
#include "src/codec/SkCodecImageGenerator.h"
@ -42,10 +44,12 @@
#include "tests/Test.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "png.h"
#include <setjmp.h>
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>
#include <vector>

View File

@ -11,7 +11,6 @@
#include "include/core/SkColorFilter.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "tests/Test.h"
#include <cmath>

View File

@ -19,6 +19,7 @@
#include "png.h"
#include <string.h>
#include <memory>
#include <utility>

View File

@ -6,7 +6,6 @@
*/
#include "include/core/SkColor.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkTypes.h"
#include "include/core/SkUnPreMultiply.h"
#include "include/private/SkColorData.h"
@ -14,11 +13,7 @@
#include "src/core/SkMathPriv.h"
#include "tests/Test.h"
#define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
#define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
#define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
static inline void test_premul(skiatest::Reporter* reporter) {
DEF_TEST(ColorPremul, reporter) {
for (int a = 0; a <= 255; a++) {
for (int x = 0; x <= 255; x++) {
SkColor c0 = SkColorSetARGB(a, x, x, x);
@ -44,8 +39,7 @@ static inline void test_premul(skiatest::Reporter* reporter) {
SkAlpha255To256 implemented as (alpha + 1) is faster than
(alpha + (alpha >> 7)), but inaccurate, and Skia intends to phase it out.
*/
/*
static void test_interp(skiatest::Reporter* reporter) {
DEF_TEST(ColorInterp, reporter) {
SkRandom r;
U8CPU a0 = 0;
@ -56,13 +50,14 @@ static void test_interp(skiatest::Reporter* reporter) {
SkPMColor src = SkPreMultiplyColor(colorSrc);
SkPMColor dst = SkPreMultiplyColor(colorDst);
REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst);
REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src);
if (false) {
REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst);
REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src);
}
}
}
*/
static inline void test_fast_interp(skiatest::Reporter* reporter) {
DEF_TEST(ColorFastIterp, reporter) {
SkRandom r;
U8CPU a0 = 0;
@ -77,10 +72,3 @@ static inline void test_fast_interp(skiatest::Reporter* reporter) {
REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a255) == src);
}
}
DEF_TEST(Color, reporter) {
test_premul(reporter);
//test_interp(reporter);
test_fast_interp(reporter);
//test_565blend();
}

View File

@ -5,18 +5,19 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrSurfaceProxy.h"
#include "include/private/GrTextureProxy.h"
#include "include/private/GrTypesPriv.h"
#include "include/private/SkTemplates.h"
#include "src/core/SkUtils.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrSurfaceContext.h"
#include "src/gpu/SkGr.h"
@ -24,6 +25,7 @@
#include "tools/gpu/GrContextFactory.h"
#include "tools/gpu/ProxyUtils.h"
#include <initializer_list>
#include <utility>
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, reporter, ctxInfo) {

View File

@ -6,7 +6,10 @@
*/
#include "include/core/SkCubicMap.h"
#include "include/utils/SkRandom.h"
#include "include/core/SkPoint.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/SkNx.h"
#include "src/core/SkGeometry.h"
#include "src/pathops/SkPathOpsCubic.h"
#include "tests/Test.h"

View File

@ -22,7 +22,6 @@
#include <cstdio>
#include <cstring>
#include <memory>
#include <utility>
static void test_is_equal(skiatest::Reporter* reporter,
const SkDataTable* a, const SkDataTable* b) {

View File

@ -5,8 +5,6 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
@ -16,10 +14,15 @@
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStrokeRec.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrContextOptions.h"
#include "include/private/GrColor.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrTypesPriv.h"
#include "include/private/SkColorData.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrClip.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrFragmentProcessor.h"

View File

@ -5,11 +5,9 @@
* found in the LICENSE file.
*/
#include <initializer_list>
#include <memory>
#include <utility>
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkDeferredDisplayListRecorder.h"
#include "include/core/SkImage.h"
@ -21,8 +19,10 @@
#include "include/core/SkSurface.h"
#include "include/core/SkSurfaceCharacterization.h"
#include "include/core/SkSurfaceProps.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrContextThreadSafeProxy.h"
#include "include/gpu/GrTypes.h"
#include "include/gpu/gl/GrGLTypes.h"
#include "include/private/GrRenderTargetProxy.h"
@ -34,17 +34,16 @@
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrGpu.h"
#include "src/gpu/GrRenderTargetContext.h"
#include "src/gpu/GrTextureProxyPriv.h"
#include "src/gpu/SkGpuDevice.h"
#include "src/gpu/gl/GrGLCaps.h"
#include "src/gpu/gl/GrGLDefines.h"
#include "src/image/SkImage_Gpu.h"
#include "src/image/SkImage_GpuBase.h"
#include "src/image/SkSurface_Gpu.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
#ifdef SK_VULKAN
#include <vulkan/vulkan_core.h>
#endif
#include <initializer_list>
#include <memory>
#include <utility>
class SurfaceParameters {
public:

View File

@ -5,9 +5,13 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "src/core/SkDescriptor.h"
#include "src/core/SkScalerContext.h"
#include "tests/Test.h"
#include <memory>
class SkDescriptorTestHelper {
public:
static void SetLength(SkDescriptor* desc, size_t length) { desc->fLength = length; }

View File

@ -5,15 +5,17 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/gpu/GrSamplerState.h"
#include "include/gpu/GrTypes.h"
#include "include/private/GrTextureProxy.h"
#include "include/private/GrTypesPriv.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrProxyProvider.h"
#include "src/gpu/GrTextureProducer.h"

View File

@ -15,6 +15,7 @@
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkSize.h"
#include "include/core/SkTileMode.h"
#include "include/core/SkTypes.h"
#include "include/utils/SkRandom.h"
#include "src/core/SkMatrixUtils.h"

View File

@ -5,20 +5,23 @@
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkFont.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContext.h"
#include "include/private/GrTextureProxy.h"
#include "include/private/GrTypesPriv.h"
#include "src/core/SkIPoint16.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrDeferredUpload.h"
#include "src/gpu/GrDrawOpAtlas.h"
@ -27,16 +30,16 @@
#include "src/gpu/GrOnFlushResourceProvider.h"
#include "src/gpu/GrOpFlushState.h"
#include "src/gpu/GrRenderTargetContext.h"
#include "src/gpu/GrSurfaceProxyPriv.h"
#include "src/gpu/GrXferProcessor.h"
#include "src/gpu/ops/GrDrawOp.h"
#include "src/gpu/ops/GrOp.h"
#include "src/gpu/text/GrAtlasManager.h"
#include "src/gpu/text/GrTextContext.h"
#include "src/gpu/text/GrTextTarget.h"
#include "tests/Test.h"
#include "tools/gpu/GrContextFactory.h"
#include <memory>
#include <utility>
class GrResourceProvider;

View File

@ -17,6 +17,7 @@
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkDashPathEffect.h"
#include "tests/Test.h"

View File

@ -1,5 +1,11 @@
[
{ include: ["\"pngconf.h\"", "private", "\"png.h\"", "public"] },
{ include: ["\"pnglibconf.h\"", "private", "\"png.h\"", "public"] },
{ include: ["\"scripts/pnglibconf.h.prebuilt\"", "private", "\"png.h\"", "public"] }
{ include: ["\"scripts/pnglibconf.h.prebuilt\"", "private", "\"png.h\"", "public"] },
{ include: ["\"../externals/libpng/scripts/pnglibconf.h.prebuilt\"", "private", "\"png.h\"", "public"] },
{ include: ["<pngconf.h>", "private", "\"png.h\"", "public"] },
{ include: ["<pnglibconf.h>", "private", "\"png.h\"", "public"] },
{ include: ["<scripts/pnglibconf.h.prebuilt>", "private", "\"png.h\"", "public"] },
{ include: ["<../externals/libpng/scripts/pnglibconf.h.prebuilt>", "private", "\"png.h\"", "public"] },
]

View File

@ -5,5 +5,9 @@
* found in the LICENSE file.
*/
// IWYU pragma: private, include "png.h"
// IWYU pragma: begin_exports
#include "../externals/libpng/scripts/pnglibconf.h.prebuilt"
// IWYU pragma: end_exports
#undef PNG_READ_OPT_PLTE_SUPPORTED