Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
find_xcode_sysroot.py
Go to the documentation of this file.
1#!/usr/bin/env python
2#
3# Copyright 2016 Google Inc.
4#
5# Use of this source code is governed by a BSD-style license that can be
6# found in the LICENSE file.
7
8from __future__ import print_function
9
10import subprocess
11import sys
12
13(sdk,) = sys.argv[1:]
14
15print(subprocess.check_output([
16 'xcrun', '--sdk', sdk, '--show-sdk-path']).decode('utf-8'))
void print(void *str)
Definition bridge.cpp:126
static DecodeResult decode(std::string path)