Merge "Soong: Add synopsis to cc_object module."

This commit is contained in:
Patrice Arruda 2019-03-27 22:38:28 +00:00 committed by Gerrit Code Review
commit 5c45f684dd
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{