Title: [223128] trunk/Source/WebKit
Revision
223128
Author
ape...@igalia.com
Date
2017-10-10 04:27:40 -0700 (Tue, 10 Oct 2017)

Log Message

[WPE][CMake] The “install” target should install all public API headers
https://bugs.webkit.org/show_bug.cgi?id=176475

Reviewed by Žan Doberšek.

Install the WPE port GLib-based API headers. The deprecated C API is still available,
but disabled by default behind the "EXPORT_DEPRECATED_WEBKIT2_C_API" CMake option.

* PlatformWPE.cmake: Always install "wpe-webkit.pc" and the GLib C API for WPE.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (223127 => 223128)


--- trunk/Source/WebKit/ChangeLog	2017-10-10 10:38:37 UTC (rev 223127)
+++ trunk/Source/WebKit/ChangeLog	2017-10-10 11:27:40 UTC (rev 223128)
@@ -1,3 +1,15 @@
+2017-10-10  Adrian Perez de Castro  <ape...@igalia.com>
+
+        [WPE][CMake] The “install” target should install all public API headers
+        https://bugs.webkit.org/show_bug.cgi?id=176475
+
+        Reviewed by Žan Doberšek.
+
+        Install the WPE port GLib-based API headers. The deprecated C API is still available,
+        but disabled by default behind the "EXPORT_DEPRECATED_WEBKIT2_C_API" CMake option.
+
+        * PlatformWPE.cmake: Always install "wpe-webkit.pc" and the GLib C API for WPE.
+
 2017-10-09  Jeremy Jones  <jere...@apple.com>
 
         Fix typo of virtual keyword in PageClientImplIOS.h

Modified: trunk/Source/WebKit/PlatformWPE.cmake (223127 => 223128)


--- trunk/Source/WebKit/PlatformWPE.cmake	2017-10-10 10:38:37 UTC (rev 223127)
+++ trunk/Source/WebKit/PlatformWPE.cmake	2017-10-10 11:27:40 UTC (rev 223128)
@@ -629,9 +629,14 @@
         DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-${WPE_API_VERSION}/WPE"
         COMPONENT "Development"
     )
+endif ()
 
-    install(FILES ${CMAKE_BINARY_DIR}/wpe-webkit.pc
-        DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
-        COMPONENT "Development"
-    )
-endif ()
+install(FILES "${CMAKE_BINARY_DIR}/wpe-webkit.pc"
+    DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
+    COMPONENT "Development"
+)
+
+install(FILES ${WPE_API_INSTALLED_HEADERS}
+    DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-${WPE_API_VERSION}/WPE/wpe"
+    COMPONENT "Development"
+)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to