diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-10-03 21:10:58 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-10-03 21:38:48 +0300 |
commit | 50d9f0da6a8c9a0b5b52469ffb1980281a74ef8a (patch) | |
tree | 8dc06630e71d478273617eeb8a649925394578d9 /.github | |
parent | a4dffa1956151f7c1ba3a678215ad86d8f5b4f7a (diff) | |
download | ydb-50d9f0da6a8c9a0b5b52469ffb1980281a74ef8a.tar.gz |
Provide proper jni.h by the means of library/cpp/jni
As jni.h provides extreme ABI compatibility, there is no need to use jdk to build JNI modules.
This PR replaces complex logic of finding necessary jni with the following code (already present in [library/cpp/jni/ya.make](https://arcanum.yandex-team.ru/arcadia/library/cpp/jni/ya.make).
```
IF (OS_ANDROID)
# Do nothing, use jni.h shipped with NDK
ELSE()
PEERDIR(
contrib/libs/jdk
)
ENDIF()
```
Remaining dependencies on contrib/libs/jdk will be removed in further PRs and using of JDK interface will be restricted in favor of this library.
NB: PEERDIRing `library/cpp/jni` will also provide a couple of utility sources which are not used by catboost at the time.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions