blob: fc9cd8b5ca8ee2bd3cf5feee5b3def571526f0f6 [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
java_import(
name = "all_android_tools",
jars = ["all_android_tools_deploy.jar"],
)
java_binary(
name = "ResourceProcessorBusyBox",
data = select({
"//src/conditions:windows": ["//src/main/native/windows:windows_jni.dll"],
"//conditions:default": [],
}),
main_class = "com.google.devtools.build.android.ResourceProcessorBusyBox",
runtime_deps = [
":all_android_tools",
],
)
java_binary(
name = "ZipFilterAction",
# Memory consumption of SingleJar is about 250 bytes per entry in the output file. Unfortunately,
# the JVM tends to kill the process with an OOM long before we're at the limit. In the most
# recent example, 400 MB of memory was enough for about 500,000 entries.
jvm_flags = ["-Xmx1600m"],
main_class = "com.google.devtools.build.android.ZipFilterAction",
runtime_deps = [
":all_android_tools"
],
)