-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supply code-gen rule names via settings (#6889)
* Supply code-gen rule names via settings A prior PR has allowed that, for some languages, certain Rules may be specified as being "code generators". This mechanism was via Bazel tags on the target. This commit changes the mechanism so that the rule names are specified by settings instead. * Supply code-gen rule names via settings (fix android test) * Supply code-gen rule names via settings (fix android test 2) * switch the detection of code-gen rule names to action env * switch the detection of code-gen rule names to action env - comments corrections * Revert "switch the detection of code-gen rule names to action env - comments corrections" This reverts commit bffe170. * Revert "switch the detection of code-gen rule names to action env" This reverts commit e1e9bd0. * switch to use .bzl templates to convey the languages' rules' names to the aspect * switch to use .bzl templates to convey the languages' rules' names to the aspect - fix android test (cherry picked from commit 22a4474)
- Loading branch information
1 parent
77b7a71
commit 682be4f
Showing
33 changed files
with
437 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""Data required for the code-generator system""" | ||
|
||
# The following is a list of the languages to the set of Rule names | ||
# which can be considered code-generators for that language. Look | ||
# for the `get_code_generator_rule_names` function in the aspect | ||
# logic that integrates with this constant. | ||
|
||
CODE_GENERATOR_RULE_NAMES = struct( | ||
# TEMPLATE-INCLUDE-BEGIN | ||
###foreach( $aLanguageClassRuleNames in $languageClassRuleNames ) | ||
## $aLanguageClassRuleNames.languageClass.name = [ | ||
###foreach ( $aRuleName in $aLanguageClassRuleNames.ruleNames ) | ||
## "$aRuleName", | ||
###end | ||
## ], | ||
###end | ||
# TEMPLATE-INCLUDE-END | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
133 changes: 0 additions & 133 deletions
133
base/src/com/google/idea/blaze/base/dependencies/BlazeQueryTargetTagFilter.java
This file was deleted.
Oops, something went wrong.
74 changes: 0 additions & 74 deletions
74
base/src/com/google/idea/blaze/base/dependencies/TargetTagFilter.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.