Unreviewed. Fix GTK distcheck build
Remove platform specific file from cross-platform makefile.
* CMakeLists.txt: Add WebCoreTestSupport_PRIVATE_HEADERS and use it in WEBKIT_COPY_FILES.
* PlatformMac.cmake: Append testing/cocoa/WebArchiveDumpSupport.h to WebCoreTestSupport_PRIVATE_HEADERS.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@286161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/CMakeLists.txt b/Source/WebCore/CMakeLists.txt
index 67d67bc..80d8d4c 100644
--- a/Source/WebCore/CMakeLists.txt
+++ b/Source/WebCore/CMakeLists.txt
@@ -1700,6 +1700,7 @@
set(WebCoreTestSupport_FRAMEWORKS ${WebCore_FRAMEWORKS})
set(WebCoreTestSupport_DEPENDENCIES WebCoreTestSupportBindings)
+set(WebCoreTestSupport_PRIVATE_HEADERS testing/js/WebCoreTestSupport.h)
if (ENABLE_LEGACY_ENCRYPTED_MEDIA)
list(APPEND WebCore_SOURCES
@@ -2424,7 +2425,7 @@
WEBKIT_COPY_FILES(Copy_WebCoreTestSupportPrivateHeaders
DESTINATION ${WebCore_PRIVATE_FRAMEWORK_HEADERS_DIR}/WebCoreTestSupport
- FILES testing/js/WebCoreTestSupport.h testing/cocoa/WebArchiveDumpSupport.h
+ FILES ${WebCoreTestSupport_PRIVATE_HEADERS}
FLATTENED
)
list(APPEND WebCoreTestSupport_INTERFACE_DEPENDENCIES Copy_WebCoreTestSupportPrivateHeaders)
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 7c62fcd..2b2ff86 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,12 @@
+2021-11-25 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ Unreviewed. Fix GTK distcheck build
+
+ Remove platform specific file from cross-platform makefile.
+
+ * CMakeLists.txt: Add WebCoreTestSupport_PRIVATE_HEADERS and use it in WEBKIT_COPY_FILES.
+ * PlatformMac.cmake: Append testing/cocoa/WebArchiveDumpSupport.h to WebCoreTestSupport_PRIVATE_HEADERS.
+
2021-11-25 Kimmo Kinnunen <kkinnunen@apple.com>
ANGLE Metal: The memory backing IOSurfaces of former client buffer pbuffers is leaked
diff --git a/Source/WebCore/PlatformMac.cmake b/Source/WebCore/PlatformMac.cmake
index 1368803..0a262c5 100644
--- a/Source/WebCore/PlatformMac.cmake
+++ b/Source/WebCore/PlatformMac.cmake
@@ -914,6 +914,7 @@
VERBATIM)
list(APPEND WebCoreTestSupport_LIBRARIES PRIVATE WebCore)
+list(APPEND WebCoreTestSupport_PRIVATE_HEADERS testing/cocoa/WebArchiveDumpSupport.h)
list(APPEND WebCoreTestSupport_SOURCES
testing/Internals.mm
testing/MockApplePaySetupFeature.cpp