mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Summary: Upgrade mobile `BUCK` and `.bzl` files to use C++14. Let's see what happens. Reviewed By: mzlee Differential Revision: D14223329 fbshipit-source-id: ff642ca017103d9415c4d7f5beaf5ded07ef7ff1
27 lines
511 B
Python
27 lines
511 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++14",
|
|
"-fexceptions",
|
|
"-fno-data-sections",
|
|
],
|
|
force_static = True,
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
GLOG_DEP,
|
|
],
|
|
)
|