| OLD | NEW |
| 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 27 matching lines...) Expand all Loading... |
| 38 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=amd64']) | 38 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=amd64']) |
| 39 if ret != 0: | 39 if ret != 0: |
| 40 return ret | 40 return ret |
| 41 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=i386']) | 41 ret = subprocess.call([SCRIPT_FILE, '--linux-only', '--arch=i386']) |
| 42 if ret != 0: | 42 if ret != 0: |
| 43 return ret | 43 return ret |
| 44 return 0 | 44 return 0 |
| 45 | 45 |
| 46 if __name__ == '__main__': | 46 if __name__ == '__main__': |
| 47 sys.exit(main()) | 47 sys.exit(main()) |
| OLD | NEW |