Skip to content

Commit

Permalink
Make all Python targets under tensorflow/compiler/mlir/lite/**/ have …
Browse files Browse the repository at this point in the history
…strict dependencies.

PiperOrigin-RevId: 543542423
  • Loading branch information
jam14j authored and tensorflower-gardener committed Jun 26, 2023
1 parent b82ff01 commit b605c23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tensorflow/compiler/mlir/lite/experimental/tac/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//tensorflow:strict.default.bzl", "py_strict_library")
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
load("@flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
load("//tensorflow:tensorflow.bzl", "tf_cc_binary", "tf_cc_test")
Expand Down Expand Up @@ -370,7 +371,7 @@ exports_files([
"run_lit.sh",
])

py_library(
py_strict_library(
name = "tac",
srcs = [
"tac.py",
Expand Down
5 changes: 3 additions & 2 deletions tensorflow/compiler/mlir/lite/tests/debuginfo/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("//tensorflow:strict.default.bzl", "py_strict_binary")
load("//tensorflow:tensorflow.default.bzl", "filegroup")
load("//tensorflow/compiler/mlir:glob_lit_test.bzl", "glob_lit_tests")

Expand Down Expand Up @@ -40,7 +41,7 @@ filegroup(
],
)

py_binary(
py_strict_binary(
name = "saved_model_error",
srcs = ["saved_model_error.py"],
main = "saved_model_error.py",
Expand All @@ -51,7 +52,7 @@ py_binary(
],
)

py_binary(
py_strict_binary(
name = "concrete_function_error",
srcs = ["concrete_function_error.py"],
main = "concrete_function_error.py",
Expand Down

0 comments on commit b605c23

Please sign in to comment.