diff options
author | 2018-01-10 16:06:12 -0800 | |
---|---|---|
committer | 2018-02-22 11:14:13 -0800 | |
commit | 581fd21e9111138359d1685c3fea59e3466b2b58 (patch) | |
tree | 65b5fe896f3aa618a79ad2ed5b8dee4deed3f2dc /java/builder.go | |
parent | 50b8682dcac9757783231ac23a3ae796d8f0f0ca (diff) |
Droiddoc Support in Soong
Support Droiddoc to Soong based on core/droiddoc.mk. The non-std doclet
based droiddoc compilation output is a "real" stubs.jar instead of a
directory of java files and a timestamp file.
The std doclet based javadoc compilation output is a "empty" stubs.jar
instead of a timestamp file.
The stubs.jar will be exported to
out/target/common/obj/JAVA_LIBRARIES/$(LOCAL_MODULE)_intermediates/classes.jar
and out/target/common/docs/$(LOCAL_MODULE)-stubs.jar
A $(LOCAL_MODULE).zip file will be generated also, and is exported to
out/target/common/docs/$(LOCAL_MODULE)-docs.zip if property: installable is not set
to false.
Bug: b/70351683
Test: unittest + convert libcore docs Android.mk to Soong manually.
Change-Id: I1cffddd138a5d9d445f86a3d4a3fd4de88a2bc0f
(cherry picked from commit 78188ec622cb1ee24171455867fc58ffab91562e)
Diffstat (limited to 'java/builder.go')
-rw-r--r-- | java/builder.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/java/builder.go b/java/builder.go index 46de4f73c..5aea1cb1c 100644 --- a/java/builder.go +++ b/java/builder.go @@ -428,13 +428,6 @@ func (x *classpath) FormDesugarClasspath(optName string) []string { return flags } -// Append an android.Paths to the end of the classpath list -func (x *classpath) AddPaths(paths android.Paths) { - for _, path := range paths { - *x = append(*x, path) - } -} - // Convert a classpath to an android.Paths func (x *classpath) Paths() android.Paths { return append(android.Paths(nil), (*x)...) |