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(
4
4
name = "tf_header_lib",
5
5
hdrs = [":tf_header_include"],
6
6
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
+ ],
7
14
visibility = ["//visibility:public"],
8
15
)
9
16
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def _symlink_genrule_for_dir(
147
147
if src_dir != None :
148
148
src_dir = _norm_path (src_dir )
149
149
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 )] ))
151
151
152
152
# Create a list with the src_dir stripped to use for outputs.
153
153
if tf_pip_dir_rename_pair_len :
You can’t perform that action at this time.
0 commit comments