Title: [243188] trunk/Tools
Revision
243188
Author
[email protected]
Date
2019-03-19 20:56:16 -0700 (Tue, 19 Mar 2019)

Log Message

Add support for more platforms to generate-xcfilelists
https://bugs.webkit.org/show_bug.cgi?id=195977

Reviewed by Alexey Proskuryakov.

generate-xcfilelists incorrectly complains when involved with building
WebKit for iphonesimulator:

    $ make debug SDKROOT=iphonesimulator.internal -C Internal/
    …
    ### (die get_canonical_platform_name main main) Unrecognized platform name: iphonesimulator

Address this by teaching generate-xcfilelists about more platforms.

* Scripts/generate-xcfilelists:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (243187 => 243188)


--- trunk/Tools/ChangeLog	2019-03-20 02:52:33 UTC (rev 243187)
+++ trunk/Tools/ChangeLog	2019-03-20 03:56:16 UTC (rev 243188)
@@ -1,3 +1,21 @@
+2019-03-19  Keith Rollin  <[email protected]>
+
+        Add support for more platforms to generate-xcfilelists
+        https://bugs.webkit.org/show_bug.cgi?id=195977
+
+        Reviewed by Alexey Proskuryakov.
+
+        generate-xcfilelists incorrectly complains when involved with building
+        WebKit for iphonesimulator:
+
+            $ make debug SDKROOT=iphonesimulator.internal -C Internal/
+            …
+            ### (die get_canonical_platform_name main main) Unrecognized platform name: iphonesimulator
+
+        Address this by teaching generate-xcfilelists about more platforms.
+
+        * Scripts/generate-xcfilelists:
+
 2019-03-19  John Wilander  <[email protected]>
 
         Resource Load Statistics (experimental): Clear non-cookie website data for sites that have been navigated to, with link decoration, by a prevalent resource

Modified: trunk/Tools/Scripts/generate-xcfilelists (243187 => 243188)


--- trunk/Tools/Scripts/generate-xcfilelists	2019-03-20 02:52:33 UTC (rev 243187)
+++ trunk/Tools/Scripts/generate-xcfilelists	2019-03-20 03:56:16 UTC (rev 243188)
@@ -631,6 +631,7 @@
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "iphone" ]] && { echo "iphoneos"; return; }
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "ipad" ]] && { echo "iphoneos"; return; }
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "iphoneos" ]] && { echo "iphoneos"; return; }
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "iphonesimulator" ]] && { echo "iphonesimulator"; return; }
 
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "mac" ]] && { echo "macosx"; return; }
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "osx" ]] && { echo "macosx"; return; }
@@ -637,6 +638,14 @@
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "macos" ]] && { echo "macosx"; return; }
     [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "macosx" ]] && { echo "macosx"; return; }
 
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "tvos" ]] && { echo "appletvos"; return; }
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "appletvos" ]] && { echo "appletvos"; return; }
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "tvsimulator" ]] && { echo "appletvsimulator"; return; }
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "appletvsimulator" ]] && { echo "appletvsimulator"; return; }
+
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "watchos" ]] && { echo "watchos"; return; }
+    [[ "${GX_PROVISIONAL_PLATFORM_NAME}" == "watchsimulator" ]] && { echo "watchsimulator"; return; }
+
     die "Unrecognized platform name: $1"
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to