platform_build_soong/apex
Jingwen Chen bea58093b4 Share certificate bp2build between android_app and apex.
The certificate module is handled the same in Soong between android apps
and apexes, so share the bp2build code as well.

There are a few changes in this CL:

- If override_apex.certificate is unset, the generated apex also unsets
  it. This prevents the generated apex from using the base apex's
  certificate, which is most likely incorrect (e.g. google variant using
  the cert for the aosp variant). Instead, rely on the default
  certificate handling in the macro.
- If the certificate prop is a string, then it gets generated into
  certificate_name in order to disambiguate. This behavior is identical
  to android_app.

Test: added various unit tests.

Bug: 249089160
Fixes: 249089160
Change-Id: I99e18964ff546429a985d0f64dc21e2c69d35d9d
2022-10-03 09:20:47 +00:00
..
Android.bp Export default apex version from updatable_modules.go to Bazel's 2022-08-02 10:11:36 +00:00
androidmk.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00
apex.go Share certificate bp2build between android_app and apex. 2022-10-03 09:20:47 +00:00
apex_sdk_member.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
apex_singleton.go Merge "Update error message for new policy." am: bf49705608 am: 775f9e37c7 2021-08-04 10:20:47 +00:00
apex_test.go Merge "Put base APK when AppSet is included in APEX" 2022-09-30 03:44:21 +00:00
bootclasspath_fragment_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
bp2build.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
builder.go Put base APK when AppSet is included in APEX 2022-09-29 21:30:25 +09:00
classpath_element_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
deapexer.go Consolidate the code to resolve a deapexer module dependency. 2021-09-23 17:19:55 +01:00
key.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
OWNERS Move allowed_deps.txt to packages/modules/common. 2021-03-17 15:26:16 +00:00
platform_bootclasspath_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
prebuilt.go Tag apex_set's 'set' config with android:"path" 2022-09-27 16:29:36 +00:00
systemserver_classpath_fragment_test.go Add entries for STANDALONE_SYSTEMSERVER_JARS to systemserverclasspath.pb 2021-11-30 10:51:10 +00:00
TEST_MAPPING
testing.go Surface Java APIs Used By APK-only Modules. 2022-04-05 21:28:29 +00:00
vndk.go Remove the compat symlinks to ART binaries. 2021-12-14 17:56:26 +00:00
vndk_test.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00