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

Side by Side Diff: webkit/tools/layout_tests/layout_package/platform_utils_win.py

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
OLDNEW
1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This is the Linux implementation of the layout_package.platform_utils 5 """This is the Linux implementation of the layout_package.platform_utils
6 package. This file should only be imported by that package.""" 6 package. This file should only be imported by that package."""
7 7
8 import path_utils 8 import path_utils
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 stdout=subprocess.PIPE, 129 stdout=subprocess.PIPE,
130 stderr=subprocess.PIPE).wait() 130 stderr=subprocess.PIPE).wait()
131 131
132 # 132 #
133 # Private helper functions. 133 # Private helper functions.
134 # 134 #
135 135
136 def _FindBinary(target, binary): 136 def _FindBinary(target, binary):
137 """On Windows, we look for binaries that we compile in potentially 137 """On Windows, we look for binaries that we compile in potentially
138 two places: src/webkit/$target (preferably, which we get if we 138 two places: src/webkit/$target (preferably, which we get if we
139 built using webkit.gyp), or src/chrome/$target (if compiled some other 139 built using webkit_glue.gyp), or src/chrome/$target (if compiled some other
140 way).""" 140 way)."""
141 try: 141 try:
142 return path_utils.PathFromBase('webkit', target, binary) 142 return path_utils.PathFromBase('webkit', target, binary)
143 except path_utils.PathNotFound: 143 except path_utils.PathNotFound:
144 try: 144 try:
145 return path_utils.PathFromBase('chrome', target, binary) 145 return path_utils.PathFromBase('chrome', target, binary)
146 except path_utils.PathNotFound: 146 except path_utils.PathNotFound:
147 return path_utils.PathFromBase('build', target, binary) 147 return path_utils.PathFromBase('build', target, binary)
OLDNEW
« no previous file with comments | « webkit/glue/window_open_disposition.h ('k') | webkit/tools/test_shell/accessibility_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698