commit | 36c1f678a3fcb8a8a5733806de1275d37c1c6441 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Tue May 28 17:17:47 2019 +0900 |
committer | Jooyung Han <jooyung@google.com> | Fri May 31 07:24:42 2019 +0900 |
tree | 7313671166086cac7aa2fb9e3853e0fb7cb1e631 | |
parent | 81feca7af29749a104f1accf565c847d6513e8d1 [diff] |
fix: wrong dependency from ETC to libc++.so There are prebuilt modules which are meant to be just copied. e.g. ETC,SCRIPT,DATA files The problem for current prebuilt_internal.mk is that those modules are handled by cc_prebuilt_internal.mk, which adds libc++ as dependency, which is simply wrong with copy-only prebuilt modules. As a fix, misc_prebuilt_internal.mk is introduced to handle ETC,SCRIPT,DATA prebuilt modules and doesn't do additional processing. Bug: 132925121 Test: m nothing && check build-<TARGET>.ninja if there is no dependency to libc++ from ETC modules such as /system/etc/sepolicy_test Change-Id: I846f8e1f3741ca71c86f5420cfaafa7419ebf3f6
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.