Enable allow_jni_merging for internal targets

Summary:
Noticed we explicitly dropped the `allow_jni_merging` while not actually using it anywhere, and that we didn't have `fbandroid_allow_jni_merging` on some other libs.

Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D32355868

fbshipit-source-id: 6bd3fcc395e3dcacf4a8fc1033d471b2ffb0e8af
This commit is contained in:
Pieter De Baets
2021-11-30 06:50:18 -08:00
committed by Facebook GitHub Bot
parent a9815286c2
commit e3a591e650
3 changed files with 3 additions and 2 deletions
@@ -33,6 +33,7 @@ rn_xplat_cxx_library(
header_namespace = "",
compiler_flags_enable_exceptions = True, # TODO: is this necessary?
compiler_flags_enable_rtti = True, # TODO: is this necessary?
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = ANDROID,
soname = "libjsijniprofiler.$(ext)",
@@ -11,6 +11,7 @@ rn_xplat_cxx_library(
"ReactCommon/TurboModuleManager.h": "ReactCommon/TurboModuleManager.h",
"ReactCommon/TurboModuleManagerDelegate.h": "ReactCommon/TurboModuleManagerDelegate.h",
},
fbandroid_allow_jni_merging = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = ANDROID,
preprocessor_flags = [