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

Unified Diff: base/test/test_support_android.cc

Issue 10690019: Remove ANDROID_APK_TEST_TARGET (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « base/test/test_suite.cc ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index 78d292f1e7dda9ecafafb4beeafae51b6e2248b9..259c59fa43d00d72fc727c470f3e2fe59272cf51 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -144,14 +144,6 @@ bool GetTestProviderPath(int key, FilePath* result) {
*result = FilePath(kAndroidTestTempDirectory);
return true;
}
-#if !defined(ANDROID_APK_TEST_TARGET)
- // When running as executable we need to use /data/local/tmp as the
- // cache directory.
- case base::DIR_CACHE: {
- *result = FilePath(kAndroidTestTempDirectory);
- return true;
- }
-#endif // !defined(ANDROID_APK_TEST_TARGET)
case base::DIR_ANDROID_APP_DATA: {
*result = FilePath(kAndroidTestTempDirectory);
return true;
« no previous file with comments | « base/test/test_suite.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698