diff options
author | Jiyong Park <jiyong@google.com> | 2020-09-09 13:18:02 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-09-09 13:19:56 +0900 |
commit | 41f637d6533d75823fbaf878eed2b3017cfe1a9a (patch) | |
tree | f112e0e72528de88075f70fe91b52cb87fdfe2d9 /java/java.go | |
parent | daf735287b62659811c0b8bb9c95fe61e6ab266e (diff) |
Notice files for prebuilt_etc are included in APEX
This change fixes a bug that notice files for some module type (e.g.
prebuilt_etc) were not included in APEX. This happened because we relied
on WalkPayloadDeps which actually doesn't traverse module types that
don't implement ApexModule interface. prebuilt_etc is one such module
type. Fixing the problem by also iterating the filesInfo array which
has info about all modules that are included in the APEX.
Bug: 166575301
Test: m com.android.tzdata and inspect the built artifact.
NOTICE.html.gz is there.
Change-Id: Iceb055b60184aef2a3e65e44680304853eb79a53
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions