Created
February 2, 2020 23:26
-
-
Save mstg/051d0bf16941df49312b3a80f868903b to your computer and use it in GitHub Desktop.
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
diff --git a/aspect/intellij_info_impl.bzl b/aspect/intellij_info_impl.bzl | |
index 22d7db11..6c449a96 100644 | |
--- a/aspect/intellij_info_impl.bzl | |
+++ b/aspect/intellij_info_impl.bzl | |
@@ -349,6 +349,10 @@ def collect_go_info(target, ctx, semantics, ide_info, ide_info_file, output_grou | |
"go_appengine_test", | |
]: | |
sources = [f for src in getattr(ctx.rule.attr, "srcs", []) for f in src.files.to_list()] | |
+ for em_rule in ctx.rule.attr.embed: | |
+ g_sources = _collect_generated_go_sources(em_rule) | |
+ if not g_sources == None: | |
+ sources += g_sources | |
generated = [f for f in sources if not f.is_source] | |
elif ctx.rule.kind == "go_wrap_cc": | |
genfiles = target.files.to_list() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment