File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -672,10 +672,25 @@ def _whl_library_deps_impl(rctx):
672672 "\n " .join (loads ),
673673 "" ,
674674 "alias(" ,
675- " name = \" package_metadata\" " ,
675+ " name = \" package_metadata\" , " ,
676676 " actual = \" {}\" " .format (rctx .attr .whl_library .same_package_label ("package_metadata" )),
677677 ")" ,
678678 "" ,
679+ "alias(" ,
680+ " name = \" data\" ," ,
681+ " actual = \" {}\" " .format (rctx .attr .whl_library .same_package_label ("data" )),
682+ ")" ,
683+ "" ,
684+ "alias(" ,
685+ " name = \" dist_info\" ," ,
686+ " actual = \" {}\" " .format (rctx .attr .whl_library .same_package_label ("dist_info" )),
687+ ")" ,
688+ "" ,
689+ "alias(" ,
690+ " name = \" extracted_whl_files\" ," ,
691+ " actual = \" {}\" " .format (rctx .attr .whl_library .same_package_label ("extracted_whl_files" )),
692+ ")" ,
693+ "" ,
679694 "whl_library_from_requires_dist(" ,
680695 " include = packages," ,
681696 ] + [
Original file line number Diff line number Diff line change @@ -163,17 +163,6 @@ def whl_library_targets(
163163 rules: {type}`struct` A struct with references to rules for creating targets.
164164 """
165165 src_pkg = Label (src_pkg )
166- for target in [
167- DATA_LABEL ,
168- DIST_INFO_LABEL ,
169- EXTRACTED_WHEEL_FILES ,
170- ]:
171- native .alias (
172- name = target ,
173- actual = src_pkg .same_package_label (target ),
174- visibility = ["//visibility:public" ],
175- )
176-
177166 for src , dest in copy_files .items ():
178167 rules .copy_file (
179168 name = dest + ".copy" ,
You can’t perform that action at this time.
0 commit comments