OLD | NEW |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """Do all the steps required to build and test against nacl.""" | 6 """Do all the steps required to build and test against nacl.""" |
7 | 7 |
8 | 8 |
9 import optparse | 9 import optparse |
10 import os.path | 10 import os.path |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 | 51 |
52 # List of places that chrome could live. | 52 # List of places that chrome could live. |
53 # In theory we should be more careful about what platform we're actually | 53 # In theory we should be more careful about what platform we're actually |
54 # building for. | 54 # building for. |
55 # As currently constructed, this will also hork people who have debug and | 55 # As currently constructed, this will also hork people who have debug and |
56 # release builds sitting side by side who build locally. | 56 # release builds sitting side by side who build locally. |
57 mode = options.mode | 57 mode = options.mode |
58 chrome_locations = [ | 58 chrome_locations = [ |
59 'build/%s/chrome.exe' % mode, | 59 'build/%s/chrome.exe' % mode, |
60 'chrome/%s/chrome.exe' % mode, | 60 'chrome/%s/chrome.exe' % mode, |
61 'sconsbuild/%s/chrome.exe' % mode, | |
Mark Seaborn
2013/01/09 00:23:11
Can you put the explanation from the commit messag
Mark Seaborn
2013/01/09 00:28:22
Hang on, this doesn't look right.
"sconsbuild" is
Mark Seaborn
2013/01/09 01:01:07
I meant can you add a comment into the Python sour
| |
61 # Windows Chromium ninja builder | 62 # Windows Chromium ninja builder |
62 'out/%s/chrome.exe' % mode, | 63 'out/%s/chrome.exe' % mode, |
63 'out/%s/chrome' % mode, | 64 'out/%s/chrome' % mode, |
64 # Mac Chromium make builder | 65 # Mac Chromium make builder |
65 'out/%s/Chromium.app/Contents/MacOS/Chromium' % mode, | 66 'out/%s/Chromium.app/Contents/MacOS/Chromium' % mode, |
66 # Mac release make builder | 67 # Mac release make builder |
67 'out/%s/Google Chrome.app/Contents/MacOS/Google Chrome' % mode, | 68 'out/%s/Google Chrome.app/Contents/MacOS/Google Chrome' % mode, |
68 # Mac Chromium xcode builder | 69 # Mac Chromium xcode builder |
69 'xcodebuild/%s/Chromium.app/Contents/MacOS/Chromium' % mode, | 70 'xcodebuild/%s/Chromium.app/Contents/MacOS/Chromium' % mode, |
70 # Mac release xcode builder | 71 # Mac release xcode builder |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
332 else: | 333 else: |
333 options.enable_pnacl = 0 | 334 options.enable_pnacl = 0 |
334 | 335 |
335 if args: | 336 if args: |
336 parser.error('ERROR: invalid argument') | 337 parser.error('ERROR: invalid argument') |
337 BuildAndTest(options) | 338 BuildAndTest(options) |
338 | 339 |
339 | 340 |
340 if __name__ == '__main__': | 341 if __name__ == '__main__': |
341 Main() | 342 Main() |
OLD | NEW |