1cb93a386Sopenharmony_ci#!/usr/bin/env python
2cb93a386Sopenharmony_ci#
3cb93a386Sopenharmony_ci# Copyright 2016 Google Inc.
4cb93a386Sopenharmony_ci#
5cb93a386Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be
6cb93a386Sopenharmony_ci# found in the LICENSE file.
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_cifrom __future__ import print_function
9cb93a386Sopenharmony_ci
10cb93a386Sopenharmony_ciimport subprocess
11cb93a386Sopenharmony_ciimport sys
12cb93a386Sopenharmony_ci
13cb93a386Sopenharmony_ci(sdk,) = sys.argv[1:]
14cb93a386Sopenharmony_ci
15cb93a386Sopenharmony_ciprint(subprocess.check_output(['xcrun', '--sdk', sdk, '--show-sdk-path']))
16