Alexei Nicoara | 3f8cbcb | 2022-05-24 16:16:22 +0100 | [diff] [blame] | 1 | // 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 Nicoara | 9dc59c9 | 2022-07-27 14:52:12 +0100 | [diff] [blame] | 15 | package android |
Alexei Nicoara | 3f8cbcb | 2022-05-24 16:16:22 +0100 | [diff] [blame] | 16 | |
| 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: |
Alexei Nicoara | 1240f28 | 2023-05-03 16:43:37 +0000 | [diff] [blame] | 32 | // * x-dev - xx0090000 (where xx is the branch SDK level) |
Alexei Nicoara | 3f8cbcb | 2022-05-24 16:16:22 +0100 | [diff] [blame] | 33 | // * AOSP - xx9990000 |
| 34 | // * x-mainline-prod - xx9990000 |
| 35 | // * master - 990090000 |
Alexei Nicoara | 1240f28 | 2023-05-03 16:43:37 +0000 | [diff] [blame] | 36 | const DefaultUpdatableModuleVersion = "340090000" |