OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 'CONFIGURATION_NAME': constants.GetBuildType(), | 29 'CONFIGURATION_NAME': constants.GetBuildType(), |
30 'OS': 'android', | 30 'OS': 'android', |
31 'asan': '0', | 31 'asan': '0', |
32 'branding': 'Chromium', | 32 'branding': 'Chromium', |
33 'chromeos': '0', | 33 'chromeos': '0', |
34 'component': 'static_library', | 34 'component': 'static_library', |
35 'enable_pepper_cdms': '0', | 35 'enable_pepper_cdms': '0', |
36 'enable_plugins': '0', | 36 'enable_plugins': '0', |
37 'fastbuild': '0', | 37 'fastbuild': '0', |
38 'icu_use_data_file_flag': '1', | 38 'icu_use_data_file_flag': '1', |
| 39 'kasko': '0', |
39 'lsan': '0', | 40 'lsan': '0', |
40 'msan': '0', | 41 'msan': '0', |
41 # TODO(maruel): This may not always be true. | 42 # TODO(maruel): This may not always be true. |
42 'target_arch': 'arm', | 43 'target_arch': 'arm', |
43 'tsan': '0', | 44 'tsan': '0', |
44 'use_custom_libcxx': '0', | 45 'use_custom_libcxx': '0', |
45 'use_instrumented_libraries': '0', | 46 'use_instrumented_libraries': '0', |
46 'use_prebuilt_instrumented_libraries': '0', | 47 'use_prebuilt_instrumented_libraries': '0', |
47 'use_openssl': '0', | 48 'use_openssl': '0', |
48 'use_ozone': '0', | 49 'use_ozone': '0', |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 shutil.move(os.path.join(root, filename), paks_dir) | 164 shutil.move(os.path.join(root, filename), paks_dir) |
164 | 165 |
165 # Move everything in PRODUCT_DIR to top level. | 166 # Move everything in PRODUCT_DIR to top level. |
166 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType()) | 167 deps_product_dir = os.path.join(deps_out_dir, constants.GetBuildType()) |
167 if os.path.isdir(deps_product_dir): | 168 if os.path.isdir(deps_product_dir): |
168 for p in os.listdir(deps_product_dir): | 169 for p in os.listdir(deps_product_dir): |
169 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir) | 170 shutil.move(os.path.join(deps_product_dir, p), self._isolate_deps_dir) |
170 os.rmdir(deps_product_dir) | 171 os.rmdir(deps_product_dir) |
171 os.rmdir(deps_out_dir) | 172 os.rmdir(deps_out_dir) |
172 | 173 |
OLD | NEW |