Home
last modified time | relevance | path

Searched refs:sdkVersion (Results 1 – 24 of 24) sorted by relevance

/build/soong/java/
Dsdk.go43 sdkVersion() sdkSpec methodSpec
106 type sdkVersion int type
110 sdkVersionCurrent sdkVersion = sdkVersion(android.FutureApiLevel)
113 sdkVersionNone sdkVersion = sdkVersion(0)
117 func (v sdkVersion) isCurrent() bool {
122 func (v sdkVersion) isNumbered() bool {
127 func (v sdkVersion) String() string {
140 func (v sdkVersion) asNumberString() string {
147 version sdkVersion
205 version := sdkVersion(LatestSdkVersionInt(ctx))
[all …]
Dsdk_library.go775 …ndImport) selectHeaderJarsForSdkVersion(ctx android.BaseModuleContext, sdkVersion sdkSpec) android…
778 if sdkVersion.version.isNumbered() {
779 return PrebuiltJars(ctx, c.moduleBase.BaseModuleName(), sdkVersion)
783 switch sdkVersion.kind {
886 SdkHeaderJars(ctx android.BaseModuleContext, sdkVersion sdkSpec) android.Paths
893 SdkImplementationJars(ctx android.BaseModuleContext, sdkVersion sdkSpec) android.Paths
1076 return apiScope.sdkVersion
1162 sdkVersion := module.sdkVersionForStubsLibrary(mctx, apiScope)
1163 props.Sdk_version = proptools.StringPtr(sdkVersion)
1358 var ver sdkVersion
[all …]
Djava.go90 sdkVersion := j.sdkVersion()
91 if sdkVersion.stable() {
94 return fmt.Errorf("non stable SDK %v", sdkVersion)
100 if !sc.sdkVersion().specified() {
123 sdkVersionSpecified := sc.sdkVersion().specified()
686 func (j *Module) sdkVersion() sdkSpec { func
698 return j.sdkVersion()
705 return j.sdkVersion()
933 ver := m.sdkVersion()
1044 deps.classpath = append(deps.classpath, dep.SdkHeaderJars(ctx, j.sdkVersion())...)
[all …]
Dapp.go362 if String(a.appProperties.Stl) == "c++_shared" && !a.sdkVersion().specified() {
371 usesSDK := a.sdkVersion().specified() && a.sdkVersion().kind != sdkCorePlatform
429 if !a.sdkVersion().stable() {
430 … ctx.PropertyErrorf("sdk_version", "Updatable apps must use stable SDKs, found %v", a.sdkVersion())
454 func (a *AndroidApp) checkJniLibsSdkVersion(ctx android.ModuleContext, minSdkVersion sdkVersion) {
826 sdkVersion() sdkSpec methodSpec
840 checkNativeSdkVersion = app.sdkVersion().specified() &&
841 app.sdkVersion().kind != sdkCorePlatform && !app.RequiresStableAPIs(ctx)
1592 func (a *AndroidAppImport) sdkVersion() sdkSpec { func
1600 func (j *AndroidAppImport) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion int) e…
[all …]
Dapp_test.go183 sdkVersion int
190 sdkVersion: 29,
204 sdkVersion: 30,
218 config.TestProductVariables.Platform_sdk_version = &test.sdkVersion
1042 sdkVersion string
1051 sdkVersion: "current",
1059 sdkVersion: "current",
1067 sdkVersion: "",
1076 sdkVersion: "",
1085 sdkVersion: "14",
[all …]
Daar.go565 func (a *AARImport) sdkVersion() sdkSpec { func
577 return a.sdkVersion()
581 return a.sdkVersion()
765 func (g *AARImport) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion int) error {
Dandroidmk.go116 entries.SetString("LOCAL_SDK_VERSION", library.sdkVersion().raw)
199 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion().raw)
253 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion().raw)
Ddroiddoc.go431 func (j *Javadoc) sdkVersion() sdkSpec { func
440 return j.sdkVersion()
444 return j.sdkVersion()
556 deps.classpath = append(deps.classpath, dep.SdkHeaderJars(ctx, j.sdkVersion())...)
/build/soong/cmd/extract_apks/
Dmain_test.go125 sdkVersion: 29,
147 sdkVersion: 29,
164 sdkVersion: 20,
178 sdkVersion: 29,
217 sdkVersion: 30,
245 targetConfig: TargetConfig{sdkVersion: 30},
332 sdkVersion: 29,
351 sdkVersion: 29,
370 sdkVersion: 29,
388 sdkVersion: 29,
Dmain.go37 sdkVersion int32 member
275 m.Value[0].Min.Value <= config.sdkVersion ||
516 targetConfig.sdkVersion = int32(*version)
/build/soong/cc/
Dcoverage.go157 … = SetCoverageProperties(ctx, cov.Properties, ctx.nativeCoverage(), ctx.useSdk(), ctx.sdkVersion())
162 useSdk bool, sdkVersion string) CoverageProperties {
174 if useSdk && sdkVersion != "current" {
176 if fromApi, err := strconv.Atoi(sdkVersion); err == nil && fromApi < 23 {
Dlibrary_sdk_member.go118 sdkVersion := ccModule.SdkVersion()
119 if sdkVersion != "" {
120 pbm.AddProperty("sdk_version", sdkVersion)
Dlinker.go344 if ctx.sdkVersion() == "current" {
347 parsedSdkVersion, err := strconv.Atoi(ctx.sdkVersion())
351 ctx.sdkVersion())
Dndk_prebuilt.go92 return ndkPrebuiltModuleToPath(ctx, flags.Toolchain, objectExtension, ctx.sdkVersion())
Dstl.go139 versionStr, err := normalizeNdkApiLevel(ctx, ctx.sdkVersion(), ctx.Arch())
Dcc.go326 sdkVersion() string methodSpec
1140 func (ctx *moduleContextImpl) sdkVersion() string { func
1645 version, err := normalizeNdkApiLevel(ctx, ctx.sdkVersion(), ctx.Arch())
2022 version := ctx.sdkVersion()
2919 func (c *Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion int) error {
2947 if ver > sdkVersion {
Dbinary.go145 version := ctx.sdkVersion()
Dcompiler.go374 version := ctx.sdkVersion()
Dlibrary.go812 version := ctx.sdkVersion()
1276 !library.buildStubs() && ctx.sdkVersion() == "" {
/build/soong/cmd/pom2mk/
Dpom2mk.go104 var sdkVersion string var
196 return sdkVersion
391 flag.StringVar(&sdkVersion, "sdk-version", "", "What to write to LOCAL_SDK_VERSION")
/build/soong/cmd/pom2bp/
Dpom2bp.go146 var sdkVersion string var
286 return sdkVersion
624 flag.StringVar(&sdkVersion, "sdk-version", "", "What to write to sdk_version")
/build/soong/android/
Dapex.go130 ShouldSupportSdkVersion(ctx BaseModuleContext, sdkVersion int) error
/build/soong/sysprop/
Dsysprop_library.go313 func (m *syspropLibrary) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion int) err…
/build/soong/genrule/
Dgenrule.go558 func (g *Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion int) error {