aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/java/BUILD
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-02-01 18:13:33 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-01 18:33:19 -0800
commitd1ba01f81d8fa1d0171ba9ce871599063d5c7eb9 (patch)
treecd28fd2d32712c59f8452ede903cd592e0dc95bd /tensorflow/java/BUILD
parentffc667757c6c328e48d80c14f97e32cf6a9d0f53 (diff)
Merge changes from github.
Change: 146316196
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,