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

Side by Side Diff: build/android/pylib/utils/isolator.py

Issue 1314313004: [Android][telemetry] Update pylib imports for modules that moved into devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « build/android/pylib/utils/findbugs.py ('k') | build/android/pylib/utils/proguard.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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import fnmatch 5 import fnmatch
6 import glob 6 import glob
7 import os 7 import os
8 import shutil 8 import shutil
9 import sys 9 import sys
10 10
11 from pylib import cmd_helper 11 from devil.utils import cmd_helper
12 from pylib import constants 12 from pylib import constants
13 13
14 14
15 _ISOLATE_SCRIPT = os.path.join( 15 _ISOLATE_SCRIPT = os.path.join(
16 constants.DIR_SOURCE_ROOT, 'tools', 'swarming_client', 'isolate.py') 16 constants.DIR_SOURCE_ROOT, 'tools', 'swarming_client', 'isolate.py')
17 17
18 18
19 def DefaultPathVariables(): 19 def DefaultPathVariables():
20 return { 20 return {
21 'DEPTH': constants.DIR_SOURCE_ROOT, 21 'DEPTH': constants.DIR_SOURCE_ROOT,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 shutil.move(os.path.join(root, filename), paks_dir) 165 shutil.move(os.path.join(root, filename), paks_dir)
166 166
167 # Move everything in PRODUCT_DIR to top level. 167 # Move everything in PRODUCT_DIR to top level.
168 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType()) 168 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType())
169 if os.path.isdir(deps_product_dir): 169 if os.path.isdir(deps_product_dir):
170 for p in os.listdir(deps_product_dir): 170 for p in os.listdir(deps_product_dir):
171 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir) 171 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir)
172 os.rmdir(deps_product_dir) 172 os.rmdir(deps_product_dir)
173 os.rmdir(deps_out_dir) 173 os.rmdir(deps_out_dir)
174 174
OLDNEW
« no previous file with comments | « build/android/pylib/utils/findbugs.py ('k') | build/android/pylib/utils/proguard.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698