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

Side by Side Diff: chrome/common/extensions/docs/build/build.py

Issue 7172016: Add linux3 build support to chromium (base repository) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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 | « AUTHORS ('k') | chrome/test/pyautolib/pyauto.py » ('j') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2009 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 """Docbuilder for extension docs.""" 6 """Docbuilder for extension docs."""
7 7
8 import os 8 import os
9 import os.path 9 import os.path
10 import shutil 10 import shutil
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 search_locations = [] 123 search_locations = []
124 124
125 if (sys.platform in ('cygwin', 'win32')): 125 if (sys.platform in ('cygwin', 'win32')):
126 home_dir = os.path.normpath(os.getenv("HOMEDRIVE") + os.getenv("HOMEPATH")) 126 home_dir = os.path.normpath(os.getenv("HOMEDRIVE") + os.getenv("HOMEPATH"))
127 search_locations.append(chrome_dir + "/Release/DumpRenderTree.exe") 127 search_locations.append(chrome_dir + "/Release/DumpRenderTree.exe")
128 search_locations.append(chrome_dir + "/Debug/DumpRenderTree.exe") 128 search_locations.append(chrome_dir + "/Debug/DumpRenderTree.exe")
129 search_locations.append(home_dir + "/bin/DumpRenderTree/" 129 search_locations.append(home_dir + "/bin/DumpRenderTree/"
130 "DumpRenderTree.exe") 130 "DumpRenderTree.exe")
131 131
132 if (sys.platform in ('linux', 'linux2')): 132 if (sys.platform.startswith('linux')):
133 search_locations.append(src_dir + "/sconsbuild/Release/DumpRenderTree") 133 search_locations.append(src_dir + "/sconsbuild/Release/DumpRenderTree")
134 search_locations.append(src_dir + "/out/Release/DumpRenderTree") 134 search_locations.append(src_dir + "/out/Release/DumpRenderTree")
135 search_locations.append(src_dir + "/sconsbuild/Debug/DumpRenderTree") 135 search_locations.append(src_dir + "/sconsbuild/Debug/DumpRenderTree")
136 search_locations.append(src_dir + "/out/Debug/DumpRenderTree") 136 search_locations.append(src_dir + "/out/Debug/DumpRenderTree")
137 search_locations.append(os.getenv("HOME") + "/bin/DumpRenderTree/" 137 search_locations.append(os.getenv("HOME") + "/bin/DumpRenderTree/"
138 "DumpRenderTree") 138 "DumpRenderTree")
139 139
140 if (sys.platform == 'darwin'): 140 if (sys.platform == 'darwin'):
141 search_locations.append(src_dir + 141 search_locations.append(src_dir +
142 "/xcodebuild/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree") 142 "/xcodebuild/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree")
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 if (os.path.isfile(debug_log)): 235 if (os.path.isfile(debug_log)):
236 os.remove(debug_log) 236 os.remove(debug_log)
237 237
238 if 'EX_OK' in dir(os): 238 if 'EX_OK' in dir(os):
239 return os.EX_OK 239 return os.EX_OK
240 else: 240 else:
241 return 0 241 return 0
242 242
243 if __name__ == '__main__': 243 if __name__ == '__main__':
244 sys.exit(main()) 244 sys.exit(main())
OLDNEW
« no previous file with comments | « AUTHORS ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698