Index: build/android/pylib/constants/__init__.py |
diff --git a/build/android/pylib/constants/__init__.py b/build/android/pylib/constants/__init__.py |
index 25c0b0f544f641b85f37ba671bdd50845682baec..772af93c50ef77c3729e264e2e803ce7755f5d38 100644 |
--- a/build/android/pylib/constants/__init__.py |
+++ b/build/android/pylib/constants/__init__.py |
@@ -15,6 +15,7 @@ import subprocess |
import devil.android.sdk.keyevent |
from devil.android.sdk import version_codes |
+from devil.constants import exit_codes |
keyevent = devil.android.sdk.keyevent |
@@ -280,6 +281,6 @@ def _FindAdbPath(): |
return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') |
# Exit codes |
-ERROR_EXIT_CODE = 1 |
-INFRA_EXIT_CODE = 87 |
-WARNING_EXIT_CODE = 88 |
+ERROR_EXIT_CODE = exit_codes.ERROR |
+INFRA_EXIT_CODE = exit_codes.INFRA |
+WARNING_EXIT_CODE = exit_codes.WARNING |