Merge "Force all temp artifacts to out/dist." am: abfe1fa152
am: 3814dfeb2d
Original change: https://android-review.googlesource.com/c/platform/build/+/2471734 Change-Id: I24c96576415195f5ca0c26f12eee633f27d51b3f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9db5d01725
6 changed files with 7 additions and 14 deletions
|
@ -6,9 +6,6 @@ function finalize_main_step12() {
|
|||
local top="$(dirname "$0")"/../../../..
|
||||
source $top/build/make/tools/finalization/environment.sh
|
||||
|
||||
# default target to modify tree and build SDK
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
|
||||
|
||||
# SDK codename -> int
|
||||
source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh
|
||||
|
||||
|
|
|
@ -6,9 +6,6 @@ function finalize_main_step1() {
|
|||
local top="$(dirname "$0")"/../../../..
|
||||
source $top/build/make/tools/finalization/environment.sh
|
||||
|
||||
# default target to modify tree and build SDK
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
|
||||
|
||||
# Build finalization artifacts.
|
||||
source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh
|
||||
}
|
||||
|
|
|
@ -5,11 +5,11 @@ set -ex
|
|||
export FINAL_BUG_ID='0'
|
||||
|
||||
export FINAL_PLATFORM_CODENAME='UpsideDownCake'
|
||||
export CURRENT_PLATFORM_CODENAME='VanillaIceCream'
|
||||
export CURRENT_PLATFORM_CODENAME='UpsideDownCake'
|
||||
export FINAL_PLATFORM_CODENAME_JAVA='UPSIDE_DOWN_CAKE'
|
||||
export FINAL_PLATFORM_SDK_VERSION='34'
|
||||
export FINAL_PLATFORM_VERSION='14'
|
||||
|
||||
export FINAL_BUILD_PREFIX='UP1A'
|
||||
|
||||
export FINAL_MAINLINE_EXTENSION='6'
|
||||
export FINAL_MAINLINE_EXTENSION='7'
|
|
@ -69,7 +69,7 @@ function finalize_aidl_vndk_sdk_resources() {
|
|||
local SDK_VERSION="public static final int $FINAL_PLATFORM_CODENAME_JAVA = $FINAL_PLATFORM_SDK_VERSION;"
|
||||
|
||||
# default target to modify tree and build SDK
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug DIST_DIR=out/dist"
|
||||
|
||||
# The full process can be found at (INTERNAL) go/android-sdk-finalization.
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ function finalize_sdk_rel() {
|
|||
source $top/build/make/tools/finalization/environment.sh
|
||||
|
||||
# default target to modify tree and build SDK
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
|
||||
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug DIST_DIR=out/dist"
|
||||
|
||||
# revert droidstubs hack now we are switching to REL
|
||||
revert_droidstubs_hack
|
||||
|
|
|
@ -7,14 +7,13 @@ function finalize_locally_mainline_sdk() {
|
|||
source $top/build/make/tools/finalization/environment.sh
|
||||
|
||||
# Build Platform SDKs.
|
||||
$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo
|
||||
$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo DIST_DIR=out/dist
|
||||
|
||||
# Build Modules SDKs.
|
||||
TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true "$top/vendor/google/build/mainline_modules_sdks.sh"
|
||||
TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true DIST_DIR=out/dist "$top/vendor/google/build/mainline_modules_sdks.sh"
|
||||
|
||||
# Update prebuilts.
|
||||
# "$top/prebuilts/build-tools/path/linux-x86/python3" "$top/packages/modules/common/tools/finalize_sdk.py" -l -b 0 -f ${FINAL_MAINLINE_EXTENSION} -r '' 0
|
||||
"$top/prebuilts/build-tools/path/linux-x86/python3" "$top/prebuilts/sdk/update_prebuilts.py" --local_mode -f ${FINAL_PLATFORM_SDK_VERSION} -e ${FINAL_MAINLINE_EXTENSION} --bug 1 1
|
||||
"$top/prebuilts/build-tools/path/linux-x86/python3" -W ignore::DeprecationWarning "$top/prebuilts/sdk/update_prebuilts.py" --local_mode -f ${FINAL_PLATFORM_SDK_VERSION} -e ${FINAL_MAINLINE_EXTENSION} --bug 1 1
|
||||
}
|
||||
|
||||
finalize_locally_mainline_sdk
|
||||
|
|
Loading…
Reference in a new issue