aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/util/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-11-16 13:29:22 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-11-16 16:01:55 +0000
commit6bf9576f73c34cbc7c807c13f4835861837ac4de (patch)
tree29b8db9c106ffc4ea3786ed2d7940d50083b6773 /src/main/cpp/util/BUILD
parent944763a4928e492a493c293ecebd7a0507bfeded (diff)
Bazel client: platform-dependent GetHashedBaseDir
Move the hashed base directory computation logic into blaze_util_<platform>.cc in order to clean up the call site and move platform-dependent code out the client's main file. -- MOS_MIGRATED_REVID=139319487
Diffstat (limited to 'src/main/cpp/util/BUILD')
-rw-r--r--src/main/cpp/util/BUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/cpp/util/BUILD b/src/main/cpp/util/BUILD
index bd1e80bbdc..ae75b941bc 100644
--- a/src/main/cpp/util/BUILD
+++ b/src/main/cpp/util/BUILD
@@ -7,6 +7,7 @@ cc_library(
"errors.h",
"file.h",
"file_platform.h",
+ "md5.h",
"numbers.h",
"port.h",
],
@@ -15,6 +16,7 @@ cc_library(
":blaze_exit_code",
":errors",
":file",
+ ":md5",
":numbers",
":port",
":strings",
@@ -70,7 +72,10 @@ cc_library(
name = "md5",
srcs = ["md5.cc"],
hdrs = ["md5.h"],
- visibility = ["//visibility:public"],
+ visibility = [
+ "//src/main/native:__pkg__",
+ "//src/test/cpp/util:__pkg__",
+ ],
)
cc_library(