commit | 7e0c12b1ba22d29a61947a331dcfd910b6ded8d9 | [log] [tgz] |
---|---|---|
author | jiajia tang <tangjiajia@xiaomi.com> | Wed Jun 15 22:31:42 2022 +0800 |
committer | jiajia tang <tangjiajia@xiaomi.com> | Wed Jun 15 15:06:38 2022 +0000 |
tree | 8bcbbe063bda72900e71168f5c1fa8cf14f6519d | |
parent | 6ebfaa453b576a0a803500d93638bff0c707b6ec [diff] |
Fix potential error for sys.platform This CL is to fix gap between python2.x and 3.x. For python2.x: sys.platform returns 'linux2' For python3.x: sys.platform returns 'linux' python3.x(https://docs.python.org/3.6/library/sys.html#sys.platform) python2.x(https://docs.python.org/2.7/library/sys.html#sys.platform) Both 2.x and 3.x recommend to use 'startswith' to identify sys.platform. Change-Id: Id5a0a007518b329d1320baf96ecf1164cd3ebec1 Signed-off-by: jiajia tang <tangjiajia@xiaomi.com>
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.