Document apex and apex_test
Bug: 149082647
Test: m
Change-Id: I39e72eecda1d0e2984a3dde4987c4928f58d2afc
diff --git a/apex/apex.go b/apex/apex.go
index 329a6ba..f1782a1 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -2371,12 +2371,16 @@
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()
}