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

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

Issue 1026183003: Instrumented libraries: add a base.isolate entry for prebuilt libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 5 years, 9 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
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
(...skipping 21 matching lines...) Expand all
32 'component': 'static_library', 32 'component': 'static_library',
33 'fastbuild': '0', 33 'fastbuild': '0',
34 'icu_use_data_file_flag': '1', 34 'icu_use_data_file_flag': '1',
35 'lsan': '0', 35 'lsan': '0',
36 'msan': '0', 36 'msan': '0',
37 # TODO(maruel): This may not always be true. 37 # TODO(maruel): This may not always be true.
38 'target_arch': 'arm', 38 'target_arch': 'arm',
39 'tsan': '0', 39 'tsan': '0',
40 'use_custom_libcxx': '0', 40 'use_custom_libcxx': '0',
41 'use_instrumented_libraries': '0', 41 'use_instrumented_libraries': '0',
42 'use_prebuilt_instrumented_libraries': '0',
42 'use_openssl': '0', 43 'use_openssl': '0',
43 'use_ozone': '0', 44 'use_ozone': '0',
44 'use_x11': '0', 45 'use_x11': '0',
45 'v8_use_external_startup_data': '1', 46 'v8_use_external_startup_data': '1',
46 } 47 }
47 48
48 49
49 class Isolator(object): 50 class Isolator(object):
50 """Manages calls to isolate.py for the android test runner scripts.""" 51 """Manages calls to isolate.py for the android test runner scripts."""
51 52
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 shutil.move(os.path.join(root, filename), paks_dir) 159 shutil.move(os.path.join(root, filename), paks_dir)
159 160
160 # Move everything in PRODUCT_DIR to top level. 161 # Move everything in PRODUCT_DIR to top level.
161 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType()) 162 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType())
162 if os.path.isdir(deps_product_dir): 163 if os.path.isdir(deps_product_dir):
163 for p in os.listdir(deps_product_dir): 164 for p in os.listdir(deps_product_dir):
164 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir) 165 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir)
165 os.rmdir(deps_product_dir) 166 os.rmdir(deps_product_dir)
166 os.rmdir(deps_out_dir) 167 os.rmdir(deps_out_dir)
167 168
OLDNEW
« base/base.isolate ('K') | « base/base.isolate ('k') | build/isolate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698