Skip to content

Commit

Permalink
Add test for cc_import dependency to cc_shared_library
Browse files Browse the repository at this point in the history
This already works at head but wasn't caught for Blaze 6.3 where cc_import doesn't advertise CcInfo.

RELNOTES:none
PiperOrigin-RevId: 551191749
Change-Id: I4e1e40866511bc84abb6c5709f4b420aa015a236
  • Loading branch information
oquenchil authored and copybara-github committed Jul 26, 2023
1 parent 481311d commit 37b03ac
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,10 @@ paths_test(
name = "path_matching_test",
)

cc_library(
cc_import(
name = "prebuilt",
hdrs = ["direct_so_file_cc_lib.h"],
srcs = [
":just_main_output",
],
shared_library = ":just_main_output",
)

filegroup(
Expand Down

0 comments on commit 37b03ac

Please sign in to comment.