Add IWYU tags to headers TF is re-exporting.
PiperOrigin-RevId: 291456944 Change-Id: I5fe9c39eca6a8e937afd1d3324c17a6711bcc730
This commit is contained in:
parent
cd9b5e2a5a
commit
30d77a0419
@ -16,7 +16,7 @@ limitations under the License.
|
||||
#ifndef TENSORFLOW_CORE_LIB_GTL_INLINED_VECTOR_H_
|
||||
#define TENSORFLOW_CORE_LIB_GTL_INLINED_VECTOR_H_
|
||||
|
||||
#include "absl/container/inlined_vector.h"
|
||||
#include "absl/container/inlined_vector.h" // IWYU pragma: export
|
||||
// TODO(kramerb): This is kept only because lots of targets transitively depend
|
||||
// on it. Remove all targets' dependencies.
|
||||
#include "tensorflow/core/platform/macros.h"
|
||||
|
||||
@ -22,9 +22,9 @@ limitations under the License.
|
||||
#if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID) || \
|
||||
defined(PLATFORM_GOOGLE_IOS) || defined(GOOGLE_LOGGING) || \
|
||||
defined(__EMSCRIPTEN__)
|
||||
#include "tensorflow/core/platform/google/logging.h"
|
||||
#include "tensorflow/core/platform/google/logging.h" // IWYU pragma: export
|
||||
#else
|
||||
#include "tensorflow/core/platform/default/logging.h"
|
||||
#include "tensorflow/core/platform/default/logging.h" // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
namespace tensorflow {
|
||||
|
||||
@ -28,7 +28,7 @@ limitations under the License.
|
||||
// (https://github.com/google/googletest) to discourage over-eager use of mocks
|
||||
// that lead to cumbersome class hierarchies and tests that might end up not
|
||||
// testing real code in important ways.
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest/gtest.h> // IWYU pragma: export
|
||||
|
||||
namespace tensorflow {
|
||||
namespace testing {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user