diff options
author | Julien Desprez <jdesprez@google.com> | 2018-11-06 16:22:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-06 16:22:22 +0000 |
commit | 25ef586c68a5a059a9284464287552ee3cba3cc0 (patch) | |
tree | 03198c1df305be8cea2098e90cf8ab38f508341e | |
parent | 473f1e058ae0c4c3149c6bf5669029107abd5c9a (diff) | |
parent | 03eac1f68c734c660d72d40dfcf19539e51f92b6 (diff) | |
download | doclava-25ef586c68a5a059a9284464287552ee3cba3cc0.tar.gz |
Merge "Add a version of doclava without guava built in"android-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-n-iot-release-ihome-igv1nougat-iot-release
-rw-r--r-- | Android.bp | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -24,7 +24,7 @@ java_library_host { ], static_libs: [ "jsilver", - "guavalib", + "guava", "antlr-runtime", "tagsoup", ], @@ -32,6 +32,24 @@ java_library_host { java_resource_dirs: ["res"], } +java_library_host { + name: "doclava-no-guava", + srcs: [ + "src/**/*.java", + ], + libs: [ + "guava", + ], + static_libs: [ + "jsilver", + "antlr-runtime", + "tagsoup", + ], + use_tools_jar: true, + java_resource_dirs: ["res"], +} + + // TODO: add a test target. // For now, you can run the unit tests thus: // vogar --classpath /usr/lib/jvm/java-6-sun/lib/tools.jar --classpath ../../out/host/common/obj/JAVA_LIBRARIES/antlr_intermediates/javalib.jar --sourcepath src/ --sourcepath ../jsilver/src/ --mode jvm test/doclava/ApiCheckTest.java |