diff --git a/bazel/BUILD.plasma b/bazel/BUILD.plasma index 6245a0978..ff0fe3e14 100644 --- a/bazel/BUILD.plasma +++ b/bazel/BUILD.plasma @@ -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(