Lines Matching refs:mod
36 func (mod *Module) subAndroidMk(data *android.AndroidMkData, obj interface{}) {
37 if mod.subAndroidMkOnce == nil {
38 mod.subAndroidMkOnce = make(map[subAndroidMkProvider]bool)
41 if !mod.subAndroidMkOnce[androidmk] {
42 mod.subAndroidMkOnce[androidmk] = true
43 androidmk.AndroidMk(mod, data)
48 func (mod *Module) AndroidMk() android.AndroidMkData {
49 if mod.Properties.HideFromMake {
56 OutputFile: mod.outputFile,
58 SubName: mod.subName,
61 if len(mod.Properties.AndroidMkRlibs) > 0 {
62 fmt.Fprintln(w, "LOCAL_RLIB_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkRlibs, " "))
64 if len(mod.Properties.AndroidMkDylibs) > 0 {
65 fmt.Fprintln(w, "LOCAL_DYLIB_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkDylibs, " "))
67 if len(mod.Properties.AndroidMkProcMacroLibs) > 0 {
68 …fmt.Fprintln(w, "LOCAL_PROC_MACRO_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkProcMacroLib…
70 if len(mod.Properties.AndroidMkSharedLibs) > 0 {
71 …fmt.Fprintln(w, "LOCAL_SHARED_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkSharedLibs, " "))
73 if len(mod.Properties.AndroidMkStaticLibs) > 0 {
74 …fmt.Fprintln(w, "LOCAL_STATIC_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkStaticLibs, " "))
79 if mod.compiler != nil {
80 mod.subAndroidMk(&ret, mod.compiler)
81 } else if mod.sourceProvider != nil {
82 mod.subAndroidMk(&ret, mod.sourceProvider)
84 ret.SubName += mod.Properties.SubName