Index: build/android/pylib/constants.py |
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py |
index a8f284b79f0b5273c48cfb0ce13060d88ea083fe..86355580b9bee1989a9d9a39ae382f54a1c345ee 100644 |
--- a/build/android/pylib/constants.py |
+++ b/build/android/pylib/constants.py |
@@ -131,7 +131,9 @@ ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, |
ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT, |
'third_party/android_tools/ndk') |
-EMULATOR_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 'android_emulator_sdk') |
+EMULATOR_SDK_ROOT = os.environ.get('ANDROID_EMULATOR_SDK_ROOT', |
+ os.path.join(DIR_SOURCE_ROOT, |
+ 'android_emulator_sdk')) |
UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |