| Index: build/android/gyp/apk_install.py
|
| diff --git a/build/android/gyp/apk_install.py b/build/android/gyp/apk_install.py
|
| index 714be081ca14c1084284e57c66336dcd5f7e842a..9431b29df0bbad750423bdb89bb0ada6fd3bb07f 100755
|
| --- a/build/android/gyp/apk_install.py
|
| +++ b/build/android/gyp/apk_install.py
|
| @@ -56,6 +56,11 @@ def RecordInstallMetadata(apk_package, metadata_path):
|
|
|
|
|
| def main(argv):
|
| + if not build_utils.IsDeviceReady():
|
| + build_utils.PrintBigWarning(
|
| + 'Zero (or multiple) devices attached. Skipping APK install.')
|
| + return
|
| +
|
| parser = optparse.OptionParser()
|
| parser.add_option('--android-sdk-tools',
|
| help='Path to Android SDK tools.')
|
|
|