Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: build/config/linux/sysroot_ld_path.py

Issue 116803003: Add support for sysroots to GN's pkg-config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/config/linux/pkg_config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
11 import subprocess
12 import sys
13
14 if len(sys.argv) != 3:
15 print "Need two arguments"
16 sys.exit(1)
17
18 result = subprocess.check_output([sys.argv[1], sys.argv[2]]).strip()
19
20 print '"' + result + '"'
OLDNEW
« no previous file with comments | « build/config/linux/pkg_config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698