aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2025-02-26 19:56:11 +0300
committerthegeorg <thegeorg@yandex-team.com>2025-02-26 20:14:38 +0300
commitd4e39fa00b2b2b5065ce3cbe60baa8f1a700cf18 (patch)
tree98061c79082ef3f5df305f86b330372051246dd3
parentf9a1896b7299c05b3275949378e221e044872d6f (diff)
downloadydb-d4e39fa00b2b2b5065ce3cbe60baa8f1a700cf18.tar.gz
Introduce convenient JNI_EXPORTS() macro
commit_hash:3dd7df182800224a90b52e8efa397e4048e6f3fe
-rw-r--r--build/ymake.core.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index ab97f0fad5..1ed20b6aab 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -1262,6 +1262,10 @@ macro EXPORTS_SCRIPT(Arg) {
SET(EXPORTS_FILE $Arg)
}
+macro JNI_EXPORTS() {
+ EXPORTS_SCRIPT(${ARCADIA_ROOT}/build/essentials/jni_exports.exports)
+}
+
### @usage: NO_EXPORT_DYNAMIC_SYMBOLS()
###
### Disable exporting all non-hidden symbols as dynamic when linking a PROGRAM.