From f009c2086b9b1b0d986d37e80e8cd30edd53dbd9 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 19 Feb 2021 14:11:48 -0800 Subject: [PATCH] Remove superfluous, add missing dependencies in BUILD files. Signed-off-by: Henner Zeller --- verilog/CST/BUILD | 2 -- verilog/tools/syntax/export_json_examples/BUILD | 10 ++++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/verilog/CST/BUILD b/verilog/CST/BUILD index ce96d4b08..a08ce9526 100644 --- a/verilog/CST/BUILD +++ b/verilog/CST/BUILD @@ -906,7 +906,6 @@ cc_library( "//common/text:symbol", "//common/text:token_info", "//common/text:token_info_json", - "//common/text:tree_utils", "//common/util:value_saver", "//verilog/parser:verilog_token", "@com_google_absl//absl/strings", @@ -959,7 +958,6 @@ cc_test( "//common/text:symbol", "//common/util:logging", "//verilog/analysis:verilog_analyzer", - "@com_google_absl//absl/memory", "@com_google_absl//absl/strings", "@com_google_googletest//:gtest_main", "@jsoncpp_git//:jsoncpp", diff --git a/verilog/tools/syntax/export_json_examples/BUILD b/verilog/tools/syntax/export_json_examples/BUILD index 87ab6e34b..85da8878b 100644 --- a/verilog/tools/syntax/export_json_examples/BUILD +++ b/verilog/tools/syntax/export_json_examples/BUILD @@ -32,7 +32,10 @@ py_binary( srcs_version = "PY3", python_version = "PY3", main = "print_modules.py", - deps = [":verible_verilog_syntax_py"], + deps = [ + ":verible_verilog_syntax_py", + "@python_anytree//:anytree", + ], data = ["//verilog/tools/syntax:verible-verilog-syntax"], args = ["$(location //verilog/tools/syntax:verible-verilog-syntax)"], ) @@ -43,7 +46,10 @@ py_binary( srcs_version = "PY3", python_version = "PY3", main = "print_tree.py", - deps = [":verible_verilog_syntax_py"], + deps = [ + ":verible_verilog_syntax_py", + "@python_anytree//:anytree", + ], data = ["//verilog/tools/syntax:verible-verilog-syntax"], args = ["$(location //verilog/tools/syntax:verible-verilog-syntax)"], )