Loading apex/apex.go +7 −0 Original line number Diff line number Diff line Loading @@ -3289,6 +3289,7 @@ type bazelApexBundleAttributes struct { Prebuilts bazel.LabelListAttribute Native_shared_libs_32 bazel.LabelListAttribute Native_shared_libs_64 bazel.LabelListAttribute Compressible bazel.BoolAttribute } type convertedNativeSharedLibs struct { Loading Loading @@ -3366,6 +3367,11 @@ func (a *apexBundle) ConvertWithBp2build(ctx android.TopDownMutatorContext) { installableAttribute.Value = a.properties.Installable } var compressibleAttribute bazel.BoolAttribute if a.overridableProperties.Compressible != nil { compressibleAttribute.Value = a.overridableProperties.Compressible } attrs := &bazelApexBundleAttributes{ Manifest: manifestLabelAttribute, Android_manifest: androidManifestLabelAttribute, Loading @@ -3379,6 +3385,7 @@ func (a *apexBundle) ConvertWithBp2build(ctx android.TopDownMutatorContext) { Native_shared_libs_64: nativeSharedLibs.Native_shared_libs_64, Binaries: binariesLabelListAttribute, Prebuilts: prebuiltsLabelListAttribute, Compressible: compressibleAttribute, } props := bazel.BazelTargetModuleProperties{ Loading bp2build/apex_conversion_test.go +3 −1 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ apex { certificate: "com.android.apogee.certificate", updatable: false, installable: false, compressible: false, native_shared_libs: [ "native_shared_lib_1", "native_shared_lib_2", Loading Loading @@ -151,6 +152,7 @@ apex { ":pretend_prebuilt_2", ]`, "updatable": "False", "compressible": "False", }), }}) } Loading Loading
apex/apex.go +7 −0 Original line number Diff line number Diff line Loading @@ -3289,6 +3289,7 @@ type bazelApexBundleAttributes struct { Prebuilts bazel.LabelListAttribute Native_shared_libs_32 bazel.LabelListAttribute Native_shared_libs_64 bazel.LabelListAttribute Compressible bazel.BoolAttribute } type convertedNativeSharedLibs struct { Loading Loading @@ -3366,6 +3367,11 @@ func (a *apexBundle) ConvertWithBp2build(ctx android.TopDownMutatorContext) { installableAttribute.Value = a.properties.Installable } var compressibleAttribute bazel.BoolAttribute if a.overridableProperties.Compressible != nil { compressibleAttribute.Value = a.overridableProperties.Compressible } attrs := &bazelApexBundleAttributes{ Manifest: manifestLabelAttribute, Android_manifest: androidManifestLabelAttribute, Loading @@ -3379,6 +3385,7 @@ func (a *apexBundle) ConvertWithBp2build(ctx android.TopDownMutatorContext) { Native_shared_libs_64: nativeSharedLibs.Native_shared_libs_64, Binaries: binariesLabelListAttribute, Prebuilts: prebuiltsLabelListAttribute, Compressible: compressibleAttribute, } props := bazel.BazelTargetModuleProperties{ Loading
bp2build/apex_conversion_test.go +3 −1 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ apex { certificate: "com.android.apogee.certificate", updatable: false, installable: false, compressible: false, native_shared_libs: [ "native_shared_lib_1", "native_shared_lib_2", Loading Loading @@ -151,6 +152,7 @@ apex { ":pretend_prebuilt_2", ]`, "updatable": "False", "compressible": "False", }), }}) } Loading