react-native/ReactCommon/jsinspector/BUCK

37 lines
723 B
Python
Raw Normal View History

load("//ReactNative:DEFS.bzl", "rn_xplat_cxx_library")
EXPORTED_HEADERS = [
"InspectorInterfaces.h",
]
rn_xplat_cxx_library(
name = "jsinspector",
srcs = glob(
["*.cpp"],
),
headers = subdir_glob(
[
("", "*.h"),
],
excludes = EXPORTED_HEADERS,
prefix = "jsinspector",
),
header_namespace = "",
exported_headers = subdir_glob(
[
("", header)
for header in EXPORTED_HEADERS
],
prefix = "jsinspector",
),
compiler_flags = [
"-Wall",
"-fexceptions",
"-std=c++1y",
],
fbandroid_preferred_linkage = "shared",
visibility = [
"PUBLIC",
],
)