Amir Livneh 19dd9a2ce6 Use -fdata-sections in mode/opt
Differential Revision: D7194366

fbshipit-source-id: 676f2db2e493230b8d9698941f003ec4e96f15ea
2018-03-12 06:34:59 -07:00

27 lines
499 B
Python

load("//ReactNative:DEFS.bzl", "cxx_library", "GLOG_DEP")
cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",
],
header_namespace = "microprofiler",
exported_headers = [
"MicroProfiler.h",
],
compiler_flags = [
"-Wall",
"-Werror",
"-std=c++11",
"-fexceptions",
"-fno-data-sections",
],
force_static = True,
visibility = [
"PUBLIC",
],
deps = [
GLOG_DEP,
],
)