Documentation
¶
Index ¶
- Constants
- func ResolveTransitiveProtoLibraryDeps(rel string, r *rule.Rule) map[string]string
- type ClosureJsLibrary
- func (s *ClosureJsLibrary) Deps() []string
- func (s *ClosureJsLibrary) Imports(c *config.Config, r *rule.Rule, file *rule.File) []resolve.ImportSpec
- func (s *ClosureJsLibrary) Kind() string
- func (s *ClosureJsLibrary) Name() string
- func (s *ClosureJsLibrary) Resolve(c *config.Config, ix *resolve.RuleIndex, r *rule.Rule, imports []string, ...)
- func (s *ClosureJsLibrary) Rule(otherGen ...*rule.Rule) *rule.Rule
- func (s *ClosureJsLibrary) Srcs() []string
- func (s *ClosureJsLibrary) Visibility() []string
Constants ¶
View Source
const ( GrpcClosureJsLibraryRuleName = "grpc_closure_js_library" GrpcClosureJsLibraryRuleSuffix = "_grpc_closure_js_library" )
View Source
const ( ProtoClosurejsLibraryRuleName = "proto_closure_js_library" ProtoClosureJsLibraryRuleSuffix = "_closure_js_library" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClosureJsLibrary ¶
type ClosureJsLibrary struct { KindName string RuleNameSuffix string Outputs []string Config *protoc.ProtocConfiguration RuleConfig *protoc.LanguageRuleConfig Resolver protoc.DepsResolver }
ClosureJsLibrary implements RuleProvider for 'py_library'-derived rules.
func (*ClosureJsLibrary) Deps ¶
func (s *ClosureJsLibrary) Deps() []string
Deps computes the deps list for the rule.
func (*ClosureJsLibrary) Imports ¶
func (s *ClosureJsLibrary) Imports(c *config.Config, r *rule.Rule, file *rule.File) []resolve.ImportSpec
Imports implements part of the RuleProvider interface.
func (*ClosureJsLibrary) Kind ¶
func (s *ClosureJsLibrary) Kind() string
Kind implements part of the ruleProvider interface.
func (*ClosureJsLibrary) Name ¶
func (s *ClosureJsLibrary) Name() string
Name implements part of the ruleProvider interface.
func (*ClosureJsLibrary) Resolve ¶
func (s *ClosureJsLibrary) Resolve(c *config.Config, ix *resolve.RuleIndex, r *rule.Rule, imports []string, from label.Label)
Resolve implements part of the RuleProvider interface.
func (*ClosureJsLibrary) Rule ¶
func (s *ClosureJsLibrary) Rule(otherGen ...*rule.Rule) *rule.Rule
Rule implements part of the ruleProvider interface.
func (*ClosureJsLibrary) Srcs ¶
func (s *ClosureJsLibrary) Srcs() []string
Srcs computes the srcs list for the rule.
func (*ClosureJsLibrary) Visibility ¶
func (s *ClosureJsLibrary) Visibility() []string
Visibility provides visibility labels.
Click to show internal directories.
Click to hide internal directories.