[Xcode] Use the Apple Internal SDK if available when building ImageDiff
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jan 2018 02:37:05 +0000 (02:37 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jan 2018 02:37:05 +0000 (02:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=181459

Reviewed by Dan Bernstein.

* ImageDiff/cg/Configurations/Base.xcconfig:

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

Tools/ChangeLog
Tools/ImageDiff/cg/Configurations/Base.xcconfig

index 8936f0c835d99f6e8c02c55c20d89436336d6a80..b2c70f9e6f89e4b7dd4c5bd2c3776d71da9267e0 100644 (file)
@@ -1,3 +1,12 @@
+2018-01-09  Andy Estes  <aestes@apple.com>
+
+        [Xcode] Use the Apple Internal SDK if available when building ImageDiff
+        https://bugs.webkit.org/show_bug.cgi?id=181459
+
+        Reviewed by Dan Bernstein.
+
+        * ImageDiff/cg/Configurations/Base.xcconfig:
+
 2018-01-09  Myles C. Maxfield  <mmaxfield@apple.com>
 
         font-display:fallback can cause a visual flash (which is supposed to be impossible)
index c710264d11f41756403066f568f25266e1983944..60cc75963688281962b6bd9913b5c1f2c701a8d3 100644 (file)
 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#include "../../../../../Internal/Configurations/HaveInternalSDK.xcconfig"
+
+USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
+USE_INTERNAL_SDK_Production = YES;
+USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
+USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
 
 CLANG_CXX_LANGUAGE_STANDARD = gnu++14;
 CLANG_CXX_LIBRARY = libc++;