From 7d3028818ec1b6a653da45387ddf0fa01888cdda Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 3 Nov 2016 14:06:31 -0400 Subject: GN: iOS basics This doesn't create any apps or bundles or sign anything, but it all compiles and links. Note the awkward transitional hack I used to make each tool's tool_main() serve as the real main() again when built with GN, while keeping the existing setup with GYP. Fun... BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4350 Change-Id: I632753d5d8e5848380854f413bf5905d676bfcf4 Reviewed-on: https://skia-review.googlesource.com/4350 Reviewed-by: Jim Van Verth Commit-Queue: Mike Klein --- gn/find_ios_sysroot.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gn/find_ios_sysroot.py (limited to 'gn/find_ios_sysroot.py') diff --git a/gn/find_ios_sysroot.py b/gn/find_ios_sysroot.py new file mode 100644 index 0000000000..2d9f8d61d1 --- /dev/null +++ b/gn/find_ios_sysroot.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +# +# Copyright 2016 Google Inc. +# +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import subprocess + +print subprocess.check_output('xcrun --sdk iphoneos --show-sdk-path'.split()) -- cgit v1.2.3