Add android resource jar to output group
@@ -811,6 +811,11 @@ def _collect_android_ide_info(target, ctx, semantics, ide_info, ide_info_file, o
if android.manifest and not android.manifest.is_source:
resolve_files += [android.manifest]
+ # b/176209293: expose resource jar to make sure empty library
+ # knows they are remote output artifact
+ if android.resource_jar:
+ resolve_files += [jar for jar in jars_from_output(android.resource_jar)]
+
ide_info["android_ide_info"] = android_info
update_sync_output_groups(output_groups, "intellij-resolve-android", depset(resolve_files))
return True
