blob: 9b25b29953098a642c9fc3c7d7e6d108f6ffa513 [file] [edit]
#!/usr/bin/python
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys
import os
import subprocess
def Main():
path = subprocess.check_output(['/usr/bin/env', 'xcode-select', '-p']).strip();
path = os.path.join(path, "Toolchains", "XcodeDefault.xctoolchain")
assert os.path.exists(path)
print path
if __name__ == '__main__':
sys.exit(Main())