Skip to content

Commit

Permalink
#Centipede Clean up the multi DSO test so that it can run in MacOS.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673864450
  • Loading branch information
xinhaoyuan authored and copybara-github committed Sep 12, 2024
1 parent fd2c5ae commit b542c64
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion centipede/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ cc_library(
],
)

cc_shared_library(
name = "multi_dso_target_shared_lib",
deps = [":multi_dso_target_lib"],
)

# A fuzz target with an instrumented DSO dependency (:multi_dso_target_lib).
cc_binary(
name = "multi_dso_target",
Expand All @@ -212,7 +217,9 @@ cc_binary(
"-fsanitize-coverage=trace-pc-guard,pc-table,control-flow",
"-gline-tables-only",
],
linkstatic = False,
dynamic_deps = [
":multi_dso_target_shared_lib",
],
deps = [
":multi_dso_target_lib",
"@com_google_fuzztest//centipede:centipede_runner",
Expand Down

0 comments on commit b542c64

Please sign in to comment.