diff options
author | Jiyong Park <jiyong@google.com> | 2019-06-12 13:27:29 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2019-06-12 13:28:11 +0900 |
commit | fc752ca1acaa28bba827eea1d9fd87a8f77b107d (patch) | |
tree | b4afabc028eb6426022e046088e1f8823415593b /genrule | |
parent | d7607c1c99d445d3aae93c25f492ed7a6fc53c07 (diff) | |
download | build_soong-fc752ca1acaa28bba827eea1d9fd87a8f77b107d.tar.gz build_soong-fc752ca1acaa28bba827eea1d9fd87a8f77b107d.tar.bz2 build_soong-fc752ca1acaa28bba827eea1d9fd87a8f77b107d.zip |
Let genrule be mutatable by the apex mutator
genrule modules were not mutated by the apex mutator. As a result, a
module that is mutated for an apex have depended on the genrule modules
host_bionic_linker_{asm|flags} that are not mutated for the APEX.
This in turn caused an inconsistency problem because the
host_bionic_linker_* genrules use the dynamic linker that isn't mutated
for APEX as an input, while the outputs of the genrules are used by
modules mutated for APEX. The inconsistency caused b/135008828.
Fixing this issue by correctly let genrule to be mutated by the apex
mutator.
Bug: 135008828
Test: checkout master-art-host
ALLOW_MISSING_DEPENDENCIES=true DIST_DIR=out/dist
./art/tools/dist_linux_bionic.sh -j50 showcommands
com.android.runtime.host
is passing
Change-Id: I92d90400c61d3951f6202d932832d0cb63c95a7d
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index 87e6747e..34adbc06 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -101,6 +101,7 @@ type generatorProperties struct { type Module struct { android.ModuleBase android.DefaultableModuleBase + android.ApexModuleBase // For other packages to make their own genrules with extra // properties |