summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorUlya Trafimovich <skvadrik@google.com>2021-03-03 16:38:37 +0000
committerUlya Trafimovich <skvadrik@google.com>2021-03-15 13:50:49 +0000
commit0aba252e157457143b455511f1f811107015c3c1 (patch)
tree9e522549bd584620aa8225bb4daba31ffb7ab5e4 /java/java_test.go
parent2338d6f6e479c0227d13f6eb25dda28ae5b87229 (diff)
Reimplement verify_uses_libraries.sh in manifest_check.py.
Previously there were two different scripts that did similar things: 1) build/soong/scripts/manifest_check.py 2) build/make/core/verify_uses_libraries.sh Both scripts extracted <uses-library> tags and `targetSdkVersion` from the manifests of Java modules, but 1) worked for XML manifests, and 2) worked for APKs. This CL reimplements the functionality from 2) in 1), so that one script can handle both XML manifests and APKs. Bug: 132357300 Test: lunch cf_x86_64_phone-userdebug && m && launch_cvd \ adb wait-for-device && adb root && adb logcat \ | grep -E 'ClassLoaderContext [a-z ]+ mismatch' # empty grep output, no errors Change-Id: Id1b66e4f3f30f307dba70cb111c7571762cb546a
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions