Revert "Split asm and c flags and srcs in bp2build output"
Revert submission 1714835-roboleaf-asm-c Reason for revert: TestCcLibraryStaticProductVariableSelects fails everywhere Reverted Changes: I28cf7437e:Split asm and c flags and srcs in bp2build output I2b47e6b55:Split libraries by language in cc_library_static Change-Id: I85d39a462f0a5b3f5ff3d685906813fab9f01358
This commit is contained in:
@@ -185,14 +185,8 @@ func ObjectBp2Build(ctx android.TopDownMutatorContext) {
|
||||
}
|
||||
// TODO(b/183595872) warn/error if we're not handling product variables
|
||||
|
||||
// Don't split cc_object srcs across languages. Doing so would add complexity,
|
||||
// and this isn't typically done for cc_object.
|
||||
srcs := compilerAttrs.srcs
|
||||
srcs.Append(compilerAttrs.cSrcs)
|
||||
srcs.Append(compilerAttrs.asSrcs)
|
||||
|
||||
attrs := &bazelObjectAttributes{
|
||||
Srcs: srcs,
|
||||
Srcs: compilerAttrs.srcs,
|
||||
Deps: deps,
|
||||
Copts: compilerAttrs.copts,
|
||||
Asflags: asFlags,
|
||||
|
Reference in New Issue
Block a user