summaryrefslogtreecommitdiff
path: root/rust/androidmk.go
diff options
context:
space:
mode:
author Mu-Le Lee <mulelee@google.com> 2022-07-05 09:49:50 +0000
committer Mu-Le Lee <mulelee@google.com> 2022-08-05 05:37:42 +0000
commit0a9005eaad1690a9bdcf31e492a4f94ca56fa2fd (patch)
tree503c22fa805545a9347749e767883406f9fb1b94 /rust/androidmk.go
parent5e04753bb62768d14f6531530abf642596a31a40 (diff)
Diff source dump and previous version dump for Cross-Version ABI Check
Created a function to determine the current finalization stage by environment variable and the existence of a version folder prebuilt/abi-dumps/<lib_type>/<platform_sdk_version>/. Assign the corresponding prevVersion with the current stage and generate mk commands to diff source and previous dump to {fileName}.{prevVersion}.abidiff with diff flag --allow-extension and --advice-only The test is verified in all stages. lsdumps should be prepared in advance. For stage 1: current/ and PLATFORM_SDK_VERSION/ For stage 2: current/ and {PLATFORM_SDK_VERSION-1}/ For stage 3: PLATFORM_SDK_VERSION/ and {PLATFORM_SDK_VERSION-1}/ The definition of stages could be found at "go/cross-version-abi-check#bookmark=id.vpflkul2z968" Test: make libbinder_ndk Bug: 238387082 Change-Id: Ic29456113a541650c75fa38c5c4f2d6d2e76a877
Diffstat (limited to 'rust/androidmk.go')
0 files changed, 0 insertions, 0 deletions