2018-06-24 01:23:21 +00:00
|
|
|
load("@xplat//tools/build_defs:glob_defs.bzl", "subdir_glob")
|
2018-02-08 17:36:45 +00:00
|
|
|
load("//ReactNative:DEFS.bzl", "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"),
|
|
|
|
],
|
2018-06-24 01:23:21 +00:00
|
|
|
exclude = 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",
|
|
|
|
],
|
|
|
|
)
|