pytorch/android/pytorch_android
Ivan Kobzarev 0891764e80 [android] ANDROID_STL=c++_shared (#39588)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39588

Before this diff we used c++_static linking.
Users will dynamically link to libpytorch_jni.so and have at least one more their own shared library that probably uses stl library.

We must have not more than one stl per app. ( https://developer.android.com/ndk/guides/cpp-support#one_stl_per_app )

To have only one stl per app changing ANDROID_STL way to  c++_shared, that will add libc++_shared.so to packaging.

Test Plan: Imported from OSS

Differential Revision: D22118031

Pulled By: IvanKobzarev

fbshipit-source-id: ea1e5085ae207a2f42d1fa9f6ab8ed0a21768e96
2020-06-18 13:50:05 -07:00
..
host Exclude lite interpreter Java files from OSS host build 2019-12-20 13:32:27 -08:00
src Move RecordFunction into ATen (#37548) 2020-05-07 14:52:39 -07:00
build.gradle [android] ANDROID_STL=c++_shared (#39588) 2020-06-18 13:50:05 -07:00
CMakeLists.txt [android] ANDROID_STL=c++_shared (#39588) 2020-06-18 13:50:05 -07:00
generate_test_asset.cpp [jit] kill script namespace (#34515) 2020-03-11 23:32:48 -07: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