Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build BoringSSL test tool #4007

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions third_party/boringssl/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,17 @@ if (!use_cobalt_customizations) {
}
}

if (is_starboard) {
andrewsavage1 marked this conversation as resolved.
Show resolved Hide resolved
target(final_executable_type, "boringssl_tool") {
testonly = true
sources = tool_sources
deps = [
":boringssl",
"//starboard:starboard_group",
]
}
}

if (build_with_chromium) {
# These targets are named "_tests" rather than "_test" to avoid colliding with
# a historical "boringssl_ssl_test" target. This works around a bug with the
Expand Down
2 changes: 2 additions & 0 deletions third_party/boringssl/src/tool/tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ int main(int argc, char **argv) {
perror("_setmode(_fileno(stderr), O_BINARY)");
return 1;
}
#elif defined(STARBOARD)
// We don't have signal() ..
#else
signal(SIGPIPE, SIG_IGN);
#endif
Expand Down
Loading