diff options
| author | 2019-07-15 13:36:55 -0700 | |
|---|---|---|
| committer | 2019-07-16 09:52:23 -0700 | |
| commit | 5cfc70d1f6317b73fea5ecc3b444e4ff43af8fa2 (patch) | |
| tree | 7dbd6a84ce99c11d76435c82a64a287cc30c6657 /java/java.go | |
| parent | 527f3e5511061568e9b98cecd1299f490f836ee8 (diff) | |
Remove use of deprecated ExtractSourcesDeps
Tag DexImportProperties.Jars with `android:"path"` and remove the
call to ExtractSourcesDeps.
Test: m checkbuild
Change-Id: Ia106d48ecf7e3fc98637a757a9812edcf65f5b82
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 6 | 
1 files changed, 1 insertions, 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")  |