diff --git a/cc/object.go b/cc/object.go index b9c57429d..c9ca07acc 100644 --- a/cc/object.go +++ b/cc/object.go @@ -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{