Home
last modified time | relevance | path

Searched refs:DeviceConfig (Results 1 – 25 of 44) sorted by relevance

12

/build/soong/cc/
Dgenrule.go80 if ctx.DeviceConfig().VndkVersion() == "" {
84 if ctx.DeviceConfig().ProductVndkVersion() != "" && ctx.ProductSpecific() {
106 recoverySnapshotVersion := ctx.DeviceConfig().RecoverySnapshotVersion()
116 if ctx.DeviceConfig().VndkVersion() == "" {
122 vndkVersion := ctx.DeviceConfig().VndkVersion()
128 variants = append(variants, VendorVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
134 if ctx.DeviceConfig().ProductVndkVersion() == "" {
139 variants = append(variants, ProductVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
140 if vndkVersion := ctx.DeviceConfig().ProductVndkVersion(); vndkVersion != "current" {
Dsnapshot_utils.go108 if ctx.DeviceConfig().VndkVersion() != "current" &&
109 ctx.DeviceConfig().RecoverySnapshotVersion() != "current" {
112 if _, ok := isVndkSnapshotAware(ctx.DeviceConfig(), m, apexInfo); ok {
117 …if isSnapshotAware(ctx.DeviceConfig(), m, image.IsProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfi…
Dsnapshot_prebuilt.go36 imageVariantName(cfg android.DeviceConfig) string argument
51 func (vendorSnapshotImage) imageVariantName(cfg android.DeviceConfig) string {
59 func (recoverySnapshotImage) imageVariantName(cfg android.DeviceConfig) string {
124 cfg := ctx.DeviceConfig()
151 return []string{s.image.imageVariantName(ctx.DeviceConfig())}
176 ctx.DeviceConfig().Arches()[0].ArchType.String())
221 imageNameVersion := strings.Split(s.image.imageVariantName(ctx.DeviceConfig()), ".")
322 Variation: ProductVariationPrefix + ctx.DeviceConfig().PlatformVndkVersion()})
337 Variation: image.imageVariantName(ctx.DeviceConfig())})
344 ctx.DeviceConfig().Arches()[0].ArchType.String())) {
[all …]
Dvndk_prebuilt.go136 if !p.MatchesWithDevice(ctx.DeviceConfig()) {
164 vndkVersion := ctx.DeviceConfig().VndkVersion()
185 func (p *vndkPrebuiltLibraryDecorator) MatchesWithDevice(config android.DeviceConfig) bool {
242 if ctx.DeviceConfig().VndkVersion() == "" {
Dvndk.go317 if mctx.DeviceConfig().VndkUseCoreVariant() && !m.Properties.MustUseVendorVariant {
358 …if p, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok && !p.MatchesWithDevice(mctx.DeviceConfig
364 if mctx.DeviceConfig().VndkVersion() == "" {
372 useCoreVariant := m.VndkVersion() == mctx.DeviceConfig().PlatformVndkVersion() &&
373 mctx.DeviceConfig().VndkUseCoreVariant() && !m.MustUseVendorVariant()
516 filename = insertVndkVersion(txt.Name(), ctx.DeviceConfig().PlatformVndkVersion())
590 func isVndkSnapshotAware(config android.DeviceConfig, m LinkableInterface, argument
628 if ctx.DeviceConfig().VndkVersion() != "current" {
632 if ctx.DeviceConfig().PlatformVndkVersion() == "" {
671 snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
[all …]
Dcoverage.go81 return ctx.DeviceConfig().ClangCoverageContinuousMode()
85 clangCoverage := ctx.DeviceConfig().ClangCoverageEnabled()
86 gcovCoverage := ctx.DeviceConfig().GcovCoverageEnabled()
187 if !ctx.DeviceConfig().NativeCoverageEnabled() {
206 needCoverageBuild = ctx.DeviceConfig().NativeCoverageEnabledForPath(ctx.ModuleDir())
Dvendor_snapshot.go55 func isSnapshotAware(cfg android.DeviceConfig, m LinkableInterface, inProprietaryPath bool, apexInf… argument
363 inProprietaryPath := s.Image.IsProprietaryPath(moduleDir, ctx.DeviceConfig())
375 if !isSnapshotAware(ctx.DeviceConfig(), m, inProprietaryPath, apexInfo, s.Image) {
384 if s.Image.ExcludeFromDirectedSnapshot(ctx.DeviceConfig(), m.BaseModuleName()) {
Dkernel_headers.go28 f.reexportSystemDirs(android.PathsForSource(ctx, ctx.DeviceConfig().DeviceKernelHeaderDirs())...)
Dpgo.go46 func getPgoProfileProjects(config android.DeviceConfig) []string { argument
104 for _, profileProject := range getPgoProfileProjects(ctx.DeviceConfig()) {
261 if ctx.DeviceConfig().ClangCoverageEnabled() {
Dafdo.go37 func getAfdoProfileProjects(config android.DeviceConfig) []string { argument
82 for _, profileProject := range getAfdoProfileProjects(ctx.DeviceConfig()) {
Dimage.go428 platformVndkVersion := mctx.DeviceConfig().PlatformVndkVersion()
429 boardVndkVersion := mctx.DeviceConfig().VndkVersion()
430 productVndkVersion := mctx.DeviceConfig().ProductVndkVersion()
431 recoverySnapshotVersion := mctx.DeviceConfig().RecoverySnapshotVersion()
698 vndkVersion := ctx.DeviceConfig().VndkVersion()
/build/soong/snapshot/
Drecovery_snapshot.go40 func isRecoveryProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool { argument
48 if isRecoveryProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
81 return ctx.DeviceConfig().RecoverySnapshotVersion() == "current"
94 func (RecoverySnapshotImage) IsProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool {
108 func (RecoverySnapshotImage) IsUsingSnapshot(cfg android.DeviceConfig) bool {
113 func (RecoverySnapshotImage) TargetSnapshotVersion(cfg android.DeviceConfig) string {
117 func (RecoverySnapshotImage) ExcludeFromDirectedSnapshot(cfg android.DeviceConfig, name string) boo…
Dvendor_snapshot.go52 func isVendorProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool { argument
59 if isVendorProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
91 return ctx.DeviceConfig().VndkVersion() == "current"
105 func (VendorSnapshotImage) IsProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool {
120 func (VendorSnapshotImage) IsUsingSnapshot(cfg android.DeviceConfig) bool {
125 func (VendorSnapshotImage) TargetSnapshotVersion(cfg android.DeviceConfig) string {
130 func (VendorSnapshotImage) ExcludeFromDirectedSnapshot(cfg android.DeviceConfig, name string) bool {
Dsnapshot_base.go41 IsProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool argument
49 IsUsingSnapshot(cfg android.DeviceConfig) bool argument
53 TargetSnapshotVersion(cfg android.DeviceConfig) string argument
58 ExcludeFromDirectedSnapshot(cfg android.DeviceConfig, name string) bool argument
Dsnapshot.go76 snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
Dhost_fake_snapshot.go97 if !ctx.DeviceConfig().HostFakeSnapshotEnabled() {
/build/soong/apex/
Dvndk.go48 func (a *apexBundle) vndkVersion(config android.DeviceConfig) string { argument
67 vndkVersion := ab.vndkVersion(mctx.DeviceConfig())
78 vndkVersion = mctx.DeviceConfig().PlatformVndkVersion()
80 if vndkVersion == mctx.DeviceConfig().PlatformVndkVersion() {
127 if !ctx.Config().Android64() || ctx.DeviceConfig().DeviceSecondaryArch() != "" {
Dkey.go150 partition: m.PartitionTag(ctx.DeviceConfig()),
163 partition: m.PartitionTag(ctx.DeviceConfig()),
175 partition: m.PartitionTag(ctx.DeviceConfig()),
/build/soong/java/
Drro.go101 partition = ctx.DeviceConfig().OdmPath()
103 partition = ctx.DeviceConfig().VendorPath()
105 partition = ctx.DeviceConfig().SystemExtPath()
107 partition = ctx.DeviceConfig().ProductPath()
133 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(ctx.ModuleNam…
/build/soong/android/
Dsingleton.go24 DeviceConfig() DeviceConfig methodSpec
138 func (s *singletonContextAdaptor) DeviceConfig() DeviceConfig { func
139 return DeviceConfig{s.Config().deviceConfig}
Dsdk_version.go131 currentSdkVersion := ctx.DeviceConfig().CurrentApiLevelForVendorModules()
274 allowedVersions := ctx.DeviceConfig().PlatformSystemSdkVersions()
276 systemSdkVersions := ctx.DeviceConfig().SystemSdkVersions()
Dmakevars.go44 DeviceConfig() DeviceConfig methodSpec
522 func (c *makeVarsContext) DeviceConfig() DeviceConfig { func
523 return DeviceConfig{c.Config().deviceConfig}
/build/soong/rust/
Dsnapshot_prebuilt.go87 if !library.MatchesWithDevice(ctx.DeviceConfig()) {
117 func (library *snapshotLibraryDecorator) MatchesWithDevice(config android.DeviceConfig) bool {
Dcoverage.go51 if !ctx.DeviceConfig().NativeCoverageEnabled() {
/build/make/tools/fs_config/
Dfs_config.go45 if ret := ctx.DeviceConfig().TargetFSConfigGen(); len(ret) != 0 {

12