Merge "Refactor java compileDex" am: 9eb51fc9d4
am: 46971c5469
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1360617 Change-Id: I574bbe46916d6e268956732f37022ba5f464fcaa
This commit is contained in:
@@ -1115,6 +1115,7 @@ func (module *SdkLibrary) createImplLibrary(mctx android.DefaultableHookContext)
|
||||
&module.properties,
|
||||
&module.protoProperties,
|
||||
&module.deviceProperties,
|
||||
&module.dexProperties,
|
||||
&module.dexpreoptProperties,
|
||||
&module.linter.properties,
|
||||
&props,
|
||||
@@ -1179,8 +1180,8 @@ func (module *SdkLibrary) createStubsLibrary(mctx android.DefaultableHookContext
|
||||
// We compile the stubs for 1.8 in line with the main android.jar stubs, and potential
|
||||
// interop with older developer tools that don't support 1.9.
|
||||
props.Java_version = proptools.StringPtr("1.8")
|
||||
if module.deviceProperties.Compile_dex != nil {
|
||||
props.Compile_dex = module.deviceProperties.Compile_dex
|
||||
if module.dexProperties.Compile_dex != nil {
|
||||
props.Compile_dex = module.dexProperties.Compile_dex
|
||||
}
|
||||
|
||||
// Dist the class jar artifact for sdk builds.
|
||||
|
Reference in New Issue
Block a user