Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
sysroot_ld_path.py
Go to the documentation of this file.
1# Copyright (c) 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# This file takes two arguments, the relative location of the shell script that
6# does the checking, and the name of the sysroot.
7
8# TODO(brettw) the build/linux/sysroot_ld_path.sh script should be rewritten in
9# Python in this file.
10
11import subprocess
12import sys
13
14if len(sys.argv) != 3:
15 print("Need two arguments")
16 sys.exit(1)
17
18result = subprocess.check_output([sys.argv[1], sys.argv[2]],
19 universal_newlines=True).strip()
20
21print('"' + result + '"')
void print(void *str)
Definition bridge.cpp:126