summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alexei Nicoara <ancr@google.com> 2022-07-07 15:06:52 +0100
committer Alexei Nicoara <ancr@google.com> 2022-07-07 15:06:52 +0100
commitd6e93b87a2323d45af7d8ccc727558cda9bd4032 (patch)
treedd08a6488aa9fd9efec162389c82a8b3822c3207
parent55663b275543949b175b0fe2d03db3e94dbe16a0 (diff)
Setting apex version to the placeholder value
When the apex version is set to 0, the version number will be replaced by the build system to the default value for the current branch. The default value for mainline module manifest version is stored in the defaultManifestVersion constant: https://android.googlesource.com/platform/build/soong/+/refs/heads/master/apex/constants.go#36 The version should not be changed manually in the manifest. Release tooling will set this version to the release version on the release branches. Test: presubmit Bug: 231691643 Change-Id: I30b5b486bca521ebdeed17dba7afc61f2c529ab8 Merged-In: I30b5b486bca521ebdeed17dba7afc61f2c529ab8
-rw-r--r--apex_manifest.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/apex_manifest.json b/apex_manifest.json
index b3aeab453..b1dbb9798 100644
--- a/apex_manifest.json
+++ b/apex_manifest.json
@@ -1,4 +1,7 @@
{
"name": "com.android.permission",
- "version": 339990000
+
+ // Placeholder module version to be replaced during build.
+ // Do not change!
+ "version": 0
}