aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/java/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/java/BUILD')
-rw-r--r--tensorflow/java/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/java/BUILD b/tensorflow/java/BUILD
index 134c173b62..80fb500f30 100644
--- a/tensorflow/java/BUILD
+++ b/tensorflow/java/BUILD
@@ -96,6 +96,7 @@ java_test(
test_class = "org.tensorflow.TensorTest",
deps = [
":tensorflow",
+ ":testutil",
"//external:junit",
],
)
@@ -118,6 +119,7 @@ cc_binary(
# symbols from the library. This reduces the size of the library
# considerably (~50% as of January 2017).
linkopts = select({
+ "//tensorflow:debug": [], # Disable all custom linker options in debug mode
"//tensorflow:darwin": [
"-Wl,-exported_symbols_list", # This line must be directly followed by LINKER_EXPORTED_SYMBOLS
LINKER_EXPORTED_SYMBOLS,