Merge "Soong: Add synopsis to cc_object module." am: 5c45f684dd

am: 3f056b869d

Change-Id: Ibdd4f7dc72658b05d9f8e4a0012390931f4dab32
This commit is contained in:
Patrice Arruda 2019-03-27 16:01:15 -07:00 committed by android-build-merger
commit aeca13f9ab
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{