pytorch/android/pytorch_android
David Reiss d22f61432d Update fbjni and enable PyTorch JNI build
Summary:
- Add a "BUILD_JNI" option that enables building PyTorch JNI bindings and
  fbjni.  This is off by default because it adds a dependency on jni.h.
- Update to the latest fbjni so we can inhibit building its tests,
  because they depend on gtest.
- Set JAVA_HOME and BUILD_JNI in Linux binary build configurations if we
  can find jni.h in Docker.

Test Plan:
- Built on dev server.
- Verified that libpytorch_jni links after libtorch when both are built
  in a parallel build.

Differential Revision: D18536828

fbshipit-source-id: 19cb3be8298d3619352d02bb9446ab802c27ec66
2019-11-15 13:59:44 -08:00
..
host host build gradle publishing (#29749) 2019-11-14 11:44:02 -08:00
src Change from int64_t to jlong for mac build (#29861) 2019-11-14 21:29:59 -08:00
build.gradle Test application for profiling, CMake params for debug symbols (#28406) 2019-11-08 14:19:04 -08:00
CMakeLists.txt Update fbjni and enable PyTorch JNI build 2019-11-15 13:59:44 -08:00
generate_test_torchscripts.py Support IValue string type (#26517) 2019-09-20 17:29:42 -07:00
gradle.properties Gradle tasks for publishing to bintray, jcenter, mavencentral etc. (#25351) 2019-08-30 17:52:34 -07:00