diff options
| author | 2019-03-21 22:21:39 -0700 | |
|---|---|---|
| committer | 2019-03-22 15:25:30 +0000 | |
| commit | 1001a7971a298f83ed833d5df151c5f5694912e8 (patch) | |
| tree | a0350de65958f83108d3fccead6bdf883ae8cf43 /java/java.go | |
| parent | e9665723daf413b25b0da46a45d7e6d5bc73941f (diff) | |
Rename jetifier property and add it to androidmk
Rename jetifier_enabled to jetifier since there are no users
yet and it is more consistent with the rest of the Soong
properties. Also add it to androidmk translation.
Fixes: 123524520
Test: androidmk_test.go
Change-Id: Ib4c688cf3cb171a822ddf7dd49467522c4c1276c
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go index 3eae93294..1fd0a9e31 100644 --- a/java/java.go +++ b/java/java.go @@ -1726,7 +1726,7 @@ type ImportProperties struct { Exclude_dirs []string // if set to true, run Jetifier against .jar file. Defaults to false. - Jetifier_enabled *bool + Jetifier *bool } type Import struct { @@ -1771,7 +1771,7 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) { outputFile := android.PathForModuleOut(ctx, "combined", jarName) TransformJarsToJar(ctx, outputFile, "for prebuilts", jars, android.OptionalPath{}, false, j.properties.Exclude_files, j.properties.Exclude_dirs) - if Bool(j.properties.Jetifier_enabled) { + if Bool(j.properties.Jetifier) { inputFile := outputFile outputFile = android.PathForModuleOut(ctx, "jetifier", jarName) TransformJetifier(ctx, outputFile, inputFile) |