Finalize SDK in CI using local_mode.
Bug: 260755259 Test: run locally Change-Id: I72aabbd69865e4648ba01230dd2354431ec2e650
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
set -ex
|
||||
|
||||
function revert_droidstubs_hack() {
|
||||
if grep -q 'STOPSHIP: RESTORE THIS LOGIC WHEN DECLARING "REL" BUILD' "$top/build/soong/java/droidstubs.go" ; then
|
||||
if grep -q 'STOPSHIP: RESTORE THIS LOGIC WHEN DECLARING "REL" BUILD' "$top/build/soong/java/droidstubs.go" ; then
|
||||
git -C "$top/build/soong" apply --allow-empty ../../build/make/tools/finalization/build_soong_java_droidstubs.go.revert_hack.diff
|
||||
fi
|
||||
}
|
||||
|
||||
function apply_prerelease_sdk_hack() {
|
||||
if ! grep -q 'STOPSHIP: hack for the pre-release SDK' "$top/frameworks/base/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java" ; then
|
||||
if ! grep -q 'STOPSHIP: hack for the pre-release SDK' "$top/frameworks/base/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java" ; then
|
||||
git -C "$top/frameworks/base" apply --allow-empty ../../build/make/tools/finalization/frameworks_base.apply_hack.diff
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user