Move commandlineflags.h to shared_headers
This commit is contained in:
parent
4ffdf0dc78
commit
888f93947b
@ -160,10 +160,11 @@ def glog_library(namespace = "google", with_gflags = 1, **kwargs):
|
|||||||
native.filegroup(
|
native.filegroup(
|
||||||
name = "shared_headers",
|
name = "shared_headers",
|
||||||
srcs = [
|
srcs = [
|
||||||
"src/base/mutex.h",
|
"src/base/commandlineflags.h",
|
||||||
|
"src/base/mutex.h",
|
||||||
"src/stacktrace.h",
|
"src/stacktrace.h",
|
||||||
"src/utilities.h",
|
"src/utilities.h",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
native.cc_library(
|
native.cc_library(
|
||||||
@ -171,6 +172,7 @@ def glog_library(namespace = "google", with_gflags = 1, **kwargs):
|
|||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
srcs = [
|
srcs = [
|
||||||
":config_h",
|
":config_h",
|
||||||
|
":shared_headers",
|
||||||
"src/base/googleinit.h",
|
"src/base/googleinit.h",
|
||||||
"src/demangle.cc",
|
"src/demangle.cc",
|
||||||
"src/demangle.h",
|
"src/demangle.h",
|
||||||
@ -187,13 +189,11 @@ def glog_library(namespace = "google", with_gflags = 1, **kwargs):
|
|||||||
"src/symbolize.h",
|
"src/symbolize.h",
|
||||||
"src/utilities.cc",
|
"src/utilities.cc",
|
||||||
"src/vlog_is_on.cc",
|
"src/vlog_is_on.cc",
|
||||||
":shared_headers",
|
|
||||||
] + select({
|
] + select({
|
||||||
"@bazel_tools//src/conditions:windows": windows_only_srcs,
|
"@bazel_tools//src/conditions:windows": windows_only_srcs,
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
hdrs = [
|
hdrs = [
|
||||||
"src/base/commandlineflags.h",
|
|
||||||
"src/glog/log_severity.h",
|
"src/glog/log_severity.h",
|
||||||
"src/glog/platform.h",
|
"src/glog/platform.h",
|
||||||
":logging_h",
|
":logging_h",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user