Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup autoload flags #25263

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ private FlagConstants() {}

// TODO - ilist@: once Java providers are removed, the whole line can be compressed to "@rules_java"
public static final String DEFAULT_INCOMPATIBLE_AUTOLOAD_EXTERNALLY =
"+@rules_python," +
"@rules_python," +
"+java_common,+JavaInfo,+JavaPluginInfo,ProguardSpecProvider," +
"java_binary,java_import,java_library,java_plugin,java_test," +
"java_runtime,java_toolchain,java_package_configuration," +
"@com_google_protobuf," +
"@rules_shell," +
"+@rules_android";
"@rules_android";

public static final String DEFAULT_INCOMPATIBLE_PACKAGE_GROUP_HAS_PUBLIC_SYNTAX = "true";
public static final String DEFAULT_INCOMPATIBLE_FIX_PACKAGE_GROUP_REPOROOT_SYNTAX = "true";
Expand Down
9 changes: 3 additions & 6 deletions src/main/starlark/docgen/objc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@
"""Objective-C"""
# Build Encyclopedia entry point for Objc rules implemented in Starlark in Blaze's @_builtins

binary_rules = struct(
)
binary_rules = struct()

library_rules = struct(
objc_library = native.objc_library,
objc_import = native.objc_import,
)

test_rules = struct(
)
test_rules = struct()

other_rules = struct(
)
other_rules = struct()
6 changes: 2 additions & 4 deletions src/main/starlark/docgen/proto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ load("@com_google_protobuf//bazel/private:java_lite_proto_library.bzl", "java_li
load("@com_google_protobuf//bazel/private:proto_lang_toolchain_rule.bzl", "proto_lang_toolchain") # buildifier: disable=bzl-visibility
load("@com_google_protobuf//bazel/private:proto_toolchain_rule.bzl", "proto_toolchain") # buildifier: disable=bzl-visibility

binary_rules = struct(
)
binary_rules = struct()

library_rules = struct(
proto_library = proto_library,
Expand All @@ -34,8 +33,7 @@ library_rules = struct(
py_proto_library = py_proto_library,
)

test_rules = struct(
)
test_rules = struct()

other_rules = struct(
proto_toolchain = proto_toolchain,
Expand Down
3 changes: 1 addition & 2 deletions src/main/starlark/docgen/sh.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ test_rules = struct(
sh_test = sh_test,
)

other_rules = struct(
)
other_rules = struct()
Loading