Skip to content

Commit

Permalink
[J2KT] Only generate import from java files for ParseHeaders_m.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 712856862
  • Loading branch information
gkdn authored and copybara-github committed Jan 7, 2025
1 parent b590bbc commit a8dfde4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def readable_example(
write_file(
name = "ParseHeaders_m",
out = "ParseHeaders.m",
content = ["""#import "%s/%s.h" """ % (native.package_name(), src[:-5]) for src in srcs],
content = ["""#import "%s/%s.h" """ % (native.package_name(), src[:-5]) for src in srcs if src.endswith(".java")],
tags = ["j2kt", "ios", "manual"],
)

Expand Down

0 comments on commit a8dfde4

Please sign in to comment.