pytorch/android/pytorch_android
Ivan Kobzarev eab99ab08e [android] fbjni DoNotStrip annotation for oss native methods (#32567)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32567

As a first change to support proguard.
even if these methods could be not called from java, on jni level we register them and this registration will fail if methods are stripped.

Adding DoNotStrip to all native methods that are registered in OSS.

After integration of consumerProguardFiles in fbjni that prevents stripping by proguard DoNotStrip it will fix errors with proguard on.

Test Plan: Imported from OSS

Differential Revision: D19624684

Pulled By: IvanKobzarev

fbshipit-source-id: cd7d9153e9f8faf31c99583cede4adbf06bab507
2020-01-29 11:52:53 -08:00
..
host Exclude lite interpreter Java files from OSS host build 2019-12-20 13:32:27 -08:00
src [android] fbjni DoNotStrip annotation for oss native methods (#32567) 2020-01-29 11:52:53 -08:00
build.gradle Tensor prep from image in native (#31426) 2020-01-15 17:10:00 -08:00
CMakeLists.txt Set rpath for JNI library on Mac (#32247) 2020-01-21 11:30:39 -08:00
generate_test_asset.cpp Buck test targets robolectric,instrumentattion 2019-12-14 20:29:52 -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
test_asset.jit Properly return data from non-contiguous tensors in Java 2020-01-07 16:33:31 -08:00