aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Josh Levenberg <josh11b@tensorflow.org>2016-01-06 12:53:45 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2016-01-06 12:53:45 -0800
commit252bb90ca2dd412ca2fd2908faf1a25d6ef618cf (patch)
treedac8bd5cbdd617fb42206d16001e087355c0690d
parent71677020b92898da52d26885ce269b104ec863b7 (diff)
#include third_party/tensorflow/core/platform/macros.h
directly so we can drop it from port.h. Change: 111506675
-rw-r--r--tensorflow/cc/ops/cc_op_gen.cc1
-rw-r--r--tensorflow/core/graph/colors.cc1
-rw-r--r--tensorflow/core/graph/costmodel.h1
-rw-r--r--tensorflow/core/graph/edgeset.h1
-rw-r--r--tensorflow/core/graph/graph.h1
-rw-r--r--tensorflow/core/lib/hash/hash.cc1
-rw-r--r--tensorflow/core/lib/histogram/histogram.h1
-rw-r--r--tensorflow/core/lib/io/inputbuffer.h1
-rw-r--r--tensorflow/core/lib/io/record_reader.h1
-rw-r--r--tensorflow/core/lib/io/record_writer.h1
-rw-r--r--tensorflow/core/lib/random/distribution_sampler.h1
-rw-r--r--tensorflow/core/lib/random/distribution_sampler_test.cc1
-rw-r--r--tensorflow/core/lib/random/weighted_picker.h1
-rw-r--r--tensorflow/core/lib/random/weighted_picker_test.cc1
-rw-r--r--tensorflow/core/platform/default/logging.cc1
-rw-r--r--tensorflow/core/platform/default/logging.h1
-rw-r--r--tensorflow/core/platform/test_benchmark.h1
-rw-r--r--tensorflow/core/platform/tracing.h1
-rw-r--r--tensorflow/core/public/env.h1
-rw-r--r--tensorflow/core/public/tensor.h1
-rw-r--r--tensorflow/python/framework/python_op_gen.cc1
-rw-r--r--tensorflow/python/lib/core/py_func.cc1
-rw-r--r--tensorflow/python/lib/io/py_record_reader.h1
-rw-r--r--tensorflow/python/lib/io/py_record_writer.h1
-rw-r--r--tensorflow/stream_executor/platform/port.h1
25 files changed, 25 insertions, 0 deletions
diff --git a/tensorflow/cc/ops/cc_op_gen.cc b/tensorflow/cc/ops/cc_op_gen.cc
index 995dd240e2..0d0da6c53c 100644
--- a/tensorflow/cc/ops/cc_op_gen.cc
+++ b/tensorflow/cc/ops/cc_op_gen.cc
@@ -28,6 +28,7 @@ limitations under the License.
#include "tensorflow/core/lib/gtl/stl_util.h"
#include "tensorflow/core/lib/strings/strcat.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/env.h"
diff --git a/tensorflow/core/graph/colors.cc b/tensorflow/core/graph/colors.cc
index c75c2405d6..386e325dde 100644
--- a/tensorflow/core/graph/colors.cc
+++ b/tensorflow/core/graph/colors.cc
@@ -15,6 +15,7 @@ limitations under the License.
#include "tensorflow/core/graph/colors.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/graph/costmodel.h b/tensorflow/core/graph/costmodel.h
index 5330e54d20..f86fc6a141 100644
--- a/tensorflow/core/graph/costmodel.h
+++ b/tensorflow/core/graph/costmodel.h
@@ -22,6 +22,7 @@ limitations under the License.
#include "tensorflow/core/graph/graph.h"
#include "tensorflow/core/graph/types.h"
#include "tensorflow/core/lib/gtl/array_slice.h"
+#include "tensorflow/core/platform/macros.h"
namespace tensorflow {
typedef std::unordered_map<string, int32> NodeNameToCostIdMap;
diff --git a/tensorflow/core/graph/edgeset.h b/tensorflow/core/graph/edgeset.h
index 8699f2ce82..7fdc9b691e 100644
--- a/tensorflow/core/graph/edgeset.h
+++ b/tensorflow/core/graph/edgeset.h
@@ -18,6 +18,7 @@ limitations under the License.
#include <stddef.h>
#include <set>
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/logging.h"
diff --git a/tensorflow/core/graph/graph.h b/tensorflow/core/graph/graph.h
index 973339d487..6e05624ce2 100644
--- a/tensorflow/core/graph/graph.h
+++ b/tensorflow/core/graph/graph.h
@@ -48,6 +48,7 @@ limitations under the License.
#include "tensorflow/core/lib/core/refcount.h"
#include "tensorflow/core/lib/gtl/iterator_range.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/core/lib/hash/hash.cc b/tensorflow/core/lib/hash/hash.cc
index ceed91409a..1c21d59c2b 100644
--- a/tensorflow/core/lib/hash/hash.cc
+++ b/tensorflow/core/lib/hash/hash.cc
@@ -16,6 +16,7 @@ limitations under the License.
#include "tensorflow/core/lib/hash/hash.h"
#include "tensorflow/core/lib/core/raw_coding.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include <string.h>
diff --git a/tensorflow/core/lib/histogram/histogram.h b/tensorflow/core/lib/histogram/histogram.h
index 6f192ecf1a..14c332f2b2 100644
--- a/tensorflow/core/lib/histogram/histogram.h
+++ b/tensorflow/core/lib/histogram/histogram.h
@@ -18,6 +18,7 @@ limitations under the License.
#include <string>
#include "tensorflow/core/lib/gtl/array_slice.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/thread_annotations.h"
diff --git a/tensorflow/core/lib/io/inputbuffer.h b/tensorflow/core/lib/io/inputbuffer.h
index 149ac79f9a..7c75770dbd 100644
--- a/tensorflow/core/lib/io/inputbuffer.h
+++ b/tensorflow/core/lib/io/inputbuffer.h
@@ -17,6 +17,7 @@ limitations under the License.
#define TENSORFLOW_LIB_IO_INPUTBUFFER_H_
#include <string>
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/env.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/core/lib/io/record_reader.h b/tensorflow/core/lib/io/record_reader.h
index 92668429a5..19613e5312 100644
--- a/tensorflow/core/lib/io/record_reader.h
+++ b/tensorflow/core/lib/io/record_reader.h
@@ -17,6 +17,7 @@ limitations under the License.
#define TENSORFLOW_LIB_IO_RECORD_READER_H_
#include "tensorflow/core/lib/core/stringpiece.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/core/lib/io/record_writer.h b/tensorflow/core/lib/io/record_writer.h
index 72471656de..193adb9ed8 100644
--- a/tensorflow/core/lib/io/record_writer.h
+++ b/tensorflow/core/lib/io/record_writer.h
@@ -17,6 +17,7 @@ limitations under the License.
#define TENSORFLOW_LIB_IO_RECORD_WRITER_H_
#include "tensorflow/core/lib/core/stringpiece.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/core/lib/random/distribution_sampler.h b/tensorflow/core/lib/random/distribution_sampler.h
index bbd4609cfd..8c41826379 100644
--- a/tensorflow/core/lib/random/distribution_sampler.h
+++ b/tensorflow/core/lib/random/distribution_sampler.h
@@ -38,6 +38,7 @@ limitations under the License.
#include "tensorflow/core/lib/gtl/array_slice.h"
#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/lib/random/distribution_sampler_test.cc b/tensorflow/core/lib/random/distribution_sampler_test.cc
index 0ddaa124c4..afcf4fc449 100644
--- a/tensorflow/core/lib/random/distribution_sampler_test.cc
+++ b/tensorflow/core/lib/random/distribution_sampler_test.cc
@@ -21,6 +21,7 @@ limitations under the License.
#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/simple_philox.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"
diff --git a/tensorflow/core/lib/random/weighted_picker.h b/tensorflow/core/lib/random/weighted_picker.h
index c3b56f3307..96e970267a 100644
--- a/tensorflow/core/lib/random/weighted_picker.h
+++ b/tensorflow/core/lib/random/weighted_picker.h
@@ -30,6 +30,7 @@ limitations under the License.
#include <assert.h>
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/lib/random/weighted_picker_test.cc b/tensorflow/core/lib/random/weighted_picker_test.cc
index 997e6fae6d..ff522c727e 100644
--- a/tensorflow/core/lib/random/weighted_picker_test.cc
+++ b/tensorflow/core/lib/random/weighted_picker_test.cc
@@ -21,6 +21,7 @@ limitations under the License.
#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"
diff --git a/tensorflow/core/platform/default/logging.cc b/tensorflow/core/platform/default/logging.cc
index 3b0359b410..a4577b95af 100644
--- a/tensorflow/core/platform/default/logging.cc
+++ b/tensorflow/core/platform/default/logging.cc
@@ -14,6 +14,7 @@ limitations under the License.
==============================================================================*/
#include "tensorflow/core/platform/default/logging.h"
+#include "tensorflow/core/platform/macros.h"
#if defined(PLATFORM_POSIX_ANDROID)
#include <android/log.h>
diff --git a/tensorflow/core/platform/default/logging.h b/tensorflow/core/platform/default/logging.h
index c295e3bc93..37fdc04218 100644
--- a/tensorflow/core/platform/default/logging.h
+++ b/tensorflow/core/platform/default/logging.h
@@ -17,6 +17,7 @@ limitations under the License.
#define TENSORFLOW_PLATFORM_DEFAULT_LOGGING_H_
#include <sstream>
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/platform/test_benchmark.h b/tensorflow/core/platform/test_benchmark.h
index b36f1b71f6..e1ec9196a0 100644
--- a/tensorflow/core/platform/test_benchmark.h
+++ b/tensorflow/core/platform/test_benchmark.h
@@ -17,6 +17,7 @@ limitations under the License.
#ifndef TENSORFLOW_PLATFORM_TEST_BENCHMARK_H_
#define TENSORFLOW_PLATFORM_TEST_BENCHMARK_H_
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#if defined(PLATFORM_GOOGLE)
diff --git a/tensorflow/core/platform/tracing.h b/tensorflow/core/platform/tracing.h
index 0ce7bd379d..6c14587044 100644
--- a/tensorflow/core/platform/tracing.h
+++ b/tensorflow/core/platform/tracing.h
@@ -24,6 +24,7 @@ limitations under the License.
#include "tensorflow/core/lib/core/stringpiece.h"
#include "tensorflow/core/lib/strings/strcat.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h" // Must be first
#include "tensorflow/core/platform/thread_annotations.h"
diff --git a/tensorflow/core/public/env.h b/tensorflow/core/public/env.h
index e40fe8974f..8f672c1aaf 100644
--- a/tensorflow/core/public/env.h
+++ b/tensorflow/core/public/env.h
@@ -20,6 +20,7 @@ limitations under the License.
#include <string>
#include <vector>
#include "tensorflow/core/lib/core/stringpiece.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/protobuf.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/core/public/tensor.h b/tensorflow/core/public/tensor.h
index 6c95cca026..c613831a8d 100644
--- a/tensorflow/core/public/tensor.h
+++ b/tensorflow/core/public/tensor.h
@@ -27,6 +27,7 @@ limitations under the License.
#include "tensorflow/core/lib/core/refcount.h"
#include "tensorflow/core/lib/core/stringpiece.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
#include "tensorflow/core/public/tensor_shape.h"
diff --git a/tensorflow/python/framework/python_op_gen.cc b/tensorflow/python/framework/python_op_gen.cc
index 898c4acf18..77dac678cb 100644
--- a/tensorflow/python/framework/python_op_gen.cc
+++ b/tensorflow/python/framework/python_op_gen.cc
@@ -31,6 +31,7 @@ limitations under the License.
#include "tensorflow/core/lib/strings/strcat.h"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/python/lib/core/py_func.cc b/tensorflow/python/lib/core/py_func.cc
index 87c64014bf..4702413b47 100644
--- a/tensorflow/python/lib/core/py_func.cc
+++ b/tensorflow/python/lib/core/py_func.cc
@@ -20,6 +20,7 @@ limitations under the License.
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/core/threadpool.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/python/lib/io/py_record_reader.h b/tensorflow/python/lib/io/py_record_reader.h
index 883e864bd4..9cae3c7358 100644
--- a/tensorflow/python/lib/io/py_record_reader.h
+++ b/tensorflow/python/lib/io/py_record_reader.h
@@ -17,6 +17,7 @@ limitations under the License.
#define TENSORFLOW_PYTHON_LIB_IO_PY_RECORD_READER_H_
#include "tensorflow/core/lib/core/stringpiece.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/python/lib/io/py_record_writer.h b/tensorflow/python/lib/io/py_record_writer.h
index 637ee1b8bb..63ad415f77 100644
--- a/tensorflow/python/lib/io/py_record_writer.h
+++ b/tensorflow/python/lib/io/py_record_writer.h
@@ -17,6 +17,7 @@ limitations under the License.
#define THIRD_PARTY_TENSORFLOW_PYTHON_LIB_IO_PY_RECORD_WRITER_H_
#include "tensorflow/core/lib/core/stringpiece.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/public/status.h"
diff --git a/tensorflow/stream_executor/platform/port.h b/tensorflow/stream_executor/platform/port.h
index c1b770e486..6ad9246418 100644
--- a/tensorflow/stream_executor/platform/port.h
+++ b/tensorflow/stream_executor/platform/port.h
@@ -18,6 +18,7 @@ limitations under the License.
#ifndef TENSORFLOW_STREAM_EXECUTOR_PLATFORM_PORT_H_
#define TENSORFLOW_STREAM_EXECUTOR_PLATFORM_PORT_H_
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace perftools {