convert cc_object crt property in bp2build
Bug: 263905692 Change-Id: I71e3fc4a42954c2d1f9f631d012949b81f4536de
This commit is contained in:
@@ -142,6 +142,7 @@ type bazelObjectAttributes struct {
|
||||
Absolute_includes bazel.StringListAttribute
|
||||
Stl *string
|
||||
Linker_script bazel.LabelAttribute
|
||||
Crt *bool
|
||||
sdkAttributes
|
||||
}
|
||||
|
||||
@@ -208,6 +209,7 @@ func objectBp2Build(ctx android.TopDownMutatorContext, m *Module) {
|
||||
Absolute_includes: compilerAttrs.absoluteIncludes,
|
||||
Stl: compilerAttrs.stl,
|
||||
Linker_script: linkerScript,
|
||||
Crt: m.linker.(*objectLinker).Properties.Crt,
|
||||
sdkAttributes: bp2BuildParseSdkAttributes(m),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user