[script]Cleaning

This commit is contained in:
Mathieu Maret 2016-02-15 16:39:42 +01:00
parent f897e5394e
commit ba1e7ca123

View File

@ -3,10 +3,6 @@
# To be used in the root path of system partition dump
# Will only get lib in vendor/lib
first=1
libs=$(ndk-depends -Lvendor/lib $@ | grep -v "Could not" | grep -v "\\$" | grep camera)
echo "$libs"
LIBS=""
DEPS=""
APP="${1#bin\/}"
@ -24,7 +20,7 @@ LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := \$(TARGET_OUT)/${path%${lib}}
include \$(BUILD_PREBUILT)"
done < <(ndk-depends -Lvendor/lib --print-paths $@ | grep -v "Could not" | grep -v "\\$" | grep vendor )
done < <(ndk-depends -Lvendor/lib --print-paths $@ | grep -v "Could not" | grep -v "\\$" | grep vendor)
echo -e "
include \$(CLEAR_VARS)