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

Side by Side Diff: build/android/pylib/gtest/gtest_test_instance.py

Issue 1892443002: Delete breakpad_unittest.isolate (no longer needed) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « breakpad/breakpad_unittests_apk.isolate ('k') | testing/buildbot/chromium.android.json » ('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 logging 5 import logging
6 import os 6 import os
7 import re 7 import re
8 import tempfile 8 import tempfile
9 9
10 from devil.android import apk_helper 10 from devil.android import apk_helper
(...skipping 13 matching lines...) Expand all
24 24
25 RUN_IN_SUB_THREAD_TEST_SUITES = ['net_unittests'] 25 RUN_IN_SUB_THREAD_TEST_SUITES = ['net_unittests']
26 26
27 27
28 _DEFAULT_ISOLATE_FILE_PATHS = { 28 _DEFAULT_ISOLATE_FILE_PATHS = {
29 'base_unittests': 'base/base_unittests.isolate', 29 'base_unittests': 'base/base_unittests.isolate',
30 'blink_heap_unittests': 30 'blink_heap_unittests':
31 'third_party/WebKit/Source/platform/heap/BlinkHeapUnitTests.isolate', 31 'third_party/WebKit/Source/platform/heap/BlinkHeapUnitTests.isolate',
32 'blink_platform_unittests': 32 'blink_platform_unittests':
33 'third_party/WebKit/Source/platform/blink_platform_unittests.isolate', 33 'third_party/WebKit/Source/platform/blink_platform_unittests.isolate',
34 'breakpad_unittests': 'breakpad/breakpad_unittests.isolate',
35 'cc_perftests': 'cc/cc_perftests.isolate', 34 'cc_perftests': 'cc/cc_perftests.isolate',
36 'components_browsertests': 'components/components_browsertests.isolate', 35 'components_browsertests': 'components/components_browsertests.isolate',
37 'components_unittests': 'components/components_unittests.isolate', 36 'components_unittests': 'components/components_unittests.isolate',
38 'content_browsertests': 'content/content_browsertests.isolate', 37 'content_browsertests': 'content/content_browsertests.isolate',
39 'content_unittests': 'content/content_unittests.isolate', 38 'content_unittests': 'content/content_unittests.isolate',
40 'media_perftests': 'media/media_perftests.isolate', 39 'media_perftests': 'media/media_perftests.isolate',
41 'media_unittests': 'media/media_unittests.isolate', 40 'media_unittests': 'media/media_unittests.isolate',
42 'midi_unittests': 'media/midi/midi_unittests.isolate', 41 'midi_unittests': 'media/midi/midi_unittests.isolate',
43 'net_unittests': 'net/net_unittests.isolate', 42 'net_unittests': 'net/net_unittests.isolate',
44 'sql_unittests': 'sql/sql_unittests.isolate', 43 'sql_unittests': 'sql/sql_unittests.isolate',
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 293
295 #override 294 #override
296 def SetUp(self): 295 def SetUp(self):
297 """Map data dependencies via isolate.""" 296 """Map data dependencies via isolate."""
298 if self._isolate_delegate: 297 if self._isolate_delegate:
299 self._isolate_delegate.Remap( 298 self._isolate_delegate.Remap(
300 self._isolate_abs_path, self._isolated_abs_path) 299 self._isolate_abs_path, self._isolated_abs_path)
301 self._isolate_delegate.PurgeExcluded(_DEPS_EXCLUSION_LIST) 300 self._isolate_delegate.PurgeExcluded(_DEPS_EXCLUSION_LIST)
302 self._isolate_delegate.MoveOutputDeps() 301 self._isolate_delegate.MoveOutputDeps()
303 dest_dir = None 302 dest_dir = None
304 if self._suite == 'breakpad_unittests':
305 dest_dir = '/data/local/tmp/'
306 self._data_deps.extend([ 303 self._data_deps.extend([
307 (self._isolate_delegate.isolate_deps_dir, dest_dir)]) 304 (self._isolate_delegate.isolate_deps_dir, dest_dir)])
308 305
309 306
310 def GetDataDependencies(self): 307 def GetDataDependencies(self):
311 """Returns the test suite's data dependencies. 308 """Returns the test suite's data dependencies.
312 309
313 Returns: 310 Returns:
314 A list of (host_path, device_path) tuples to push. If device_path is 311 A list of (host_path, device_path) tuples to push. If device_path is
315 None, the client is responsible for determining where to push the file. 312 None, the client is responsible for determining where to push the file.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 result_type = None 401 result_type = None
405 402
406 return results 403 return results
407 404
408 #override 405 #override
409 def TearDown(self): 406 def TearDown(self):
410 """Clear the mappings created by SetUp.""" 407 """Clear the mappings created by SetUp."""
411 if self._isolate_delegate: 408 if self._isolate_delegate:
412 self._isolate_delegate.Clear() 409 self._isolate_delegate.Clear()
413 410
OLDNEW
« no previous file with comments | « breakpad/breakpad_unittests_apk.isolate ('k') | testing/buildbot/chromium.android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698