commit | 358875fbe6b595666c46dc21861816d4efffbf80 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Dec 29 16:53:09 2023 +0900 |
committer | Jooyung Han <jooyung@google.com> | Thu Jan 04 10:48:51 2024 +0900 |
tree | 3cd69bf05b20667709459d12ca77338af4a25467 | |
parent | 2e137a99636b16f8295312ec074f14fc26a716d0 [diff] |
Pass LOCAL_MIN_SDK_VERSION to clang triple Like soong modules, pass LOCAL_MIN_SDK_VERSION to clang when it's set. Bug: 317676192 Test: manual check (set LOCAL_MIN_SDK_VERSION as 34 for wpa_supplicant and see if generated build commands has android34) Change-Id: I48928e54417f47f2e0c2417f04e5893764c3edb9
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.