Move GatherPackagingSpecs out of CopyDepsToZip
This gives a PackageModule a chance to filter/customize the contents of resulting package. Bug: 225121718 Test: m (no changes) Change-Id: I45505e8234dff42201dc40d4f038e7b08eea89f0
This commit is contained in:
@@ -95,7 +95,7 @@ func (m *packageTestModule) DepsMutator(ctx BottomUpMutatorContext) {
|
||||
|
||||
func (m *packageTestModule) GenerateAndroidBuildActions(ctx ModuleContext) {
|
||||
zipFile := PathForModuleOut(ctx, "myzip.zip")
|
||||
m.entries = m.CopyDepsToZip(ctx, zipFile)
|
||||
m.entries = m.CopyDepsToZip(ctx, m.GatherPackagingSpecs(ctx), zipFile)
|
||||
}
|
||||
|
||||
func runPackagingTest(t *testing.T, multitarget bool, bp string, expected []string) {
|
||||
|
Reference in New Issue
Block a user