Figure out how we're building Bazel and make the code work with it

Change-Id: Iac0abca9e34ebf9d8f41f6f5a5803f54ca2b8beb
diff --git a/tools/BUILD b/tools/BUILD
index 9e25adc..747b9c1 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -1,5 +1,7 @@
 package(default_visibility = ['//visibility:public'])
 
+exports_files(['test_sharding_compliant'])
+
 # Don't use these directly! Use //tools/build_rules/select.bzl instead.
 config_setting(
   name = 'compiler_clang',