mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-22 23:29:46 +00:00
Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
parent
6e503c8be4
commit
4226c07b03
10
build.sh
10
build.sh
@ -77,7 +77,9 @@ parse_cmdline()
|
||||
product_name) PRODUCT_NAME="$PARAM"
|
||||
;;
|
||||
upload_api_info) UPLOAD_API_INFO=$(echo $PARAM |tr [a-z] [A-Z])
|
||||
;;
|
||||
;;
|
||||
cache_type) CACHE_TYPE="$PARAM"
|
||||
;;
|
||||
*) usage
|
||||
break;;
|
||||
esac
|
||||
@ -107,7 +109,11 @@ do_make()
|
||||
MUSL_ARGS="--gn-args use_musl=false --gn-args use_custom_libcxx=true --gn-args use_custom_clang=true"
|
||||
fi
|
||||
fi
|
||||
./build.sh --product-name $PRODUCT_NAME --gn-args build_xts=true --build-target $BUILD_TARGET --build-target "deploy_testtools" --gn-args is_standard_system=true $MUSL_ARGS --target-cpu $TARGET_ARCH --get-warning-list=false --stat-ccache=true --compute-overlap-rate=false --deps-guard=false --generate-ninja-trace=false --gn-args skip_generate_module_list_file=true
|
||||
CACHE_ARG=""
|
||||
if [ "$CACHE_TYPE" == "xcache" ];then
|
||||
CACHE_ARG="--ccache false --xcache true"
|
||||
fi
|
||||
./build.sh --product-name $PRODUCT_NAME --gn-args build_xts=true --build-target $BUILD_TARGET --build-target "deploy_testtools" --gn-args is_standard_system=true $MUSL_ARGS --target-cpu $TARGET_ARCH --get-warning-list=false --stat-ccache=true --compute-overlap-rate=false --deps-guard=false --generate-ninja-trace=false $CACHE_ARG --gn-args skip_generate_module_list_file=true
|
||||
else
|
||||
if [ "$BUILD_TARGET" = "dcts dcts_ivi dcts_intellitv dcts_wearable" ]; then
|
||||
./build.sh --product-name $PRODUCT_NAME --gn-args build_xts=true --build-target "dcts" --build-target "dcts_ivi" --build-target "dcts_intellitv" --build-target "dcts_wearable" --build-target "deploy_testtools"
|
||||
|
Loading…
Reference in New Issue
Block a user