3bd1b91877
For finalization CI we'll do multiple builds and tests in a separate branch. Bug: 243966946 Test: abdt in nightly Change-Id: Ie90705de3145c06363536613e57c0de504b5eb1b
28 lines
727 B
Bash
Executable file
28 lines
727 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
function finalize_main() {
|
|
local top="$(dirname "$0")"/../..
|
|
|
|
# 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/finalize-aidl-vndk-sdk-resources.sh
|
|
|
|
# This command tests:
|
|
# The release state for AIDL.
|
|
# ABI difference between user and userdebug builds.
|
|
# Resource/SDK finalization.
|
|
# In the future, we would want to actually turn the branch into the REL
|
|
# state and test with that.
|
|
AIDL_FROZEN_REL=true $m droidcore
|
|
|
|
# Build SDK (TODO)
|
|
# lunch sdk...
|
|
# m ...
|
|
}
|
|
|
|
finalize_main
|
|
|