diff options
author | 2024-02-27 18:19:16 +0000 | |
---|---|---|
committer | 2024-02-29 14:33:16 +0000 | |
commit | efa146577f6a8a24e5ea6f670a37496b05702f49 (patch) | |
tree | abc49a02f7b007bf84f2ef323f89d9cc453cfb69 /java/builder.go | |
parent | 2d8884a37757edc6b984e1e073ab5a9e4a85f778 (diff) |
Add a source_module_name to android_app
For multiple mainline prebuilts, we will have multiple versioned
prebuilt apps in the tree. The soong name of these prebuilts will have a
version prefix to prevent name collisions (e.g. MyGoogleApp.v2).
This CL introduces a source_module_name property in android_app_imoprt.
This property will be used for the following
1. Determining installation path. This should be
/system/app/MyGoogleApp/MyGoogleApp.apk
and not
/system/app/MyGoogleApp.v2/MyGoogleApp.apk
(filename prop determines the filename and not the dir name)
2. Preventing duplicate installation rules: This property will be used
to create a dependency to the source app, and call HideFromMake on
all the unflagged apps
Test: presubmits
Test: locally # Created CaptivePortalLoginGoogle.v2 and selected it
using one of the RELEASE_APEX_CONTRIBUTION_* flags
Bug: 326995930
Change-Id: If4ab9f9bd295117c96eb062cf3b3d2efc8bfed12
Diffstat (limited to 'java/builder.go')
0 files changed, 0 insertions, 0 deletions