commit | a2404510af5ead1b8dae72e024f50d710536f663 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Wed Mar 03 16:24:18 2021 +0000 |
committer | Ulya Trafimovich <skvadrik@google.com> | Mon Mar 15 13:50:57 2021 +0000 |
tree | fa28ca10f1c8078bd2ad29c39b892a979d9825a4 | |
parent | 4d71d704961694cff93131874c8786583bddfcf6 [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: I386aa1a37699182cdf6f3f94ef8aa7b96a4017d3
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.