Files
react-native/ReactAndroid/src/main/jni/react/hermes/reactexecutor/BUCK
T
Nicola Corti 89cac88028 Rename hermes-* target to don't use dashes (#35506)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35506

In our build we had a mixture of `_` and `-` to separate targets.
Dashes don't play well with Gradle + as we expose them now via Prefab,
let's stick to use only underscores

Changelog:
[Internal] [Changed] - Rename target to don't use dashes

Reviewed By: cipolleschi

Differential Revision: D41578938

fbshipit-source-id: 8aa44aa2dc7bf4822b45e5044532837b989817d2
2022-11-29 20:03:22 +00:00

20 lines
474 B
Python

load("//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")
rn_xplat_cxx_library(
name = "jni-interface",
srcs = [],
header_namespace = "hermes/reactexecutor",
exported_headers = glob(["*.h"]),
visibility = ["PUBLIC"],
)
rn_xplat_cxx_library(
name = "jni",
srcs = ["OnLoad.cpp"],
headers = [],
header_namespace = "",
compiler_flags = ["-fexceptions"],
soname = "libhermes_executor.$(ext)",
visibility = ["PUBLIC"],
)