Merge "Document apex and apex_test" am: a871ee2067

Change-Id: If96e254184f5b494eab775d29f234a2ab7740fdb
This commit is contained in:
Automerger Merge Worker 2020-02-11 03:12:35 +00:00
commit e0d6f7d9d3

View file

@ -2371,12 +2371,16 @@ func ApexBundleFactory(testApex bool, artApex bool) android.Module {
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 {
bundle := newApexBundle()
bundle.testApex = true
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 {
return newApexBundle()
}