Title: [292137] trunk
- Revision
- 292137
- Author
- [email protected]
- Date
- 2022-03-30 19:36:25 -0700 (Wed, 30 Mar 2022)
Log Message
Turn DEVELOPER_MODE ON for all non-Apple ports in build-webkit
https://bugs.webkit.org/show_bug.cgi?id=238556
Reviewed by Alex Christensen.
.:
Use DEVELOPER_MODE to determine what the defaults of ENABLE_API_TESTS and
ENABLE_MINIBROWSER should be. Make ENABLE_WEBKIT the default of ENABLE_MINIBROWSER.
* Source/cmake/OptionsPlayStation.cmake:
Tools:
Add DEVELOPER_MODE=ON to the CMake argument list for all non-Apple ports in build-webkit.
Use ENABLE_MINIBROWSER to determine whether to build the executable on PlayStation.
* PlatformPlayStation.cmake:
* Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):
Modified Paths
Diff
Modified: trunk/ChangeLog (292136 => 292137)
--- trunk/ChangeLog 2022-03-31 02:10:11 UTC (rev 292136)
+++ trunk/ChangeLog 2022-03-31 02:36:25 UTC (rev 292137)
@@ -1,3 +1,15 @@
+2022-03-30 Don Olmstead <[email protected]>
+
+ Turn DEVELOPER_MODE ON for all non-Apple ports in build-webkit
+ https://bugs.webkit.org/show_bug.cgi?id=238556
+
+ Reviewed by Alex Christensen.
+
+ Use DEVELOPER_MODE to determine what the defaults of ENABLE_API_TESTS and
+ ENABLE_MINIBROWSER should be. Make ENABLE_WEBKIT the default of ENABLE_MINIBROWSER.
+
+ * Source/cmake/OptionsPlayStation.cmake:
+
2022-03-29 Ryosuke Niwa <[email protected]>
Add descriptions on how to start WPT and http test servers to Introduction.md
Modified: trunk/Source/cmake/OptionsPlayStation.cmake (292136 => 292137)
--- trunk/Source/cmake/OptionsPlayStation.cmake 2022-03-31 02:10:11 UTC (rev 292136)
+++ trunk/Source/cmake/OptionsPlayStation.cmake 2022-03-31 02:36:25 UTC (rev 292137)
@@ -16,12 +16,18 @@
# bug-224462
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wno-dll-attribute-on-redeclaration)
-set(ENABLE_API_TESTS ON CACHE BOOL "Build API Tests")
set(ENABLE_WEBKIT_LEGACY OFF)
set(ENABLE_WEBINSPECTORUI OFF)
WEBKIT_OPTION_BEGIN()
+# Developer mode options
+SET_AND_EXPOSE_TO_BUILD(ENABLE_DEVELOPER_MODE ${DEVELOPER_MODE})
+if (ENABLE_DEVELOPER_MODE)
+ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_API_TESTS PRIVATE ON)
+ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MINIBROWSER PUBLIC ${ENABLE_WEBKIT})
+endif ()
+
# PlayStation Specific Options
WEBKIT_OPTION_DEFINE(ENABLE_STATIC_JSC "Control whether to build a non-shared JSC" PUBLIC ON)
Modified: trunk/Tools/ChangeLog (292136 => 292137)
--- trunk/Tools/ChangeLog 2022-03-31 02:10:11 UTC (rev 292136)
+++ trunk/Tools/ChangeLog 2022-03-31 02:36:25 UTC (rev 292137)
@@ -1,3 +1,17 @@
+2022-03-30 Don Olmstead <[email protected]>
+
+ Turn DEVELOPER_MODE ON for all non-Apple ports in build-webkit
+ https://bugs.webkit.org/show_bug.cgi?id=238556
+
+ Reviewed by Alex Christensen.
+
+ Add DEVELOPER_MODE=ON to the CMake argument list for all non-Apple ports in build-webkit.
+ Use ENABLE_MINIBROWSER to determine whether to build the executable on PlayStation.
+
+ * PlatformPlayStation.cmake:
+ * Scripts/webkitdirs.pm:
+ (generateBuildSystemFromCMakeProject):
+
2022-03-30 Kate Cheney <[email protected]>
Migrate manifest version content security policy filtering for extensions into WebKit
Modified: trunk/Tools/PlatformPlayStation.cmake (292136 => 292137)
--- trunk/Tools/PlatformPlayStation.cmake 2022-03-31 02:10:11 UTC (rev 292136)
+++ trunk/Tools/PlatformPlayStation.cmake 2022-03-31 02:36:25 UTC (rev 292137)
@@ -1,3 +1,3 @@
-if (ENABLE_WEBKIT)
+if (ENABLE_MINIBROWSER)
add_subdirectory(MiniBrowser/playstation)
endif ()
Modified: trunk/Tools/Scripts/webkitdirs.pm (292136 => 292137)
--- trunk/Tools/Scripts/webkitdirs.pm 2022-03-31 02:10:11 UTC (rev 292136)
+++ trunk/Tools/Scripts/webkitdirs.pm 2022-03-31 02:36:25 UTC (rev 292137)
@@ -2562,7 +2562,7 @@
push @args, '-DSHOW_BINDINGS_GENERATION_PROGRESS=1' unless ($willUseNinja && -t STDOUT);
# Some ports have production mode, but build-webkit should always use developer mode.
- push @args, "-DDEVELOPER_MODE=ON" if isGtk() || isJSCOnly() || isWPE() || isWin64();
+ push @args, "-DDEVELOPER_MODE=ON" unless isAppleWebKit();
if (architecture() eq "x86_64" && shouldBuild32Bit()) {
# CMAKE_LIBRARY_ARCHITECTURE is needed to get the right .pc
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes