2018-08-29 20:13:29 +00:00
|
|
|
load("//tools/build_defs/oss:rn_defs.bzl", "GLOG_DEP", "cxx_library")
|
2017-03-23 18:57:18 +00:00
|
|
|
|
2018-01-22 05:54:01 +00:00
|
|
|
cxx_library(
|
2017-02-25 05:40:45 +00:00
|
|
|
name = "microprofiler",
|
|
|
|
srcs = [
|
|
|
|
"MicroProfiler.cpp",
|
|
|
|
],
|
2017-11-30 04:28:17 +00:00
|
|
|
header_namespace = "microprofiler",
|
|
|
|
exported_headers = [
|
|
|
|
"MicroProfiler.h",
|
|
|
|
],
|
2017-02-25 05:40:45 +00:00
|
|
|
compiler_flags = [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
"-std=c++11",
|
|
|
|
"-fexceptions",
|
2018-03-12 13:31:27 +00:00
|
|
|
"-fno-data-sections",
|
2017-02-25 05:40:45 +00:00
|
|
|
],
|
|
|
|
force_static = True,
|
|
|
|
visibility = [
|
|
|
|
"PUBLIC",
|
|
|
|
],
|
|
|
|
deps = [
|
2017-03-23 18:57:18 +00:00
|
|
|
GLOG_DEP,
|
2017-02-25 05:40:45 +00:00
|
|
|
],
|
2016-08-02 14:32:59 +00:00
|
|
|
)
|