Skip to content

Commit

Permalink
Cherry pick PR #2016: Define OPENSSL_NO_ASM for PS5 modular builds (#…
Browse files Browse the repository at this point in the history
…2038)

Refer to the original PR: youtube/cobalt#2016

b/246412559

PS5 modular builds fail to run browser_test without this change ,
details in b/246412559#comment57

Co-authored-by: Niranjan Yardi <[email protected]>
  • Loading branch information
1 parent 5557b9a commit 3ad99da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third_party/boringssl/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import("//starboard/sabi/sabi.gni")
import("//third_party/boringssl/buildfiles.gni")
import("//starboard/build/config/os_definitions.gni")

declare_args() {
asm_target_arch = target_cpu
Expand Down Expand Up @@ -107,7 +108,7 @@ static_library("crypto") {
if ((calling_convention != "aarch64" && calling_convention != "eabi" &&
calling_convention != "sysv" && calling_convention != "windows") ||
(asm_target_arch != "x86" && asm_target_arch != "x64" &&
asm_target_arch != "arm" && asm_target_arch != "arm64")) {
asm_target_arch != "arm" && asm_target_arch != "arm64") || is_host_win) { # is_host_win : windows host modular builds need OPENSSL_NO_ASM )
defines = [ "OPENSSL_NO_ASM" ]
} else {
if (calling_convention == "aarch64" || calling_convention == "eabi" ||
Expand Down

0 comments on commit 3ad99da

Please sign in to comment.