Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a871ee20 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Document apex and apex_test"

parents 705cd460 fce0b420
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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()
}