commit | b93411699498d893b7e8d71be73edb1f857c5079 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Feb 20 16:18:13 2020 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Mar 24 10:48:24 2020 -0700 |
tree | 64121e5a0faf1c33e0c3fe4af5d0694d78b63904 | |
parent | 0f113c208a8d4ca0dbc659aace12197025661d5e [diff] |
Use sdk variant of Soong modules when LOCAL_SDK_VERSION is set Soong now makes a variant of native modules that set sdk_version. Use the new variant for native modules or apps with JNI that are defined in Make and set LOCAL_SDK_VERSION. Test: m checkbuild Bug: 149591340 Change-Id: Ief378a007e43b0aea31fd5845410bbffec0ffae6
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.