bazel: add GLOG_CUSTOM_PREFIX_SUPPORT

This commit is contained in:
luliyucoordinate 2021-06-29 12:51:15 +08:00 committed by Rodrigo Queiro
parent a415556858
commit 6e46c125e3

View File

@ -54,6 +54,7 @@ def glog_library(namespace = "google", with_gflags = 1, **kwargs):
"-DHAVE_STDINT_H", "-DHAVE_STDINT_H",
"-DHAVE_STRING_H", "-DHAVE_STRING_H",
"-DHAVE_UNWIND_H", "-DHAVE_UNWIND_H",
"-DGLOG_CUSTOM_PREFIX_SUPPORT",
"-I%s/glog_internal" % gendir, "-I%s/glog_internal" % gendir,
] + (["-DHAVE_LIB_GFLAGS"] if with_gflags else []) ] + (["-DHAVE_LIB_GFLAGS"] if with_gflags else [])