blob: 1548170f917823f6d0913e1425443c89ae176f18 [file] [log] [blame]
Alexei Nicoara3f8cbcb2022-05-24 16:16:22 +01001// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Alexei Nicoara9dc59c92022-07-27 14:52:12 +010015package android
Alexei Nicoara3f8cbcb2022-05-24 16:16:22 +010016
17// This file contains branch specific constants. They are stored in a separate
18// file to minimise the potential of merge conflicts between branches when
19// the code from the package is changed.
20
21// The default manifest version for all the modules on this branch.
22// This version code will be used only if there is no version field in the
23// module's apex_manifest.json. Release branches have their version injected
24// into apex_manifest.json by the tooling and will not use the version set
25// here. Developers can also set the version field locally in the
26// apex_manifest.json to build a module with a specific version.
27//
28// The value follows the schema from go/mainline-version-codes, and is chosen
29// based on the branch such that the builds from testing and development
30// branches will have a version higher than the prebuilts.
31// Versions per branch:
32// * x-dev - xx0090000 (where xx is the branch SDK level)
33// * AOSP - xx9990000
34// * x-mainline-prod - xx9990000
35// * master - 990090000
Alexei Nicoara9dc59c92022-07-27 14:52:12 +010036const DefaultUpdatableModuleVersion = "990090000"