commit | 8b170358bab93f9ee728b9edfe5f4e0ec113ac9a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed May 09 15:28:28 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Fri May 11 02:22:54 2018 +0000 |
tree | 8e9a2896cf077aab64834a8131f433cbfcd4d962 | |
parent | 5bc27ea9f28ab2fa5622650004cf0171173405cc [diff] |
Allow 0 in math functions Allow non-negative integers instead of positive integers in math functions so that LOCAL_RENDERSCRIPT_TARGET_API := 0 can be compared against 21. Test: make -f ${ANDROID_BUILD_TOP}/build/make/core/math.mk RUN_MATH_TESTS=true Test: $(get_build_var CKATI) -f ${ANDROID_BUILD_TOP}/build/make/core/math.mk RUN_MATH_TESTS=true Change-Id: If2504b7de81f8dd676af749a04c9f3e580f298b6
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.