Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1395703d authored by Khalid Zubair's avatar Khalid Zubair Committed by Gerrit Code Review
Browse files

gdbclient: fix build output directory path

adb_get_product_device returns the marketing name of the device
instead of the name used in the build tree resulting in an invalid
OUT_ROOT directory path.

Just use the already defined $ANDROID_PRODUCT_OUT as OUT_ROOT.

Change-Id: I5ad5907a0d629613b0b33aec9c465a1fc5aacd61
parent 4a013e56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1261,7 +1261,7 @@ function gdbclient() {
    ROOT=`realpath .`
  fi

  local OUT_ROOT="$ROOT/out/target/product/$DEVICE"
  local OUT_ROOT="$ANDROID_PRODUCT_OUT"
  local SYMBOLS_DIR="$OUT_ROOT/symbols"

  if [ ! -d $SYMBOLS_DIR ]; then