commit | 22f4c322d63d19d392be689422be9e3e9c473410 | [log] [tgz] |
---|---|---|
author | Jim Tang <jimtang@google.com> | Mon Dec 17 15:21:53 2018 +0800 |
committer | Jim Tang <jimtang@google.com> | Sat Dec 22 11:19:40 2018 +0800 |
tree | 3d6869de51ab47981cec1d41c93ffc09402a8eb7 | |
parent | 4bc5c8fed5e4297e27bd3cb8e39b13750db0bdc0 [diff] |
Prevent PYTHONPATH from accumulatively growing. After running "lunch" multiple times, the global variable PYTHONPATH grows larger and larger with repetively content. This patch is to prevent PYTHONPATH from prepending redundant path. Bug: b/121110600 Test: $ source build/envsetup.sh && lunch $ echo $PYTHONPATH | sed 's/:/\n/g' $ lunch; lunch $ echo $PYTHONPATH | sed 's/:/\n/g' # not growing. Change-Id: Ifc36d071fb63bb1494bb0a94fdff477a41708c74
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.