Document apex and apex_test

Bug: 149082647
Test: m
Change-Id: I39e72eecda1d0e2984a3dde4987c4928f58d2afc
This commit is contained in:
Jiyong Park
2020-02-11 03:56:06 +09:00
parent 2b2aee33a7
commit fce0b4209f

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()
}