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

Side by Side Diff: build/android/pylib/base/base_setup.py

Issue 1222313015: Manual partial update from from https://crrev.com/337502 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | build/android/pylib/device/battery_utils.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 (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 """Base script for doing test setup.""" 5 """Base script for doing test setup."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 9
10 from pylib import constants 10 from pylib import constants
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 # instead of md5sum. Perform a sanity check here. 52 # instead of md5sum. Perform a sanity check here.
53 i.VerifyHardlinks() 53 i.VerifyHardlinks()
54 i.PurgeExcluded(deps_exclusion_list) 54 i.PurgeExcluded(deps_exclusion_list)
55 i.MoveOutputDeps() 55 i.MoveOutputDeps()
56 return i 56 return i
57 57
58 58
59 def PushDataDeps(device, device_dir, test_options): 59 def PushDataDeps(device, device_dir, test_options):
60 valgrind_tools.PushFilesForTool(test_options.tool, device) 60 valgrind_tools.PushFilesForTool(test_options.tool, device)
61 if os.path.exists(constants.ISOLATE_DEPS_DIR): 61 if os.path.exists(constants.ISOLATE_DEPS_DIR):
62 device.PushChangedFiles([ 62 device.PushChangedFiles([(constants.ISOLATE_DEPS_DIR, device_dir)],
63 (os.path.join(constants.ISOLATE_DEPS_DIR, p), 63 delete_device_stale=test_options.delete_stale_data)
64 '%s/%s' % (device_dir, p))
65 for p in os.listdir(constants.ISOLATE_DEPS_DIR)])
OLDNEW
« no previous file with comments | « no previous file | build/android/pylib/device/battery_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698