Title: [269045] trunk
Revision
269045
Author
[email protected]
Date
2020-10-27 09:58:03 -0700 (Tue, 27 Oct 2020)

Log Message

Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines
https://bugs.webkit.org/show_bug.cgi?id=218237
<rdar://problem/69968787>

Reviewed by Antti Koivisto.

.:

* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.

Source/WTF:

* wtf/PlatformEnable.h:
* wtf/PlatformEnableCocoa.h:
Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.

Modified Paths

Diff

Modified: trunk/ChangeLog (269044 => 269045)


--- trunk/ChangeLog	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/ChangeLog	2020-10-27 16:58:03 UTC (rev 269045)
@@ -1,3 +1,15 @@
+2020-10-27  Brian Burg  <[email protected]>
+
+        Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines
+        https://bugs.webkit.org/show_bug.cgi?id=218237
+        <rdar://problem/69968787>
+
+        Reviewed by Antti Koivisto.
+
+        * Source/cmake/OptionsMac.cmake:
+        * Source/cmake/WebKitFeatures.cmake:
+        Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.
+
 2020-10-26  Keith Rollin  <[email protected]>
 
         Move some initialization code from top-level CMakeLists.txt to WebKitCommon.cmake

Modified: trunk/Source/WTF/ChangeLog (269044 => 269045)


--- trunk/Source/WTF/ChangeLog	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/Source/WTF/ChangeLog	2020-10-27 16:58:03 UTC (rev 269045)
@@ -1,3 +1,15 @@
+2020-10-27  Brian Burg  <[email protected]>
+
+        Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines
+        https://bugs.webkit.org/show_bug.cgi?id=218237
+        <rdar://problem/69968787>
+
+        Reviewed by Antti Koivisto.
+
+        * wtf/PlatformEnable.h:
+        * wtf/PlatformEnableCocoa.h:
+        Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.
+
 2020-10-15  Tadeu Zagallo  <[email protected]>
 
         Sign MacroAssembler::jumpsToLink

Modified: trunk/Source/WTF/wtf/PlatformEnable.h (269044 => 269045)


--- trunk/Source/WTF/wtf/PlatformEnable.h	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/Source/WTF/wtf/PlatformEnable.h	2020-10-27 16:58:03 UTC (rev 269045)
@@ -328,6 +328,10 @@
 #define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 0
 #endif
 
+#if !defined(ENABLE_INSPECTOR_EXTENSIONS)
+#define ENABLE_INSPECTOR_EXTENSIONS 0
+#endif
+
 #if !defined(ENABLE_INSPECTOR_TELEMETRY)
 #define ENABLE_INSPECTOR_TELEMETRY 0
 #endif

Modified: trunk/Source/WTF/wtf/PlatformEnableCocoa.h (269044 => 269045)


--- trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2020-10-27 16:58:03 UTC (rev 269045)
@@ -272,6 +272,10 @@
 #define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1
 #endif
 
+#if !defined(ENABLE_INSPECTOR_EXTENSIONS) && PLATFORM(MAC)
+#define ENABLE_INSPECTOR_EXTENSIONS 1
+#endif
+
 #if !defined(ENABLE_INSPECTOR_TELEMETRY)
 #define ENABLE_INSPECTOR_TELEMETRY 1
 #endif

Modified: trunk/Source/cmake/OptionsMac.cmake (269044 => 269045)


--- trunk/Source/cmake/OptionsMac.cmake	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/Source/cmake/OptionsMac.cmake	2020-10-27 16:58:03 UTC (rev 269045)
@@ -50,6 +50,7 @@
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE_IN_WORKERS PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INPUT_TYPE_COLOR PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS PRIVATE ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INSPECTOR_EXTENSIONS PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INSPECTOR_TELEMETRY PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INTERSECTION_OBSERVER PRIVATE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LAYOUT_FORMATTING_CONTEXT PRIVATE ON)

Modified: trunk/Source/cmake/WebKitFeatures.cmake (269044 => 269045)


--- trunk/Source/cmake/WebKitFeatures.cmake	2020-10-27 16:51:13 UTC (rev 269044)
+++ trunk/Source/cmake/WebKitFeatures.cmake	2020-10-27 16:58:03 UTC (rev 269045)
@@ -151,6 +151,7 @@
     WEBKIT_OPTION_DEFINE(ENABLE_INPUT_TYPE_TIME "Toggle Input Type Time support" PRIVATE OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_INPUT_TYPE_WEEK "Toggle Input Type Week support" PRIVATE OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS "Toggle inspector alternate dispatchers support" PRIVATE OFF)
+    WEBKIT_OPTION_DEFINE(ENABLE_INSPECTOR_EXTENSIONS "Toggle inspector web extensions support" PRIVATE OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_INSPECTOR_TELEMETRY "Toggle inspector telemetry support" PRIVATE OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_INTERSECTION_OBSERVER "Enable Intersection Observer support" PRIVATE ON)
     WEBKIT_OPTION_DEFINE(ENABLE_IOS_GESTURE_EVENTS "Toggle iOS gesture events support" PRIVATE OFF)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to