Get connected device list only when --build-only is not set.

Test:  python test_compiler.py ../../.. --build-only  --target
aosp_angler-user
Bug: http://b/62292583

Change-Id: I6a9345c86c6b85c057cb60f0d40e6205d2acb237
1 file changed