From 1cb2717115150f2d558ea4297c28ccdb042034dd Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 21 Mar 2022 14:05:55 +0100 Subject: Drop unnecessary declaration of indirect dependencies If we do not use a target directly, we also should not include it. It's be build tool's job to track indirect dependencies. --- src/buildtool/common/TARGETS | 1 - src/buildtool/execution_api/bazel_msg/TARGETS | 4 ---- 2 files changed, 5 deletions(-) (limited to 'src') diff --git a/src/buildtool/common/TARGETS b/src/buildtool/common/TARGETS index 49eb9b5c..eec2b011 100644 --- a/src/buildtool/common/TARGETS +++ b/src/buildtool/common/TARGETS @@ -15,7 +15,6 @@ { "type": ["@", "rules", "CC", "library"] , "name": ["bazel_types"] , "hdrs": ["bazel_types.hpp"] - , "deps": [["@", "grpc", "", "grpc++"]] , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] , "stage": ["src", "buildtool", "common"] } diff --git a/src/buildtool/execution_api/bazel_msg/TARGETS b/src/buildtool/execution_api/bazel_msg/TARGETS index 6746f587..c62a8232 100644 --- a/src/buildtool/execution_api/bazel_msg/TARGETS +++ b/src/buildtool/execution_api/bazel_msg/TARGETS @@ -7,9 +7,7 @@ , ["src/buildtool/file_system", "file_system_manager"] , ["src/utils/cpp", "concepts"] , ["src/utils/cpp", "type_safe_arithmetic"] - , ["@", "grpc", "", "grpc++"] ] - , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] , "stage": ["src", "buildtool", "execution_api", "bazel_msg"] } , "bazel_msg_factory": @@ -22,10 +20,8 @@ , ["src/buildtool/common", "common"] , ["src/buildtool/file_system", "file_system_manager"] , ["src/buildtool/execution_engine/dag", "dag"] - , ["@", "grpc", "", "grpc++"] , ["@", "gsl-lite", "", "gsl-lite"] ] - , "proto": [["@", "bazel_remote_apis", "", "remote_execution_proto"]] , "stage": ["src", "buildtool", "execution_api", "bazel_msg"] } } -- cgit v1.2.3