@
aWangami 都考呗,编译环境不差这点硬盘.多放点头文件怕什么?反正是调试用.
src=$1
if [ -z $src ]; then
echo "Usage: $0 [android src folder]"
exit 1
fi
if [ ! -d $src ]; then
echo "$src not exist"
fi
HEADER_FILES="$src/dalvik/libnativehelper/include
$src/system/core/include
$src/hardware/libhardware/include
$src/external/skia/include
$src/frameworks/base/include
$src/frameworks/base/native/include
$src/frameworks/base/opengl/include"
tar -cvf header.tar $HEADER_FILES