File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
third_party/toolchains/tf Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ cc_library(
44 name = "tf_header_lib",
55 hdrs = [":tf_header_include"],
66 includes = ["include"],
7+ deps = [
8+ "@com_google_absl//absl/container:flat_hash_map",
9+ "@com_google_absl//absl/container:inlined_vector",
10+ "@com_google_absl//absl/strings",
11+ "@com_google_absl//absl/types:optional",
12+ "@com_google_absl//absl/types:span",
13+ ],
714 visibility = ["//visibility:public"],
815)
916
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def _symlink_genrule_for_dir(
147147 if src_dir != None :
148148 src_dir = _norm_path (src_dir )
149149 dest_dir = _norm_path (dest_dir )
150- files = "\n " .join (sorted (_read_dir (repository_ctx , src_dir ).splitlines ()))
150+ files = "\n " .join (sorted ([ e for e in _read_dir (repository_ctx , src_dir ).splitlines () if ( "/external/" not in e ) and ( "/absl/" not in e )] ))
151151
152152 # Create a list with the src_dir stripped to use for outputs.
153153 if tf_pip_dir_rename_pair_len :
You can’t perform that action at this time.
0 commit comments