| Index: base/test/test_stub_android.cc
|
| diff --git a/base/test/test_stub_android.cc b/base/test/test_stub_android.cc
|
| index 05dc4e8663e3f3a0c902c57e052f9abba6255880..aaf952e232cf5e003baaeedfafe47bfb92594ac9 100644
|
| --- a/base/test/test_stub_android.cc
|
| +++ b/base/test/test_stub_android.cc
|
| @@ -137,10 +137,14 @@ bool PathTestProviderAndroid(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;
|
|
|