From fce0b4209f4602093aa6ad4a79d3b158cf2e1062 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 11 Feb 2020 03:56:06 +0900 Subject: [PATCH] Document apex and apex_test Bug: 149082647 Test: m Change-Id: I39e72eecda1d0e2984a3dde4987c4928f58d2afc --- apex/apex.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apex/apex.go b/apex/apex.go index 329a6ba5f..f1782a1ba 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -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() }