Skip to content

Commit

Permalink
Add public headermaps to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
luispadron committed Jul 13, 2024
1 parent 9a10855 commit ba9ca2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def apple_library(
hdrs = objc_hdrs,
tags = _MANUAL,
)
private_dep_names.append(public_hmap_name)
deps += [public_hmap_name]
additional_objc_copts, additional_swift_copts, additional_cc_copts = _append_headermap_copts(public_hmap_name, "-I", additional_objc_copts, additional_swift_copts, additional_cc_copts)

if len(objc_non_exported_hdrs + objc_private_hdrs) > 0:
Expand Down Expand Up @@ -1033,7 +1033,7 @@ def apple_library(
tags = _MANUAL,
testonly = testonly,
)
private_dep_names.append(swift_doublequote_hmap_name)
deps += [swift_doublequote_hmap_name]
additional_objc_copts, additional_swift_copts, additional_cc_copts = _append_headermap_copts(swift_doublequote_hmap_name, "-iquote", additional_objc_copts, additional_swift_copts, additional_cc_copts)

# Add generated swift header to header maps for angle bracket imports
Expand All @@ -1046,7 +1046,7 @@ def apple_library(
tags = _MANUAL,
testonly = testonly,
)
private_dep_names.append(swift_angle_bracket_hmap_name)
deps += [swift_angle_bracket_hmap_name]
additional_objc_copts, additional_swift_copts, additional_cc_copts = _append_headermap_copts(swift_angle_bracket_hmap_name, "-I", additional_objc_copts, additional_swift_copts, additional_cc_copts)

if cpp_sources:
Expand Down

0 comments on commit ba9ca2d

Please sign in to comment.