commit | ab61f213e05c298b6f76bfd1c07c496f264a035e | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jan 04 14:27:36 2018 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Jan 04 14:32:14 2018 -0800 |
tree | 061ca6034b3aefd753b260c72da8e7c7daae6c45 | |
parent | d31ff8ff32c2a3a20c9a06b0829c4bcba55b85a2 [diff] |
Clear resource_export_package outside conditionals $(resource_export_package) is used by package_internal.mk outside ifeq ($(need_compile_res),true), but only cleared inside the conditional. This causes unnecessary dependencies to be added to an old value of $(resource_export_package). In rare cases, the dependency can be on itself, causing a dependency loop. Bug: 71571462 Test: m checkbuild Change-Id: I9fda7fe3bf9d208ad4ba2f8cdb184034bf43f044
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.