dragonboards: mesa_prebuilt/copy_bins.sh: Auto-detect TARGET_OUT directory

Auto-detect DB845c TARGET_OUT directory instead of using a relative path.

". build/envsetup.sh; lunch db845c-userdebug" commands set the required
variables, e.g. ANDROID_PRODUCT_OUT already. Set ANDROID_PRODUCT_OUT
explicitly if is it not pre-set.

Error out if the variable is not set.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I13361972bb4e11cf354df47fd3ce9d5495777bae
1 file changed
tree: 47e6d063001e2a5b61d27acca391dd2499e0e21c
  1. src/
  2. extract-linaro_devices.sh-source
  3. generate_vendor_package.sh