OLD | NEW |
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 os | 8 import os |
9 import path_utils | 9 import path_utils |
10 import subprocess | 10 import subprocess |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 two places: src/webkit/$target (preferably, which we get if we | 175 two places: src/webkit/$target (preferably, which we get if we |
176 built using webkit_glue.gyp), or src/chrome/$target (if compiled some | 176 built using webkit_glue.gyp), or src/chrome/$target (if compiled some |
177 other way).""" | 177 other way).""" |
178 try: | 178 try: |
179 return path_utils.PathFromBase('webkit', target, binary) | 179 return path_utils.PathFromBase('webkit', target, binary) |
180 except path_utils.PathNotFound: | 180 except path_utils.PathNotFound: |
181 try: | 181 try: |
182 return path_utils.PathFromBase('chrome', target, binary) | 182 return path_utils.PathFromBase('chrome', target, binary) |
183 except path_utils.PathNotFound: | 183 except path_utils.PathNotFound: |
184 return path_utils.PathFromBase('build', target, binary) | 184 return path_utils.PathFromBase('build', target, binary) |
OLD | NEW |