mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
20 lines
474 B
Python
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"],
|
|
)
|