diff --git a/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test b/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test index c3399ee3140806..88e2202ce01942 100644 --- a/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test +++ b/src/main/starlark/tests/builtins_bzl/cc/cc_shared_library/test_cc_shared_library/BUILD.builtin_test @@ -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(