Skip to content

Commit

Permalink
Update build targets to point to their real subpackage versus aliased…
Browse files Browse the repository at this point in the history
… package

PiperOrigin-RevId: 557384015
  • Loading branch information
changm authored and tensorflower-gardener committed Aug 16, 2023
1 parent 11278e4 commit 91eae36
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 17 deletions.
4 changes: 2 additions & 2 deletions tensorflow/cc/experimental/libtf/mlir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ cc_library(
"//tensorflow/cc/experimental/libtf",
"//tensorflow/cc/saved_model:bundle_v2",
"//tensorflow/compiler/mlir/tensorflow:import_model",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tensorflow:translate_lib",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_passes",
],
)
4 changes: 2 additions & 2 deletions tensorflow/compiler/mlir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ cc_library(
"//tensorflow/compiler/mlir/lite:tf_tfl_passes", # buildcleaner:keep
"//tensorflow/compiler/mlir/quantization/stablehlo:bridge_passes",
"//tensorflow/compiler/mlir/tensorflow",
"//tensorflow/compiler/mlir/tensorflow:bridge_pass_test_pipeline_registration",
"//tensorflow/compiler/mlir/tensorflow:mlir_roundtrip_pass_registration",
"//tensorflow/compiler/mlir/tensorflow:mlprogram_util",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_test_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_graph_optimization_pass",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_passes", # buildcleaner:keep
"//tensorflow/compiler/mlir/tensorflow/transforms:bridge_pass_test_pipeline_registration",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_passes", # buildcleaner:keep
"//tensorflow/compiler/mlir/tf2xla:compile_mlir_util",
"//tensorflow/compiler/mlir/tf2xla/transforms:tf_xla_passes",
"//tensorflow/compiler/mlir/tf2xla/transforms:xla_legalize_tf",
Expand Down
8 changes: 4 additions & 4 deletions tensorflow/compiler/mlir/lite/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ td_library(
deps = [
":tensorflow_lite_ops_td_files",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_ops_td_files",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_optimize_td_files",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_optimize_td_files",
"@llvm-project//mlir:ArithOpsTdFiles",
"@llvm-project//mlir:FuncTdFiles",
],
Expand Down Expand Up @@ -1316,11 +1316,11 @@ cc_library(
"//tensorflow/compiler/mlir/tensorflow:error_util",
"//tensorflow/compiler/mlir/tensorflow:mlir_roundtrip_flags",
"//tensorflow/compiler/mlir/tensorflow:tf_dialect_lib",
"//tensorflow/compiler/mlir/tensorflow:tf_dialect_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_freeze_variables",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tensorflow:translate_lib",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_dialect_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_freeze_variables",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_passes",
"//tensorflow/core:framework",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core/platform:status",
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/compiler/mlir/lite/stablehlo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ cc_library(
":tf_stablehlo",
":unfuse_batch_norm_pass",
"//tensorflow/compiler/mlir/quantization/stablehlo:bridge_passes",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tf2xla/transforms:tf_xla_passes",
"//tensorflow/compiler/xla/mlir_hlo:mhlo_passes",
"@llvm-project//mlir:Pass",
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/compiler/mlir/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ cc_library(
"//tensorflow/compiler/mlir/tensorflow:import_utils",
"//tensorflow/compiler/mlir/tensorflow:mlir_roundtrip_flags",
"//tensorflow/compiler/mlir/tensorflow:mlprogram_util",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_saved_model_passes",
"//tensorflow/compiler/mlir/tensorflow:translate_lib",
"//tensorflow/compiler/mlir/tf2xla/transforms:xla_legalize_tf",
"//tensorflow/compiler/mlir/tools/kernel_gen/ir:tf_framework_ops",
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/compiler/mlir/quantization/tensorflow/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ cc_library(
"//tensorflow/compiler/mlir/tensorflow:export_graphdef",
"//tensorflow/compiler/mlir/tensorflow:mlir_import_options",
"//tensorflow/compiler/mlir/tensorflow:mlir_roundtrip_flags",
"//tensorflow/compiler/mlir/tensorflow:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow:tf_dialect_passes",
"//tensorflow/compiler/mlir/tensorflow:translate_lib",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tensorflow/transforms:tf_dialect_passes",
"//tensorflow/core:framework",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core/platform:path",
Expand Down
2 changes: 0 additions & 2 deletions tensorflow/compiler/mlir/tensorflow/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2003,9 +2003,7 @@ build_test(
# these BUILD targets in a follow up.
aliased_targets = [
"tensorflow_passes",
"tf_saved_model_passes",
"graph_optimization_pass_registration",
"tensorflow_optimize_td_files",
"bridge_pass_test_pipeline_registration",
"tensorflow_reduce_patterns_inc_gen",
"tf_device_pass_inc_gen",
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/compiler/mlir/tfrt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ cc_library(
"//tensorflow/compiler/mlir:passes",
"//tensorflow/compiler/mlir/lite:tensorflow_lite",
"//tensorflow/compiler/mlir/tensorflow",
"//tensorflow/compiler/mlir/tensorflow:bridge_pass_test_pipeline_registration",
"//tensorflow/compiler/mlir/tensorflow/transforms:bridge_pass_test_pipeline_registration",
"//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
"//tensorflow/compiler/mlir/tfrt/ir:tfrt_fallback_async_opdefs",
"//tensorflow/compiler/mlir/tfrt/ir:tfrt_fallback_opdefs",
Expand Down

0 comments on commit 91eae36

Please sign in to comment.