Lines Matching refs:Module
103 type Module struct { struct
134 func (mod *Module) Header() bool {
139 func (mod *Module) SetPreventInstall() {
143 func (mod *Module) SetHideFromMake() {
147 func (c *Module) HiddenFromMake() bool {
151 func (mod *Module) SanitizePropDefined() bool {
157 func (mod *Module) IsDependencyRoot() bool {
164 func (mod *Module) IsPrebuilt() bool {
171 func (mod *Module) OutputFiles(tag string) (android.Paths, error) {
187 func (mod *Module) SelectedStl() string {
191 func (mod *Module) NonCcVariants() bool {
200 func (mod *Module) Static() bool {
209 func (mod *Module) Shared() bool {
218 func (mod *Module) Dylib() bool {
227 func (mod *Module) Rlib() bool {
236 func (mod *Module) Binary() bool {
245 func (mod *Module) Object() bool {
250 func (mod *Module) Toc() android.OptionalPath {
259 func (mod *Module) UseSdk() bool {
263 func (mod *Module) RelativeInstallPath() string {
270 func (mod *Module) UseVndk() bool {
274 func (mod *Module) MustUseVendorVariant() bool {
278 func (mod *Module) SubName() string {
282 func (mod *Module) IsVndk() bool {
287 func (mod *Module) IsVndkExt() bool {
291 func (mod *Module) IsVndkSp() bool {
295 func (c *Module) IsVndkPrivate() bool {
299 func (c *Module) IsLlndk() bool {
303 func (c *Module) IsLlndkPublic() bool {
307 func (mod *Module) KernelHeadersDecorator() bool {
311 func (m *Module) NeedsLlndkVariants() bool {
315 func (m *Module) NeedsVendorPublicLibraryVariants() bool {
319 func (mod *Module) HasLlndkStubs() bool {
323 func (mod *Module) StubsVersion() string {
327 func (mod *Module) SdkVersion() string {
331 func (mod *Module) MinSdkVersion() string {
335 func (mod *Module) AlwaysSdk() bool {
339 func (mod *Module) IsSdkVariant() bool {
343 func (mod *Module) SplitPerApiLevel() bool {
467 func (mod *Module) isCoverageVariant() bool {
471 var _ cc.Coverage = (*Module)(nil)
473 func (mod *Module) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
477 func (mod *Module) VndkVersion() string {
481 func (mod *Module) PreventInstall() bool {
485 func (mod *Module) HideFromMake() {
489 func (mod *Module) MarkAsCoverageVariant(coverage bool) {
493 func (mod *Module) EnableCoverageIfNeeded() {
497 func defaultsFactory() android.Module {
506 func DefaultsFactory(props ...interface{}) android.Module {
532 func (mod *Module) CrateName() string {
536 func (mod *Module) CcLibrary() bool {
545 func (mod *Module) CcLibraryInterface() bool {
556 func (mod *Module) IncludeDirs() android.Paths {
565 func (mod *Module) SetStatic() {
575 func (mod *Module) SetShared() {
585 func (mod *Module) BuildStaticVariant() bool {
594 func (mod *Module) BuildSharedVariant() bool {
603 func (mod *Module) Module() android.Module { func
607 func (mod *Module) OutputFile() android.OptionalPath {
614 func (mod *Module) CoverageFiles() android.Paths {
621 func (mod *Module) installable(apexInfo android.ApexInfo) bool {
631 var _ cc.LinkableInterface = (*Module)(nil)
633 func (mod *Module) Init() android.Module {
660 func newBaseModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
661 return &Module{
666 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
690 RustModule() *Module
706 func (ctx *moduleContext) RustModule() *Module {
707 return ctx.Module().(*Module)
714 func (ctx *depsContext) RustModule() *Module {
715 return ctx.Module().(*Module)
722 func (ctx *baseModuleContext) RustModule() *Module {
723 return ctx.Module().(*Module)
730 func (mod *Module) nativeCoverage() bool {
734 func (mod *Module) EverInstallable() bool {
740 func (mod *Module) Installable() *bool {
744 func (mod *Module) toolchain(ctx android.BaseModuleContext) config.Toolchain {
751 func (mod *Module) ccToolchain(ctx android.BaseModuleContext) cc_config.Toolchain {
758 func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
812 sourceLib := sourceMod.(*Module).compiler.(*libraryDecorator)
832 func (mod *Module) deps(ctx DepsContext) Deps {
911 func (mod *Module) begin(ctx BaseModuleContext) {
920 func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
923 directRlibDeps := []*Module{}
924 directDylibDeps := []*Module{}
925 directProcMacroDeps := []*Module{}
928 directSrcProvidersDeps := []*Module{}
931 ctx.VisitDirectDeps(func(dep android.Module) {
935 if rustDep, ok := dep.(*Module); ok && !rustDep.CcLibraryInterface() {
1004 if _, ok := ccDep.(*Module); !ok {
1005 if ccDep.Module().Target().Os != ctx.Os() {
1009 if ccDep.Module().Target().Arch.ArchType != ctx.Arch().ArchType {
1142 func (mod *Module) InstallInData() bool {
1153 func (mod *Module) DepsMutator(actx android.BottomUpMutatorContext) {
1236 if mod, ok := ctx.Module().(*Module); ok && mod.Enabled() {
1241 func (mod *Module) beginMutator(actx android.BottomUpMutatorContext) {
1249 func (mod *Module) Name() string {
1259 func (mod *Module) disableClippy() {
1265 var _ android.HostToolProvider = (*Module)(nil)
1267 func (mod *Module) HostToolPath() android.OptionalPath {
1277 var _ android.ApexModule = (*Module)(nil)
1279 func (mod *Module) minSdkVersion() string {
1283 var _ android.ApexModule = (*Module)(nil)
1286 func (mod *Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion android.ApiLev…
1309 func (mod *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool { argument
1312 if ccm, ok := dep.(*cc.Module); ok {
1343 func (mod *Module) IsInstallableToApex() bool {
1370 var _ android.OutputFileProducer = (*Module)(nil)