Lines Matching refs:a
30 func (a *apexBundle) AndroidMk() android.AndroidMkData {
31 if a.properties.HideFromMake {
37 writers = append(writers, a.androidMkForType())
46 func (a *apexBundle) androidMkForFiles(w io.Writer, apexBundleName, apexName, moduleDir string) []s…
52 apexType := a.properties.ApexType
56 if !a.primaryApexType && apexType != flattenedApex {
64 symbolFilesNotNeeded := a.vndkApex && len(a.overridableProperties.Overrides) > 0
70 for _, fi := range a.filesInfo {
71 if a.linkToSystemLib && fi.transitiveDep && fi.AvailableToPlatform() {
74 linkPath := filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.Path())
81 for _, fi := range a.filesInfo {
86 linkToSystemLib := a.linkToSystemLib && fi.transitiveDep && fi.AvailableToPlatform()
92 moduleName = fi.moduleName + "." + apexBundleName + a.suffix
119 modulePath = filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.installDir)
121 if a.primaryApexType && !symbolFilesNotNeeded {
226 if fi.builtFile == a.manifestPbOut && apexType == flattenedApex {
227 if a.primaryApexType {
231 for _, o := range a.overridableProperties.Overrides {
232 patterns = append(patterns, "%."+o+a.suffix)
236 if len(a.compatSymlinks) > 0 {
238 postInstallCommands = append(postInstallCommands, a.compatSymlinks...)
249 if fi.moduleName != moduleName && a.primaryApexType {
257 func (a *apexBundle) writeRequiredModules(w io.Writer) {
261 for _, fi := range a.filesInfo {
278 func (a *apexBundle) androidMkForType() android.AndroidMkData {
282 apexType := a.properties.ApexType
283 if a.installable() {
284 apexName := proptools.StringDefault(a.properties.Apex_name, name)
285 moduleNames = a.androidMkForFiles(w, name, apexName, moduleDir)
292 fmt.Fprintln(w, "LOCAL_MODULE :=", name+a.suffix)
296 a.writeRequiredModules(w)
302 fmt.Fprintln(w, "LOCAL_MODULE :=", name+a.suffix)
304 fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", a.outputFile.String())
305 fmt.Fprintln(w, "LOCAL_MODULE_PATH :=", a.installDir.ToMakePath().String())
307 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE :=", !a.installable())
308 …fmt.Fprintln(w, "LOCAL_OVERRIDES_MODULES :=", strings.Join(a.overridableProperties.Overrides, " "))
312 if len(a.requiredDeps) > 0 {
313 fmt.Fprintln(w, "LOCAL_REQUIRED_MODULES +=", strings.Join(a.requiredDeps, " "))
315 a.writeRequiredModules(w)
317 if a.prebuiltFileToDelete != "" {
319 filepath.Join(a.installDir.ToMakePath().String(), a.prebuiltFileToDelete))
322 postInstallCommands = append(postInstallCommands, a.compatSymlinks...)
327 if a.mergedNotices.Merged.Valid() {
328 fmt.Fprintln(w, "LOCAL_NOTICE_FILE :=", a.mergedNotices.Merged.Path().String())
334 fmt.Fprintln(w, "ALL_MODULES.$(LOCAL_MODULE).BUNDLE :=", a.bundleModuleFile.String())
336 if len(a.lintReports) > 0 {
338 strings.Join(a.lintReports.Strings(), " "))
341 if a.installedFilesFile != nil {
346 goal, a.installedFilesFile.String(), distFile)