Remove INDUCED_DEPS from LIBRARY modules
INDUCED_DEPS() macro does nothing outside of TOOL() module, so remove all useless instances and disallow it in LIBRARY for future.
@@ -354,7 +354,7 @@ module BASE_UNIT {
.NODE_TYPE=Bundle
.PEERDIR_POLICY=as_include
.PROTO_POLICY=CPP_PROTO
- .RESTRICTED=GRPC
+ .RESTRICTED=GRPC INDUCED_DEPS
PROTO_SOURCE_INCLUDE=contrib/libs/protobuf/stubs/common.h contrib/libs/protobuf/generated_message_util.h contrib/libs/protobuf/repeated_field.h contrib/libs/protobuf/extension_set.h contrib/libs/protobuf/generated_message_reflection.h contrib/libs/protobuf/service.h contrib/libs/protobuf/messagext.h
PROTO_HEADER_INCLUDE=contrib/libs/protobuf/stubs/once.h contrib/libs/protobuf/io/coded_stream.h contrib/libs/protobuf/wire_format_lite_inl.h contrib/libs/protobuf/descriptor.h contrib/libs/protobuf/reflection_ops.h contrib/libs/protobuf/wire_format.h
@@ -626,6 +626,7 @@ MODULE_TYPE=UNKNOWN
module BASE_PROGRAM: LINK_UNIT {
.SYMLINK_POLICY=EXE
+ .ALLOWED=INDUCED_DEPS
SET(MODULE_TYPE PROGRAM)
when ($WIN32 == "yes" || $OS_CYGWIN == "yes") {
