• Home
  • Raw
  • Download

Lines Matching refs:c

53 func (c *Module) subAndroidMk(entries *android.AndroidMkEntries, obj interface{}) {
54 if c.subAndroidMkOnce == nil {
55 c.subAndroidMkOnce = make(map[subAndroidMkProvider]bool)
58 if !c.subAndroidMkOnce[androidmk] {
59 c.subAndroidMkOnce[androidmk] = true
60 androidmk.AndroidMkEntries(c, entries)
65 func (c *Module) AndroidMkEntries() []android.AndroidMkEntries {
66 if c.Properties.HideFromMake || !c.IsForPlatform() {
73 OutputFile: c.outputFile,
78 Required: c.Properties.AndroidMkRuntimeLibs,
83 if len(c.Properties.Logtags) > 0 {
84 entries.AddStrings("LOCAL_LOGTAGS_FILES", c.Properties.Logtags...)
86 if len(c.Properties.AndroidMkSharedLibs) > 0 {
87 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...)
89 if len(c.Properties.AndroidMkStaticLibs) > 0 {
90 entries.AddStrings("LOCAL_STATIC_LIBRARIES", c.Properties.AndroidMkStaticLibs...)
92 if len(c.Properties.AndroidMkWholeStaticLibs) > 0 {
93 entries.AddStrings("LOCAL_WHOLE_STATIC_LIBRARIES", c.Properties.AndroidMkWholeStaticLibs...)
95 entries.SetString("LOCAL_SOONG_LINK_TYPE", c.makeLinkType)
96 if c.UseVndk() {
98 if c.IsVndk() && !c.static() {
99 entries.SetString("LOCAL_SOONG_VNDK_VERSION", c.VndkVersion())
102 if !c.isVndkExt() {
107 if c.Properties.IsSdkVariant && c.Properties.SdkAndPlatformVariantVisibleToMake {
120 if c.Properties.IsSdkVariant && c.Properties.SdkAndPlatformVariantVisibleToMake &&
121 c.CcLibraryInterface() && c.Shared() {
133 for _, feature := range c.features {
134 c.subAndroidMk(&entries, feature)
137 c.subAndroidMk(&entries, c.compiler)
138 c.subAndroidMk(&entries, c.linker)
139 if c.sanitize != nil {
140 c.subAndroidMk(&entries, c.sanitize)
142 c.subAndroidMk(&entries, c.installer)
144 entries.SubName += c.Properties.SubName
441 func (c *stubDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEntries) {
442 entries.SubName = ndkLibrarySuffix + "." + c.properties.ApiLevel
446 path, file := filepath.Split(c.installPath.String())
455 func (c *llndkStubDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEntri…
459 c.libraryDecorator.androidMkWriteExportedFlags(entries)
465 entries.SetString("LOCAL_SOONG_TOC", c.toc().String())
469 func (c *vndkPrebuiltLibraryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.Andr…
472 entries.SubName = c.androidMkSuffix
475 c.libraryDecorator.androidMkWriteExportedFlags(entries)
477 path, file := filepath.Split(c.path.ToMakePath().String())
483 if c.tocFile.Valid() {
484 entries.SetString("LOCAL_SOONG_TOC", c.tocFile.String())
489 func (c *vendorSnapshotLibraryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.An…
492 if c.shared() {
494 } else if c.static() {
496 } else if c.header() {
500 if c.androidMkVendorSuffix {
507 c.libraryDecorator.androidMkWriteExportedFlags(entries)
509 if c.shared() || c.static() {
510 path, file := filepath.Split(c.path.ToMakePath().String())
515 if c.shared() {
518 if c.tocFile.Valid() {
519 entries.SetString("LOCAL_SOONG_TOC", c.tocFile.String())
523 if !c.shared() { // static or header
529 func (c *vendorSnapshotBinaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.And…
532 if c.androidMkVendorSuffix {
539 entries.AddStrings("LOCAL_MODULE_SYMLINKS", c.Properties.Symlinks...)
543 func (c *vendorSnapshotObjectLinker) AndroidMkEntries(ctx AndroidMkContext, entries *android.Androi…
546 if c.androidMkVendorSuffix {
562 func (c *ndkPrebuiltStlLinker) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
566 func (c *vendorPublicLibraryStubDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.…
571 c.libraryDecorator.androidMkWriteExportedFlags(entries)