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

Unified Diff: build/android/devil_chromium.py

Issue 2575003003: [Android] Use local build of chromium_commands.dex.jar in chromium tests. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil_chromium.py
diff --git a/build/android/devil_chromium.py b/build/android/devil_chromium.py
index 0e085d8abdbe0c0ca7ffd3ac9cca71b8cede62af..af2141a552d9d945585396111ba4ca6213feeb09 100644
--- a/build/android/devil_chromium.py
+++ b/build/android/devil_chromium.py
@@ -18,82 +18,89 @@ _DEVIL_CONFIG = os.path.abspath(
os.path.join(os.path.dirname(__file__), 'devil_chromium.json'))
_DEVIL_BUILD_PRODUCT_DEPS = {
+ 'chromium_commands': [
+ {
+ 'platform': 'linux2',
+ 'arch': 'x86_64',
+ 'path_components': ['lib.java', 'chromium_commands.dex.jar'],
+ }
+ ],
'forwarder_device': [
{
'platform': 'android',
'arch': 'armeabi-v7a',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
{
'platform': 'android',
'arch': 'arm64-v8a',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
{
'platform': 'android',
'arch': 'mips',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
{
'platform': 'android',
'arch': 'mips64',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
{
'platform': 'android',
'arch': 'x86',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
{
'platform': 'android',
'arch': 'x86_64',
- 'name': 'forwarder_dist',
+ 'path_components': ['forwarder_dist'],
},
],
'forwarder_host': [
{
'platform': 'linux2',
'arch': 'x86_64',
- 'name': 'host_forwarder',
+ 'path_components': ['host_forwarder'],
},
],
'md5sum_device': [
{
'platform': 'android',
'arch': 'armeabi-v7a',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
{
'platform': 'android',
'arch': 'arm64-v8a',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
{
'platform': 'android',
'arch': 'mips',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
{
'platform': 'android',
'arch': 'mips64',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
{
'platform': 'android',
'arch': 'x86',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
{
'platform': 'android',
'arch': 'x86_64',
- 'name': 'md5sum_dist',
+ 'path_components': ['md5sum_dist'],
},
],
'md5sum_host': [
{
'platform': 'linux2',
'arch': 'x86_64',
- 'name': 'md5sum_bin_host',
+ 'path_components': ['md5sum_bin_host'],
},
],
}
@@ -137,7 +144,7 @@ def Initialize(output_directory=None, custom_deps=None, adb_path=None):
'file_info': {
'%s_%s' % (dep_config['platform'], dep_config['arch']): {
'local_paths': [
- os.path.join(output_directory, dep_config['name']),
+ os.path.join(output_directory, *dep_config['path_components']),
],
}
for dep_config in dep_configs
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698