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

Unified Diff: build/android/pylib/constants/__init__.py

Issue 1412623009: [Android] Add CLI for flashing devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « build/android/devil/constants/exit_codes.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « build/android/devil/constants/exit_codes.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698