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

Unified Diff: build/android/test_package_executable.py

Issue 9963086: Build and push chrome.pak for ui_unittests on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/single_test_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_package_executable.py
diff --git a/build/android/test_package_executable.py b/build/android/test_package_executable.py
index dae8408b902a174126941e3f7aa4df26f9fc1177..c0bfafe33887b34bd3bea8fde7ab4caf55f87004 100644
--- a/build/android/test_package_executable.py
+++ b/build/android/test_package_executable.py
@@ -154,3 +154,9 @@ class TestPackageExecutable(TestPackage):
cmd_helper.RunCmd([strip, self.test_suite, '-o', target_name])
test_binary = '/data/local/' + self.test_suite_basename
self.adb.PushIfNeeded(target_name, test_binary)
+
+ if self.test_suite_basename == 'ui_unittests':
+ self.adb.PushIfNeeded(self.test_suite_dirname + '/chrome.pak',
+ '/data/local/tmp/paks/chrome.pak')
+ self.adb.PushIfNeeded(self.test_suite_dirname + '/locales/en-US.pak',
+ '/data/local/tmp/paks/en-US.pak')
« no previous file with comments | « build/android/single_test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698