Index: build/android/gyp/push_libraries.py |
diff --git a/build/android/gyp/push_libraries.py b/build/android/gyp/push_libraries.py |
index 4f110a469fb441dd1b0c779ea69e6ed9337475a1..a8fbc0ce0e8fb590a9942f950e6f62acd3ee48a1 100755 |
--- a/build/android/gyp/push_libraries.py |
+++ b/build/android/gyp/push_libraries.py |
@@ -48,6 +48,11 @@ def DoPush(options): |
def main(argv): |
+ if not build_utils.IsDeviceReady(): |
+ build_utils.PrintBigWarning( |
+ 'Zero (or multiple) devices attached. Skipping native library push.') |
+ return |
+ |
parser = optparse.OptionParser() |
parser.add_option('--libraries-dir', |
help='Directory that contains stripped libraries.') |