mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
28 lines
658 B
Python
28 lines
658 B
Python
|
load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
|
||
|
load("//tools/build_defs/oss:rn_defs.bzl", "get_apple_compiler_flags", "rn_xplat_cxx_library")
|
||
|
|
||
|
CXX_LIBRARY_COMPILER_FLAGS = [
|
||
|
"-std=c++14",
|
||
|
"-Wall",
|
||
|
]
|
||
|
|
||
|
rn_xplat_cxx_library(
|
||
|
name = "utils",
|
||
|
header_namespace = "",
|
||
|
exported_headers = subdir_glob(
|
||
|
[
|
||
|
("", "FloatComparison.h"),
|
||
|
],
|
||
|
prefix = "react/utils",
|
||
|
),
|
||
|
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS + [
|
||
|
"-fexceptions",
|
||
|
"-frtti",
|
||
|
],
|
||
|
fbobjc_compiler_flags = get_apple_compiler_flags(),
|
||
|
force_static = True,
|
||
|
visibility = [
|
||
|
"PUBLIC",
|
||
|
],
|
||
|
)
|