[Xcode] Header postprocessing should be based on the target OS version rather than...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2017 17:01:36 +0000 (17:01 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2017 17:01:36 +0000 (17:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=172860

Reviewed by Anders Carlsson.

* Configurations/WebKit.xcconfig: Use TARGET_MAC_OS_X_VERSION_MAJOR

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

Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/WebKit.xcconfig

index 32e4b8ee49c02f0ea847d1f4b957ed4bd8120133..231680d6a6ece4ae2a148bb36266e7926a65a161 100644 (file)
@@ -1,3 +1,12 @@
+2017-06-02  Dan Bernstein  <mitz@apple.com>
+
+        [Xcode] Header postprocessing should be based on the target OS version rather than the builder OS version
+        https://bugs.webkit.org/show_bug.cgi?id=172860
+
+        Reviewed by Anders Carlsson.
+
+        * Configurations/WebKit.xcconfig: Use TARGET_MAC_OS_X_VERSION_MAJOR
+
 2017-06-02  Gwang Yoon Hwang  <yoon@igalia.com>
 
         REGRESSION(r217214): [Coordinated Graphics] UpdateAtlas didn't released while resetting testrunner
index d16ed9a89a6f2639a737535f894671c60b0cb8a9..5d17368eb6f748370c3f7c860cbc7690f2fc99a2 100644 (file)
@@ -74,7 +74,7 @@ EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*] = PluginProcessShim.dylib SecItemShim.dy
 
 INSTALLHDRS_SCRIPT_PHASE = YES;
 
-WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=macosx*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_$(MAC_OS_X_VERSION_MAJOR));
+WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=macosx*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101000 = YES;
 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101100 = YES;
 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101200 = YES;