commit | e5ddfcd004667bbbc47e017dc609ae3c4ef154b8 | [log] [tgz] |
---|---|---|
author | jiajia tang <tangjiajia@xiaomi.com> | Tue Jun 21 10:36:12 2022 +0800 |
committer | jiajia tang <tangjiajia@xiaomi.com> | Thu Jun 23 23:56:45 2022 +0000 |
tree | 6cf290024037a6fbc577990014e66428b520d7a5 | |
parent | 7c8dd8c3d46b5618a23c5e690b0f276bb6c9e09b [diff] |
Fix potential issues if str has spaces Uniform the split() function str.split() will return a list split all spaces in str, while str.split(' ') will return a list might contain '' which might have potential issues. Signed-off-by: jiajia tang <tangjiajia@xiaomi.com> Change-Id: I0961659b140f800bdbe285f63bb4f02b8459ff8b 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.