Add bazel build options for plasma to use glog (#5108)

This commit is contained in:
Joey Jiang
2019-07-05 19:00:19 +08:00
committed by Hao Chen
parent 9cc4cc6a52
commit 4183303a2f
+11 -1
View File
@@ -1,5 +1,7 @@
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
COPTS = ["-DARROW_USE_GLOG"]
java_library(
name = "org_apache_arrow_arrow_plasma",
srcs = glob(["java/plasma/src/main/java/**/*.java"]),
@@ -57,9 +59,11 @@ cc_library(
"cpp/src/arrow/vendored/xxhash/xxhash.c",
"cpp/src/arrow/vendored/xxhash/xxhash.h",
],
copts = COPTS,
strip_include_prefix = "cpp/src",
deps = [
"@boost//:filesystem",
"@com_github_google_glog//:glog",
],
)
@@ -87,12 +91,14 @@ cc_library(
"cpp/src/plasma/plasma_generated.h",
"cpp/src/plasma/protocol.h",
],
copts = COPTS,
strip_include_prefix = "cpp/src",
visibility = ["//visibility:public"],
deps = [
":arrow",
":common_fbs",
":plasma_fbs",
"@com_github_google_glog//:glog",
],
)
@@ -173,8 +179,12 @@ cc_library(
"cpp/src/plasma/thirdparty/ae/zmalloc.h",
"cpp/src/plasma/thirdparty/dlmalloc.c",
],
copts = COPTS,
strip_include_prefix = "cpp/src",
deps = [":plasma_client"],
deps = [
":plasma_client",
"@com_github_google_glog//:glog",
],
)
cc_binary(