Skip to content

Load rules from Starlark #2328

@avdv

Description

@avdv

Is your feature request related to a problem? Please describe.
Native rules should be loaded from Starlark.

  • C++ rules should be loaded from rules_cc
  • Java rules should be loaded from rules_java
  • Protobuf rules should be loaded from rules_proto

Describe the solution you'd like
Currently, we rely on the native rules being available automatically. We should migrate away from that and explicitly depend on the appropriate ruleset.

The buildifier warnings currently suppressed should be enabled.

Running buildifier will automatically fix the problems in the build file, but we need to ensure the rulesets are properly defined.

Describe alternatives you've considered

Additional context
#2323

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions