Files
react-native/ReactCommon/microprofiler/BUCK
T
Samuel SuslaandFacebook GitHub Bot c2e4ae39b8 Add support for C++17 in OSS
Summary: changelog: Add support for C++17

Reviewed By: cortinico

Differential Revision: D34612257

fbshipit-source-id: 88a0307a750f2e0793a639b7a2b670a4571332fe
2022-03-04 07:25:59 -08:00

28 lines
581 B
Python

load("//tools/build_defs/oss:rn_defs.bzl", "GLOG_DEP", "cxx_library")
cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",
],
header_namespace = "microprofiler",
exported_headers = [
"MicroProfiler.h",
],
compiler_flags = [
"-Wall",
"-Werror",
"-std=c++17",
"-fexceptions",
"-fno-data-sections",
],
force_static = True,
labels = ["supermodule:xplat/default/public.react_native.infra"],
visibility = [
"PUBLIC",
],
deps = [
GLOG_DEP,
],
)