Merge "Soong: Add synopsis to cc_object module."

am: 5c45f684dd

Change-Id: Ic48e0d6800d3e0a00f45d72a6c5994fa3414281c
This commit is contained in:
Patrice Arruda 2019-03-27 15:55:17 -07:00 committed by android-build-merger
commit 3f056b869d
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ type objectLinker struct {
Properties ObjectLinkerProperties
}
// cc_object runs the compiler without running the linker. It is rarely
// necessary, but sometimes used to generate .s files from .c files to use as
// input to a cc_genrule module.
func ObjectFactory() android.Module {
module := newBaseModule(android.HostAndDeviceSupported, android.MultilibBoth)
module.linker = &objectLinker{