File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,10 @@ http_archive(
2626
url = "https://.com/bazelbuild/rules_java/releases/download/5.3.5/rules_java-5.3.5.tar.gz",
2727
)
2828

29-
# TensorFlow - using http_archive instead of git submodule
30-
# Commit: 49908c1e646b87987251a9bd70c7be5b9a2f2649 (2025-06-03)
31-
http_archive(
29+
# TensorFlow
30+
local_repository(
3231
name = "org_tensorflow",
33-
sha256 = "12ee9f1b6fdbfffc3eaf778fda7f8436cf5b853fd458ae7416f58763ddddb991",
34-
strip_prefix = "tensorflow-49908c1e646b87987251a9bd70c7be5b9a2f2649",
35-
urls = [
36-
"https://.com/tensorflow/tensorflow/archive/49908c1e646b87987251a9bd70c7be5b9a2f2649.tar.gz",
37-
],
32+
path = "third_party/tensorflow",
3833
)
3934

4035
# Initialize the TensorFlow repository and all dependencies.
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ BUILD_FLAGS=(
2626
"--config=disable_tf_lite_py"
2727
"--test_lang_filters=${TEST_LANG_FILTERS}"
2828
"--keep_going"
29+
"--repo_env=USE_PYWRAP_RULES=True"
2930
)
3031

3132
# Add Bazel --config flags based on kokoro injected env ie. --config=public_cache
@@ -71,20 +72,11 @@ EXCLUDED_TARGETS=(
7172
"-//tflite/java/..."
7273
"-//tflite/tools/benchmark/experimental/..."
7374
"-//tflite/delegates/gpu/..."
74-
# TODO: (b/410925271) - Remove once the test is fixed.
75-
"-//tflite/core/experimental/acceleration/mini_benchmark/c:c_api_test"
76-
"-//tflite/experimental/acceleration/..."
77-
"-//tflite/python:analyzer_test"
78-
"-//tflite/python:convert_saved_model_test"
79-
"-//tflite/python:convert_test"
80-
"-//tflite/python:test_util_test"
81-
"-//tflite/python/metrics:metrics_test"
82-
"-//tflite/toco/logging:gen_html_test"
83-
"-//tflite/tools:flatbuffer_utils_test"
84-
"-//tflite/tools:visualize_test"
75+
# TODO: (b/410925271) - Targets not migrated to pywrap_rules yet
8576
"-//tflite/tools/optimize/python:modify_model_interface_lib_test"
86-
"-//tflite/python/kernel_tests/signal:window_ops_test_cpu"
77+
"-//tflite/core/experimental/acceleration/mini_benchmark/c:c_api_test"
8778
"-//tflite/testing/..."
79+
"-//tflite/toco/..."
8880
)
8981

9082
LITERT_EXCLUDED_TARGETS=(

0 commit comments

Comments
 (0)