2018-01-22 05:54:01 +00:00
|
|
|
load("//ReactNative:DEFS", "rn_xplat_cxx_library")
|
2017-11-27 15:05:22 +00:00
|
|
|
|
|
|
|
EXPORTED_HEADERS = [
|
|
|
|
"InspectorInterfaces.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
rn_xplat_cxx_library(
|
|
|
|
name = "jsinspector",
|
|
|
|
srcs = glob(
|
|
|
|
["*.cpp"],
|
|
|
|
),
|
2018-01-22 05:54:01 +00:00
|
|
|
headers = subdir_glob(
|
|
|
|
[
|
|
|
|
("", "*.h"),
|
|
|
|
],
|
2017-11-27 15:05:22 +00:00
|
|
|
excludes = EXPORTED_HEADERS,
|
2018-01-22 05:54:01 +00:00
|
|
|
prefix = "jsinspector",
|
|
|
|
),
|
|
|
|
header_namespace = "",
|
|
|
|
exported_headers = subdir_glob(
|
|
|
|
[
|
|
|
|
("", header)
|
|
|
|
for header in EXPORTED_HEADERS
|
|
|
|
],
|
|
|
|
prefix = "jsinspector",
|
2017-11-27 15:05:22 +00:00
|
|
|
),
|
|
|
|
compiler_flags = [
|
|
|
|
"-Wall",
|
|
|
|
"-fexceptions",
|
|
|
|
"-std=c++1y",
|
|
|
|
],
|
2017-12-15 17:10:47 +00:00
|
|
|
fbandroid_preferred_linkage = "shared",
|
2017-11-27 15:05:22 +00:00
|
|
|
visibility = [
|
|
|
|
"PUBLIC",
|
|
|
|
],
|
|
|
|
)
|