aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/find_ios_sysroot.py
blob: 789ae9f9a5709810b8305d637550e5d6c76f409c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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
import sys

(sdk,) = sys.argv[1:]

print subprocess.check_output(['xcrun', '--sdk', sdk, '--show-sdk-path'])