From 5cfc70d1f6317b73fea5ecc3b444e4ff43af8fa2 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 15 Jul 2019 13:36:55 -0700 Subject: [PATCH] Remove use of deprecated ExtractSourcesDeps Tag DexImportProperties.Jars with `android:"path"` and remove the call to ExtractSourcesDeps. Test: m checkbuild Change-Id: Ia106d48ecf7e3fc98637a757a9812edcf65f5b82 --- java/java.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/java.go b/java/java.go index 7c84e766f..b4d2dc4b4 100644 --- a/java/java.go +++ b/java/java.go @@ -2042,7 +2042,7 @@ func ImportFactoryHost() android.Module { // dex_import module type DexImportProperties struct { - Jars []string + Jars []string `android:"path"` } type DexImport struct { @@ -2070,10 +2070,6 @@ func (j *DexImport) Name() string { return j.prebuilt.Name(j.ModuleBase.Name()) } -func (j *DexImport) DepsMutator(ctx android.BottomUpMutatorContext) { - android.ExtractSourcesDeps(ctx, j.properties.Jars) -} - func (j *DexImport) GenerateAndroidBuildActions(ctx android.ModuleContext) { if len(j.properties.Jars) != 1 { ctx.PropertyErrorf("jars", "exactly one jar must be provided")