react-native/ReactCommon/privatedata/BUCK

25 lines
536 B
Python

load("@xplat//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("//ReactNative:DEFS.bzl", "rn_xplat_cxx_library")
rn_xplat_cxx_library(
name = "privatedata",
srcs = glob(["**/*.cpp"]),
header_namespace = "",
exported_headers = subdir_glob(
[
("", "**/*.h"),
],
prefix = "privatedata",
),
compiler_flags = [
"-Wall",
"-fexceptions",
"-frtti",
"-fvisibility=hidden",
"-std=c++1y",
],
visibility = [
"PUBLIC",
],
)