Lines Matching refs:module
218 module, library := NewLibrary(android.DeviceSupported)
220 module.stl = nil
221 module.sanitize = nil
236 module.compiler = nil
237 module.linker = prebuilt
238 module.installer = prebuilt
240 module.AddProperties(
244 return module, prebuilt
248 module, prebuilt := vendorSnapshotLibrary()
250 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
253 return module.Init()
257 module, prebuilt := vendorSnapshotLibrary()
259 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
262 return module.Init()
266 module, prebuilt := vendorSnapshotLibrary()
268 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
271 return module.Init()
357 module, binary := NewBinary(android.DeviceSupported)
370 module.compiler = nil
371 module.sanitize = nil
372 module.stl = nil
373 module.linker = prebuilt
375 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
379 module.AddProperties(&prebuilt.properties)
380 return module.Init()
451 module := newObject()
458 module.linker = prebuilt
460 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
464 module.AddProperties(&prebuilt.properties)
465 return module.Init()
788 ctx.VisitAllModules(func(module android.Module) {
789 m, ok := module.(*Module)
794 moduleDir := ctx.ModuleDir(module)
873 module, ok := ctx.Module().(*Module)
874 if !ok || !module.Enabled() || module.VndkVersion() != vndkVersion {
878 if !module.isSnapshotPrebuilt() {
883 if !module.linker.(snapshotInterface).matchesWithDevice(ctx.DeviceConfig()) {
886 if !module.IsVndk() {
887 module.Disable()
894 if lib, ok := module.linker.(libraryInterface); ok {
903 } else if _, ok := module.linker.(*vendorSnapshotBinaryDecorator); ok {
905 } else if _, ok := module.linker.(*vendorSnapshotObjectLinker); ok {
913 snapshotMap.add(module.BaseModuleName(), ctx.Arch().ArchType, ctx.ModuleName())
928 module, ok := ctx.Module().(*Module)
934 if !module.SocSpecific() {
937 ramdisk_available := module.InRamdisk() && !module.OnlyInRamdisk()
938 recovery_available := module.InRecovery() && !module.OnlyInRecovery()
948 if module.isSnapshotPrebuilt() || module.VndkVersion() != ctx.DeviceConfig().VndkVersion() {
954 if module.isLlndk(ctx.Config()) {
960 if lib, ok := module.linker.(libraryInterface); ok {
969 } else if module.binary() {
971 } else if module.object() {
983 if lib, ok := module.linker.(libraryInterface); ok && lib.buildStatic() && lib.buildShared() {
985 module.SkipInstall()
986 module.Properties.HideFromMake = true
988 module.Disable()