Documentation ¶
Index ¶
- Constants
- type CcLibrary
- func (s *CcLibrary) Deps() []string
- func (s *CcLibrary) Hdrs() []string
- func (s *CcLibrary) Imports(c *config.Config, r *rule.Rule, file *rule.File) []resolve.ImportSpec
- func (s *CcLibrary) Kind() string
- func (s *CcLibrary) Name() string
- func (s *CcLibrary) Resolve(c *config.Config, ix *resolve.RuleIndex, r *rule.Rule, imports []string, ...)
- func (s *CcLibrary) Rule(otherGen ...*rule.Rule) *rule.Rule
- func (s *CcLibrary) Srcs() []string
- func (s *CcLibrary) Visibility() []string
Constants ¶
View Source
const ( ProtoCcLibraryRuleName = "proto_cc_library" ProtoCcLibraryRuleSuffix = "_cc_library" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CcLibrary ¶
type CcLibrary struct { KindName string RuleNameSuffix string Outputs []string Config *protoc.ProtocConfiguration RuleConfig *protoc.LanguageRuleConfig Resolver protoc.DepsResolver }
CcLibrary implements RuleProvider for 'cc_library'-derived rules.
func (*CcLibrary) Resolve ¶
func (s *CcLibrary) Resolve(c *config.Config, ix *resolve.RuleIndex, r *rule.Rule, imports []string, from label.Label)
Resolve implements part of the RuleProvider interface.
func (*CcLibrary) Visibility ¶
Visibility provides visibility labels.
Click to show internal directories.
Click to hide internal directories.