Allow JAVA_LIBRARY be a TOOL
Fix for
@@ -1984,6 +1984,7 @@ macro WITH_JDK() {
module JAVA_PLACEHOLDER: BASE_UNIT {
.CMD=TOUCH_JAVA_UNIT
+ .FINAL_TARGET=yes
PEERDIR_TAGS=JAVA_PROTO
PEERDIR(build/platform/java/jdk)
when($MAKE_UBERJAR_VALUE) {
@@ -2003,14 +2004,12 @@ module JAVA_PLACEHOLDER: BASE_UNIT {
###
### Documentation: https://wiki.yandex-team.ru/yatool/java/
module JAVA_PROGRAM: JAVA_PLACEHOLDER {
- .FINAL_TARGET=yes
SET(MODULE_TYPE JAVA_PROGRAM)
}
### @usage: JAVA_LIBRARY()
### Documentation: https://wiki.yandex-team.ru/yatool/java/
module JAVA_LIBRARY: JAVA_PLACEHOLDER {
- .FINAL_TARGET=no
SET(MODULE_TYPE JAVA_LIBRARY)
}
