From 35dd4d66b63c2bcec936fde8f1cdd064f53e0c98 Mon Sep 17 00:00:00 2001 From: Alex Light Date: Tue, 15 Dec 2015 15:45:01 -0800 Subject: [PATCH] Make gdbclient respect custom OUT_DIR settings Change-Id: Icb43798717f9b2aa6144f59624c2e3b7f59f42f8 --- scripts/gdbclient | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gdbclient b/scripts/gdbclient index 773a37f0d..0fc8d7c73 100755 --- a/scripts/gdbclient +++ b/scripts/gdbclient @@ -65,7 +65,8 @@ function gdbclient() { ROOT=`realpath .` fi - local OUT_ROOT="$ROOT/out/target/product/$DEVICE" + local SYS_OUT_ROOT=$(get_build_var OUT_DIR) + local OUT_ROOT="${SYS_OUT_ROOT:-${OUT_DIR:-$ROOT/out}}/target/product/$DEVICE" local SYMBOLS_DIR="$OUT_ROOT/symbols" local IS_TAPAS_USER="$(get_build_var TARGET_BUILD_APPS)" local TAPAS_SYMBOLS_DIR=