aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/find_ios_sysroot.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn/find_ios_sysroot.py')
-rw-r--r--gn/find_ios_sysroot.py10
1 files changed, 10 insertions, 0 deletions
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())