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

Side by Side Diff: build/linux/install-debian.wheezy.sysroot.wrapper.py

Issue 16488006: Update remaining files after move of Linux installer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months 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/common.gypi ('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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This wrapper script runs the Debian sysroot installation scripts, if they 6 # This wrapper script runs the Debian sysroot installation scripts, if they
7 # exist. 7 # exist.
8 # 8 #
9 # The script is a no-op except for linux users who have the following in their 9 # The script is a no-op except for linux users who have the following in their
10 # GYP_DEFINES: 10 # GYP_DEFINES:
(...skipping 12 matching lines...) Expand all
23 def main(): 23 def main():
24 if sys.platform != 'linux2': 24 if sys.platform != 'linux2':
25 return 0 25 return 0
26 26
27 SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname( 27 SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
28 os.path.realpath(__file__)))) 28 os.path.realpath(__file__))))
29 SCRIPT_FILE = os.path.join(SRC_DIR, 29 SCRIPT_FILE = os.path.join(SRC_DIR,
30 'chrome', 30 'chrome',
31 'installer', 31 'installer',
32 'linux', 32 'linux',
33 'internal',
34 'sysroot_scripts', 33 'sysroot_scripts',
35 'install-debian.wheezy.sysroot.py') 34 'install-debian.wheezy.sysroot.py')
36 if os.path.exists(SCRIPT_FILE): 35 if os.path.exists(SCRIPT_FILE):
37 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=amd64']) 36 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=amd64'])
38 if ret != 0: 37 if ret != 0:
39 return ret 38 return ret
40 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=i386']) 39 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=i386'])
41 if ret != 0: 40 if ret != 0:
42 return ret 41 return ret
43 return 0 42 return 0
44 43
45 if __name__ == '__main__': 44 if __name__ == '__main__':
46 sys.exit(main()) 45 sys.exit(main())
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698