@Haoran_Jiang That shouldn’t be a problem! You can use Bazel to specify a local repository:
https://docs.bazel.build/versions/main/external.html#depending-on-other-bazel-projects 1
So you can replace tf_http_archive with the local repository rule as a stand in. There might be some additional troubleshooting beyond just specifying the local repository path, but this should be a start.