[Web GPU] Fix Web GPU experimental feature on iOS
authorjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Apr 2019 22:11:01 +0000 (22:11 +0000)
committerjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Apr 2019 22:11:01 +0000 (22:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196632

Reviewed by Myles C. Maxfield.

Source/JavaScriptCore:

Properly make Web GPU available on iOS 11+.

* Configurations/FeatureDefines.xcconfig:
* Configurations/WebKitTargetConditionals.xcconfig:

Source/ThirdParty/libwebrtc:

Add conditionals for iOS 11.

* Configurations/WebKitTargetConditionals.xcconfig:

Source/WebCore:

Add feature conditionals for iOS 11.
Properly make Web GPU available on iOS 11+.

* Configurations/FeatureDefines.xcconfig:
* Configurations/WebKitTargetConditionals.xcconfig:

Source/WebCore/PAL:

Add feature conditionals for iOS 11.
Properly make Web GPU available on iOS 11+.

* Configurations/FeatureDefines.xcconfig:
* Configurations/WebKitTargetConditionals.xcconfig:

Source/WebKit:

Add feature conditionals for iOS 11.
Properly make Web GPU available on iOS 11+.

* Configurations/FeatureDefines.xcconfig:
* Configurations/WebKitTargetConditionals.xcconfig:

Source/WebKitLegacy/mac:

Add feature conditionals for iOS 11.
Properly make Web GPU available on iOS 11+.

* Configurations/FeatureDefines.xcconfig:
* Configurations/WebKitTargetConditionals.xcconfig:

Tools:

Properly make Web GPU available on iOS 11+.

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

19 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/JavaScriptCore/Configurations/WebKitTargetConditionals.xcconfig
Source/ThirdParty/libwebrtc/ChangeLog
Source/ThirdParty/libwebrtc/Configurations/WebKitTargetConditionals.xcconfig
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/Configurations/WebKitTargetConditionals.xcconfig
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig
Source/WebCore/PAL/Configurations/WebKitTargetConditionals.xcconfig
Source/WebKit/ChangeLog
Source/WebKit/Configurations/FeatureDefines.xcconfig
Source/WebKit/Configurations/WebKitTargetConditionals.xcconfig
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig
Source/WebKitLegacy/mac/Configurations/WebKitTargetConditionals.xcconfig
Tools/ChangeLog
Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig

index 512e503..e8e13ae 100644 (file)
@@ -1,3 +1,15 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Properly make Web GPU available on iOS 11+.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-08  Ross Kirsling  <ross.kirsling@sony.com>
 
         -f[no-]var-tracking-assignments is GCC-only
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index 0ab89a2..4389505 100644 (file)
@@ -1,3 +1,14 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Add conditionals for iOS 11.
+
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-04  Youenn Fablet  <youenn@apple.com>
 
         Log the error if VideoProcessing library cannot be dlopen
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index a84a0a1..30f6a3b 100644 (file)
@@ -1,3 +1,16 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Add feature conditionals for iOS 11.
+        Properly make Web GPU available on iOS 11+.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-08  Timothy Hatcher  <timothy@apple.com>
 
         Unreviewed build fix for iOSMac after r243893.
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index f4d3961..11be9c6 100644 (file)
@@ -1,3 +1,16 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Add feature conditionals for iOS 11.
+        Properly make Web GPU available on iOS 11+.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-03  Myles C. Maxfield  <mmaxfield@apple.com>
 
         -apple-trailing-word is needed for browser detection
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index 95df637..f042d3d 100644 (file)
@@ -1,3 +1,16 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Add feature conditionals for iOS 11.
+        Properly make Web GPU available on iOS 11+.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-08  Alex Christensen  <achristensen@webkit.org>
 
         Fix selector name after r243834
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index 118637b..ff52e70 100644 (file)
@@ -1,3 +1,16 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Add feature conditionals for iOS 11.
+        Properly make Web GPU available on iOS 11+.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Configurations/WebKitTargetConditionals.xcconfig:
+
 2019-04-05  Alex Christensen  <achristensen@webkit.org>
 
         REGRESSION(AppleWebKit/605.1.15): WebDownloadDelegate delegate methods called on non-main thread
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));
index adfb975..f0e5315 100644 (file)
@@ -86,6 +86,8 @@ WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
 
 // iOS
 
+WK_IOS_BEFORE_11 = $(WK_IOS_BEFORE_11_$(IPHONEOS_DEPLOYMENT_TARGET:base));
+
 WK_IOS_BEFORE_12 = $(WK_IOS_BEFORE_12_$(IPHONEOS_DEPLOYMENT_TARGET:base));
 WK_IOS_BEFORE_12_11 = YES;
 
@@ -98,6 +100,10 @@ WK_IOS_BEFORE_14_11 = YES;
 WK_IOS_BEFORE_14_12 = YES;
 WK_IOS_BEFORE_14_13 = YES;
 
+WK_IOS_11 = $(WK_IOS_11_$(WK_IOS_BEFORE_11));
+WK_IOS_11_ = _IOS_SINCE_11;
+WK_IOS_11_YES = _IOS_BEFORE_11;
+
 WK_IOS_12 = $(WK_IOS_12_$(WK_IOS_BEFORE_12));
 WK_IOS_12_ = _IOS_SINCE_12;
 WK_IOS_12_YES = _IOS_BEFORE_12;
index e2ab138..8b49be9 100644 (file)
@@ -1,3 +1,14 @@
+2019-04-08  Justin Fan  <justin_fan@apple.com>
+
+        [Web GPU] Fix Web GPU experimental feature on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=196632
+
+        Reviewed by Myles C. Maxfield.
+
+        Properly make Web GPU available on iOS 11+.
+
+        * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
+
 2019-04-08  Aakash Jain  <aakash_jain@apple.com>
 
         [ews-build] Do not upload archive when Compile Fails
index 1b0ab14..0ba678f 100644 (file)
@@ -384,8 +384,8 @@ ENABLE_WEBGL = ENABLE_WEBGL;
 ENABLE_WEBGL2 = ENABLE_WEBGL2;
 
 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
-ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_1100));
-ENABLE_WEBGPU_IOS_SINCE_1100 = ENABLE_WEBGPU;
+ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
+ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1013));