Merge "Document apex and apex_test" am: a871ee2067 am: e0d6f7d9d3

Change-Id: Ie92a4937d1384eb83f465213aa6c172d864c5fce
This commit is contained in:
Automerger Merge Worker 2020-02-11 03:22:03 +00:00
commit d27a333182
1 changed files with 4 additions and 0 deletions

View File

@ -2371,12 +2371,16 @@ func ApexBundleFactory(testApex bool, artApex bool) android.Module {
return bundle return bundle
} }
// apex_test is an APEX for testing. The difference from the ordinary apex module type is that
// certain compatibility checks such as apex_available are not done for apex_test.
func testApexBundleFactory() android.Module { func testApexBundleFactory() android.Module {
bundle := newApexBundle() bundle := newApexBundle()
bundle.testApex = true bundle.testApex = true
return bundle return bundle
} }
// apex packages other modules into an APEX file which is a packaging format for system-level
// components like binaries, shared libraries, etc.
func BundleFactory() android.Module { func BundleFactory() android.Module {
return newApexBundle() return newApexBundle()
} }