diff --git a/build_slider.sh b/build_slider.sh index f60140c48802..33d3160c1d95 100755 --- a/build_slider.sh +++ b/build_slider.sh @@ -18,14 +18,7 @@ GKI_KERNEL_PREBUILTS_DIR= GKI_KERNEL_BUILD_CONFIG= GKI_KERNEL_OUT_DIR= CHECK_DIRTY_AOSP=0 -if [ -z "${BUILD_KERNEL}" ]; then - if [ "${EXPERIMENTAL_BUILD}" != "0" -o -n "${GKI_DEFCONFIG_FRAGMENT}" ]; then - BUILD_KERNEL=1 - else - CHECK_DIRTY_AOSP=1 - BUILD_KERNEL=0 - fi -fi +BUILD_KERNEL=1 if [ "${BUILD_KERNEL}" = "0" ]; then USING_PREBUILTS=1