Skip to content

Commit

Permalink
Cherry-pick 278500@main (e3736ef). https://bugs.webkit.org/show_bug.c…
Browse files Browse the repository at this point in the history
…gi?id=273870

    [CMake][LibWebRTC] ARM build fixes
    https://bugs.webkit.org/show_bug.cgi?id=273870

    Unreviewed, fix LibWebRTC ARM build.

    * Source/ThirdParty/libwebrtc/CMakeLists.txt:

    Canonical link: https://commits.webkit.org/278500@main

Canonical link: https://commits.webkit.org/274313.211@webkitglib/2.44
  • Loading branch information
philn authored and aperezdc committed May 9, 2024
1 parent f62881b commit 520a651
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/ThirdParty/libwebrtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1951,6 +1951,12 @@ perlasm(BCM_SOURCES x86_64 x86_64-mont ${FIPS_PATH}/bn/asm/x86_64-mont.pl)
perlasm(BCM_SOURCES x86_64 x86_64-mont5 ${FIPS_PATH}/bn/asm/x86_64-mont5.pl)

set(CRYPTO_PATH Source/third_party/boringssl/src/crypto)
set(CRYPTO_SOURCES_ASM
${CRYPTO_PATH}/curve25519/asm/x25519-asm-arm.S
${CRYPTO_PATH}/hrss/asm/poly_rq_mul.S
${CRYPTO_PATH}/poly1305/poly1305_arm_asm.S
)

perlasm(CRYPTO_SOURCES aarch64 chacha/chacha-armv8 ${CRYPTO_PATH}/chacha/asm/chacha-armv8.pl)
perlasm(CRYPTO_SOURCES aarch64 cipher_extra/chacha20_poly1305_armv8 ${CRYPTO_PATH}/cipher_extra/asm/chacha20_poly1305_armv8.pl)
perlasm(CRYPTO_SOURCES aarch64 test/trampoline-armv8 ${CRYPTO_PATH}/test/asm/trampoline-armv8.pl)
Expand Down

0 comments on commit 520a651

Please sign in to comment.