diff options
Diffstat (limited to 'tools/common/common.py')
-rwxr-xr-x | tools/common/common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/common/common.py b/tools/common/common.py index 4171dfed28..c80ebf513f 100755 --- a/tools/common/common.py +++ b/tools/common/common.py @@ -299,6 +299,7 @@ class HostTestEnv(ITestEnv): os.mkdir(arch_cache_path) lib = 'lib64' if x64 else 'lib' android_root = GetEnvVariableOrError('ANDROID_HOST_OUT') + android_i18n_root = android_root + '/com.android.i18n' android_runtime_root = android_root + '/com.android.runtime' android_tzdata_root = android_root + '/com.android.tzdata' library_path = android_root + '/' + lib @@ -306,6 +307,7 @@ class HostTestEnv(ITestEnv): self._shell_env = os.environ.copy() self._shell_env['ANDROID_DATA'] = self._env_path self._shell_env['ANDROID_ROOT'] = android_root + self._shell_env['ANDROID_I18N_ROOT'] = android_i18n_root self._shell_env['ANDROID_RUNTIME_ROOT'] = android_runtime_root self._shell_env['ANDROID_TZDATA_ROOT'] = android_tzdata_root self._shell_env['LD_LIBRARY_PATH'] = library_path |