Tell the java wrapper to use the fbcode java

Summary:
The flag to use in fbandroid is `-Duses_native_libraries` passed in via `vm_args`

In `fbandroid/third-party/build-tools/java/java.sh` looks for this flag to override the default java with the fbcode runtime java.

Reviewed By: ryandm

Differential Revision: D4024857

fbshipit-source-id: 0ace0ee94fea32376a24004582556fa1d7d2e222
This commit is contained in:
Michael Lee
2016-10-18 08:04:57 -07:00
committed by Facebook Github Bot
parent 9fb1b29f14
commit 6152ca46c8

View File

@@ -51,6 +51,9 @@ java_test(
':java',
JUNIT_TARGET,
],
vm_args = [
'-Duses_native_libraries',
],
use_cxx_libraries = True,
cxx_library_whitelist = CXX_LIBRARY_WHITELIST,
)