Title: [225559] trunk/Source/WebKitLegacy/mac
Revision
225559
Author
aes...@apple.com
Date
2017-12-05 17:31:36 -0800 (Tue, 05 Dec 2017)

Log Message

[Cocoa] Stop specifying TARGET_OS_EMBEDDED in postprocess-headers.sh's unifdef options
https://bugs.webkit.org/show_bug.cgi?id=180457
<rdar://problem/35143007>

Reviewed by Tim Horton.

None of WebKitLegacy's framework headers mention TARGET_OS_EMBEDDED, so there's no need to
check for this macro during post-processing.

* postprocess-headers.sh:

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (225558 => 225559)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2017-12-06 01:30:24 UTC (rev 225558)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2017-12-06 01:31:36 UTC (rev 225559)
@@ -1,3 +1,16 @@
+2017-12-05  Andy Estes  <aes...@apple.com>
+
+        [Cocoa] Stop specifying TARGET_OS_EMBEDDED in postprocess-headers.sh's unifdef options
+        https://bugs.webkit.org/show_bug.cgi?id=180457
+        <rdar://problem/35143007>
+
+        Reviewed by Tim Horton.
+
+        None of WebKitLegacy's framework headers mention TARGET_OS_EMBEDDED, so there's no need to
+        check for this macro during post-processing.
+
+        * postprocess-headers.sh:
+
 2017-12-04  David Quesada  <david_ques...@apple.com>
 
         Add a class for parsing application manifests

Modified: trunk/Source/WebKitLegacy/mac/postprocess-headers.sh (225558 => 225559)


--- trunk/Source/WebKitLegacy/mac/postprocess-headers.sh	2017-12-06 01:30:24 UTC (rev 225558)
+++ trunk/Source/WebKitLegacy/mac/postprocess-headers.sh	2017-12-06 01:31:36 UTC (rev 225559)
@@ -15,11 +15,11 @@
     fi
 
     if [[ ${PLATFORM_NAME} == macosx ]]; then
-        unifdefOptions="-DTARGET_OS_EMBEDDED=0 -DTARGET_OS_IPHONE=0 -DTARGET_IPHONE_SIMULATOR=0";
+        unifdefOptions="-DTARGET_OS_IPHONE=0 -DTARGET_IPHONE_SIMULATOR=0";
     elif [[ ${PLATFORM_NAME} == *simulator* ]]; then
-        unifdefOptions="-DTARGET_OS_EMBEDDED=0 -DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=1 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
+        unifdefOptions="-DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=1 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
     else
-        unifdefOptions="-DTARGET_OS_EMBEDDED=1 -DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=0 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
+        unifdefOptions="-DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=0 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
     fi
 
     # FIXME: We should consider making this logic general purpose so as to support keeping or removing
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to