aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/profiler
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-05 14:16:43 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-05 14:20:46 -0700
commitdfd8e7110e805d83554da4dd8d37a0e72da8a3b6 (patch)
treeb3d7b3d807eb1f6b8361bef094dac5632f15ad15 /tensorflow/core/profiler
parent6f898c6b2cbbc257d0966ee313a3670e88919463 (diff)
BUILD cleanup
PiperOrigin-RevId: 164369858
Diffstat (limited to 'tensorflow/core/profiler')
-rw-r--r--tensorflow/core/profiler/internal/BUILD22
-rw-r--r--tensorflow/core/profiler/internal/advisor/BUILD7
2 files changed, 19 insertions, 10 deletions
diff --git a/tensorflow/core/profiler/internal/BUILD b/tensorflow/core/profiler/internal/BUILD
index 3bbe0603c6..f9dd1e8c7c 100644
--- a/tensorflow/core/profiler/internal/BUILD
+++ b/tensorflow/core/profiler/internal/BUILD
@@ -1,9 +1,6 @@
package(
default_visibility = ["//tensorflow:internal"],
- features = [
- "-layering_check",
- "-parse_headers",
- ],
+ features = ["-parse_headers"],
)
licenses(["notice"]) # Apache 2.0
@@ -116,6 +113,7 @@ cc_library(
"//tensorflow/c:checkpoint_reader",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
+ "//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:regexp_internal",
"//tensorflow/core/profiler:protos_all_cc",
@@ -217,6 +215,9 @@ tf_cc_test(
":tfprof_tf_testlib",
":tfprof_utils",
"//tensorflow/c:checkpoint_reader",
+ "//tensorflow/core:lib",
+ "//tensorflow/core:protos_all_cc",
+ "//tensorflow/core:test",
"//tensorflow/core/profiler:protos_all_cc",
],
)
@@ -235,6 +236,11 @@ tf_cc_test(
":tfprof_stats",
":tfprof_tf_testlib",
":tfprof_utils",
+ "//tensorflow/c:checkpoint_reader",
+ "//tensorflow/core:lib",
+ "//tensorflow/core:lib_internal",
+ "//tensorflow/core:protos_all_cc",
+ "//tensorflow/core:test",
"//tensorflow/core/profiler:protos_all_cc",
],
)
@@ -307,6 +313,9 @@ tf_cc_test(
":tfprof_tf_testlib",
":tfprof_utils",
"//tensorflow/c:checkpoint_reader",
+ "//tensorflow/core:lib",
+ "//tensorflow/core:protos_all_cc",
+ "//tensorflow/core:test",
"//tensorflow/core/profiler:protos_all_cc",
],
)
@@ -339,6 +348,9 @@ tf_cc_test(
":tfprof_tf_testlib",
":tfprof_utils",
"//tensorflow/c:checkpoint_reader",
+ "//tensorflow/core:lib",
+ "//tensorflow/core:protos_all_cc",
+ "//tensorflow/core:test",
"//tensorflow/core/profiler:protos_all_cc",
],
)
@@ -346,8 +358,6 @@ tf_cc_test(
cc_library(
name = "tfprof_constants",
hdrs = ["tfprof_constants.h"],
- deps = [
- ],
)
cc_library(
diff --git a/tensorflow/core/profiler/internal/advisor/BUILD b/tensorflow/core/profiler/internal/advisor/BUILD
index e50145bf46..8c68ec6cb5 100644
--- a/tensorflow/core/profiler/internal/advisor/BUILD
+++ b/tensorflow/core/profiler/internal/advisor/BUILD
@@ -1,9 +1,6 @@
package(
default_visibility = ["//tensorflow:internal"],
- features = [
- "-layering_check",
- "-parse_headers",
- ],
+ features = ["-parse_headers"],
)
licenses(["notice"]) # Apache 2.0
@@ -69,6 +66,8 @@ tf_cc_test(
srcs = ["tfprof_advisor_test.cc"],
deps = [
":tfprof_advisor",
+ "//tensorflow/core:lib",
+ "//tensorflow/core:test",
"//tensorflow/core/profiler/internal:tfprof_tf_testlib",
],
)