Merge "Moving default version outside of apex package" am: 21b027dca8

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2167105

Change-Id: I92100d519f4744678a4c1082c460daddc085cb56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Alexei Nicoara 2022-08-02 09:18:23 +00:00 committed by Automerger Merge Worker
commit 18ecb86247
4 changed files with 7 additions and 7 deletions

View file

@ -88,6 +88,7 @@ bootstrap_go_package {
"test_asserts.go",
"test_suites.go",
"testing.go",
"updatable_modules.go",
"util.go",
"variable.go",
"visibility.go",

View file

@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package apex
package android
// This file contains branch specific constants. They are stored in a separate
// file to minimise the potential of merge conflicts between branches when
// the code from the package is changed.
// This file contains branch specific constants for building updatable modules.
// They are stored in a separate file to minimise the potential of merge
// conflicts between branches when the code from the package is changed.
// The default manifest version for all the modules on this branch.
// This version code will be used only if there is no version field in the
@ -33,4 +33,4 @@ package apex
// * AOSP - xx9990000
// * x-mainline-prod - xx9990000
// * master - 990090000
const defaultManifestVersion = "339990000"
const DefaultUpdatableModuleVersion = "339990000"

View file

@ -26,7 +26,6 @@ bootstrap_go_package {
"apex_sdk_member.go",
"apex_singleton.go",
"builder.go",
"constants.go",
"deapexer.go",
"key.go",
"prebuilt.go",

View file

@ -214,7 +214,7 @@ func (a *apexBundle) buildManifest(ctx android.ModuleContext, provideNativeLibs,
Args: map[string]string{
"provideNativeLibs": strings.Join(provideNativeLibs, " "),
"requireNativeLibs": strings.Join(requireNativeLibs, " "),
"default_version": defaultManifestVersion,
"default_version": android.DefaultUpdatableModuleVersion,
"opt": strings.Join(optCommands, " "),
},
})