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

Unified Diff: build/android/devil/constants/exit_codes.py

Issue 1412623009: [Android] Add CLI for flashing devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move exit codes 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
Index: build/android/devil/constants/exit_codes.py
diff --git a/remoting/host/installer/mac/Scripts/keystone_install.sh b/build/android/devil/constants/exit_codes.py
old mode 100755
new mode 100644
similarity index 61%
copy from remoting/host/installer/mac/Scripts/keystone_install.sh
copy to build/android/devil/constants/exit_codes.py
index 2eddad23151b0053075f2deb8b3338ba24f30b9b..2d5111813daa6a241a78fbec8e6c3719c5d0f67a
--- a/remoting/host/installer/mac/Scripts/keystone_install.sh
+++ b/build/android/devil/constants/exit_codes.py
@@ -1,9 +1,9 @@
-#!/bin/sh
-
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# Version = @@VERSION@@
+"""Common exit codes used by devil."""
-/usr/sbin/installer -pkg "$1/@@HOST_PKG@@.pkg" -target /
+ERROR_EXIT_CODE = 1
jbudorick 2015/12/01 16:43:26 nit: just ERROR/INFRA/WARNING here. exit_codes.ERR
rnephew (Reviews Here) 2015/12/01 19:06:11 Done.
+INFRA_EXIT_CODE = 87
+WARNING_EXIT_CODE = 88

Powered by Google App Engine
This is Rietveld 408576698