Home
last modified time | relevance | path

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

12

/build/soong/cc/
Dgenrule.go56 if ctx.DeviceConfig().VndkVersion() == "" {
60 if ctx.DeviceConfig().ProductVndkVersion() != "" && ctx.ProductSpecific() {
76 if ctx.DeviceConfig().VndkVersion() == "" {
82 vndkVersion := ctx.DeviceConfig().VndkVersion()
88 variants = append(variants, VendorVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
94 if ctx.DeviceConfig().ProductVndkVersion() == "" {
99 variants = append(variants, ProductVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
100 if vndkVersion := ctx.DeviceConfig().ProductVndkVersion(); vndkVersion != "current" {
Dvndk_prebuilt.go131 if !p.matchesWithDevice(ctx.DeviceConfig()) {
159 vndkVersion := ctx.DeviceConfig().VndkVersion()
171 func (p *vndkPrebuiltLibraryDecorator) matchesWithDevice(config android.DeviceConfig) bool {
194 arches := ctx.DeviceConfig().Arches()
198 if ctx.DeviceConfig().BinderBitness() != p.binderBit() {
Dvndk.go329 if mctx.DeviceConfig().VndkUseCoreVariant() && !m.Properties.MustUseVendorVariant {
367 …if p, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok && !p.matchesWithDevice(mctx.DeviceConfig
373 if mctx.DeviceConfig().VndkVersion() == "" {
381 useCoreVariant := m.VndkVersion() == mctx.DeviceConfig().PlatformVndkVersion() &&
382 mctx.DeviceConfig().VndkUseCoreVariant() && !m.MustUseVendorVariant()
475 filename = insertVndkVersion(txt.Name(), ctx.DeviceConfig().PlatformVndkVersion())
527 func isVndkSnapshotLibrary(config android.DeviceConfig, m *Module) (i snapshotLibraryInterface, vnd… argument
554 if ctx.DeviceConfig().VndkVersion() != "current" {
558 if ctx.DeviceConfig().PlatformVndkVersion() == "" {
593 snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
[all …]
Dvendor_snapshot.go148 func (p *vendorSnapshotLibraryDecorator) matchesWithDevice(config android.DeviceConfig) bool {
168 if !p.matchesWithDevice(ctx.DeviceConfig()) {
201 if p.matchesWithDevice(ctx.DeviceConfig()) && (p.shared() || p.static()) {
211 if p.version() != ctx.DeviceConfig().VndkVersion() {
311 func (p *vendorSnapshotBinaryDecorator) matchesWithDevice(config android.DeviceConfig) bool {
323 if !p.matchesWithDevice(ctx.DeviceConfig()) {
420 func (p *vendorSnapshotObjectLinker) matchesWithDevice(config android.DeviceConfig) bool {
432 if !p.matchesWithDevice(ctx.DeviceConfig()) {
600 if ctx.DeviceConfig().VndkVersion() != "current" {
640 snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
[all …]
Dcoverage.go77 clangCoverage := ctx.DeviceConfig().ClangCoverageEnabled()
78 gcovCoverage := ctx.DeviceConfig().GcovCoverageEnabled()
164 if !ctx.DeviceConfig().NativeCoverageEnabled() {
183 needCoverageBuild = ctx.DeviceConfig().NativeCoverageEnabledForPath(ctx.ModuleDir())
Dpgo.go48 func getPgoProfileProjects(config android.DeviceConfig) []string { argument
113 for _, profileProject := range getPgoProfileProjects(ctx.DeviceConfig()) {
264 if ctx.DeviceConfig().ClangCoverageEnabled() {
298 } else if ctx.DeviceConfig().SamplingPGO() {
Dkernel_headers.go28 f.reexportSystemDirs(android.PathsForSource(ctx, ctx.DeviceConfig().DeviceKernelHeaderDirs())...)
Dsnapshot_utils.go62 if _, _, ok := isVndkSnapshotLibrary(ctx.DeviceConfig(), m); ok {
Dcc.go1419 vndkVersion = ctx.DeviceConfig().ProductVndkVersion()
1422 vndkVersion = ctx.DeviceConfig().VndkVersion()
1426 vndkVersion = ctx.DeviceConfig().PlatformVndkVersion()
1584 …if i, ok := c.linker.(snapshotLibraryInterface); ok && ctx.DeviceConfig().VndkVersion() == "curren…
1789 if c.VndkVersion() != actx.DeviceConfig().VndkVersion() {
1849 if c.VndkVersion() != actx.DeviceConfig().VndkVersion() {
2585 …if ctx.DeviceConfig().VndkUseCoreVariant() && ccDep.IsVndk() && !ccDep.MustUseVendorVariant() && !…
2796 } else if actx.DeviceConfig().VndkUseCoreVariant() && !c.MustUseVendorVariant() {
3087 platformVndkVersion := mctx.DeviceConfig().PlatformVndkVersion()
3088 boardVndkVersion := mctx.DeviceConfig().VndkVersion()
[all …]
Dccdeps.go195 if ctx.DeviceConfig().DeviceArch() != ccModule.ModuleBase.Arch().ArchType.Name {
Dsanitize.go357 vndkVersion := ctx.DeviceConfig().VndkVersion()
950 if c.VndkVersion() == mctx.DeviceConfig().VndkVersion() {
966 if c.VndkVersion() == mctx.DeviceConfig().VndkVersion() {
Dmakevars.go101 ctx.Strict("BOARD_VNDK_VERSION", ctx.DeviceConfig().VndkVersion())
/build/soong/apex/
Dvndk.go51 func (a *apexBundle) vndkVersion(config android.DeviceConfig) string { argument
81 vndkVersion := ab.vndkVersion(mctx.DeviceConfig())
101 vndkVersion = mctx.DeviceConfig().PlatformVndkVersion()
139 if !ctx.Config().Android64() || ctx.DeviceConfig().DeviceSecondaryArch() != "" {
Dkey.go137 partition: m.PartitionTag(ctx.DeviceConfig()),
149 partition: m.PartitionTag(ctx.DeviceConfig()),
161 partition: m.PartitionTag(ctx.DeviceConfig()),
Dapex.go1352 config := ctx.DeviceConfig()
1498 certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(moduleName)
1527 deviceConfig := ctx.DeviceConfig()
1597 return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
1900 if proptools.Bool(a.properties.Use_vendor) && ctx.DeviceConfig().VndkVersion() == "" {
Dprebuilt.go75 forceDisable = forceDisable || ctx.DeviceConfig().NativeCoverageEnabled()
/build/soong/android/
Dsingleton.go24 DeviceConfig() DeviceConfig methodSpec
128 func (s *singletonContextAdaptor) DeviceConfig() DeviceConfig { func
129 return DeviceConfig{s.Config().deviceConfig}
Dmakevars.go40 DeviceConfig() DeviceConfig methodSpec
336 func (c *makeVarsContext) DeviceConfig() DeviceConfig { func
337 return DeviceConfig{c.Config().deviceConfig}
Dpaths.go1120 arches := ctx.DeviceConfig().Arches()
1139 binderBitness := ctx.DeviceConfig().BinderBitness()
1360 if ctx.DeviceConfig().BoardUsesRecoveryAsBoot() {
1376 partition = ctx.DeviceConfig().VendorPath()
1378 partition = ctx.DeviceConfig().OdmPath()
1380 partition = ctx.DeviceConfig().ProductPath()
1382 partition = ctx.DeviceConfig().SystemExtPath()
Dapex.go571 …x.Config().IsEnvTrue("EMMA_INSTRUMENT") || ctx.DeviceConfig().NativeCoverageEnabled() || ctx.Devic…
Dmodule.go85 DeviceConfig() DeviceConfig methodSpec
993 func (m *ModuleBase) PartitionTag(config DeviceConfig) string {
1461 func (e *earlyModuleContext) DeviceConfig() DeviceConfig { func
1462 return DeviceConfig{e.config.deviceConfig}
/build/make/tools/fs_config/
Dfs_config.go45 if ret := ctx.DeviceConfig().TargetFSConfigGen(); len(ret) != 0 {
/build/soong/rust/
Dcoverage.go48 if !ctx.DeviceConfig().NativeCoverageEnabled() {
/build/soong/java/
Dapp.go129 result := []string{abiName("TARGET_ARCH", ctx.DeviceConfig().DeviceArch())}
130 if s := ctx.DeviceConfig().DeviceSecondaryArch(); s != "" {
163 "partition": as.PartitionTag(ctx.DeviceConfig()),
540 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(ctx.ModuleNam…
747 a.installApkName = ctx.DeviceConfig().OverridePackageNameFor(a.Name())
755 …a.installDir = android.PathForModuleInstall(ctx, a.installApkName, ctx.DeviceConfig().DeviceArch())
947 certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(ctx.ModuleName())
975 return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
1049 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(*a.appTestPro…
1479 …installDir = android.PathForModuleInstall(ctx, a.BaseModuleName(), ctx.DeviceConfig().DeviceArch())
[all …]
Dsdk.go331 allowedVersions := ctx.DeviceConfig().PlatformSystemSdkVersions()
333 systemSdkVersions := ctx.DeviceConfig().SystemSdkVersions()

12