aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar Eli Bendersky <eliben@google.com>2017-07-27 16:26:24 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-27 16:29:59 -0700
commitce1c7f02ada624d8a9f7deec880dfd341f1a400b (patch)
tree1e8cf71d48bb97e3c07c3671864f5f583742702e /tensorflow
parent6b7314de49affa69e64231ccac036d1baa411363 (diff)
Properly include logging header in xla_internal_test_main
PiperOrigin-RevId: 163405986
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/compiler/xla/tests/BUILD1
-rw-r--r--tensorflow/compiler/xla/tests/xla_internal_test_main.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/tests/BUILD b/tensorflow/compiler/xla/tests/BUILD
index ab870c6506..8fe709be95 100644
--- a/tensorflow/compiler/xla/tests/BUILD
+++ b/tensorflow/compiler/xla/tests/BUILD
@@ -41,6 +41,7 @@ cc_library(
srcs = ["xla_internal_test_main.cc"],
deps = [
"//tensorflow/compiler/xla/legacy_flags:debug_options_flags",
+ "//tensorflow/core:lib",
"//tensorflow/core:test",
],
)
diff --git a/tensorflow/compiler/xla/tests/xla_internal_test_main.cc b/tensorflow/compiler/xla/tests/xla_internal_test_main.cc
index 9078c5f07f..92b2b1ee77 100644
--- a/tensorflow/compiler/xla/tests/xla_internal_test_main.cc
+++ b/tensorflow/compiler/xla/tests/xla_internal_test_main.cc
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/compiler/xla/legacy_flags/debug_options_flags.h"
+#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/test.h"
GTEST_API_ int main(int argc, char** argv) {