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

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

Issue 16507016: Linux: Call the install-debian-sysroot scripts directly instead of via a wrapper, now that the scri… (Closed) Base URL: svn://chrome-svn/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/install-debian.wheezy.sysroot.wrapper.py
===================================================================
--- build/linux/install-debian.wheezy.sysroot.wrapper.py (revision 204865)
+++ build/linux/install-debian.wheezy.sysroot.wrapper.py (working copy)
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2013 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.
-
-# This wrapper script runs the Debian sysroot installation scripts, if they
-# exist.
-#
-# The script is a no-op except for linux users who have the following in their
-# GYP_DEFINES:
-#
-# * branding=Chrome
-# * buildtype=Official
-#
-# and not:
-#
-# * chromeos=1
-
-import os.path
-import subprocess
-import sys
-
-def main():
- if sys.platform != 'linux2':
- return 0
-
- SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
- os.path.realpath(__file__))))
- SCRIPT_FILE = os.path.join(SRC_DIR,
- 'chrome',
- 'installer',
- 'linux',
- 'sysroot_scripts',
- 'install-debian.wheezy.sysroot.py')
- if os.path.exists(SCRIPT_FILE):
- ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=amd64'])
- if ret != 0:
- return ret
- ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=i386'])
- if ret != 0:
- return ret
- return 0
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698