mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
loongarch: Add loongarch architecture support.
Copied from chromium's build/build_config.h No-Try: True Bug: webrtc:14433 Change-Id: I5ab4dbb49bd74aa8f6f6054776d9f1f3d606d914 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275288 Owners-Override: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Andrey Logvin <landrey@google.com> Cr-Commit-Position: refs/heads/main@{#38067}
This commit is contained in:
parent
094ee30504
commit
842858c6d0
2 changed files with 11 additions and 0 deletions
1
AUTHORS
1
AUTHORS
|
@ -172,6 +172,7 @@ Videona Socialmedia <*@videona.com>
|
|||
Videxio AS <*@videxio.com>
|
||||
Vidyo, Inc. <*@vidyo.com>
|
||||
Vonage Holdings Corp. <*@vonage.com>
|
||||
Wang Qing <wangqing-hf@loongson.cn>
|
||||
Wire Swiss GmbH <*@wire.com>
|
||||
&yet LLC <*@andyet.com>
|
||||
# END organizations section.
|
||||
|
|
|
@ -73,6 +73,16 @@
|
|||
#elif defined(__riscv) && __riscv_xlen == 32
|
||||
#define WEBRTC_ARCH_32_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(__loongarch32)
|
||||
#define WEBRTC_ARCH_LOONG_FAMILY
|
||||
#define WEBRTC_ARCH_LOONG32
|
||||
#define WEBRTC_ARCH_32_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(__loongarch64)
|
||||
#define WEBRTC_ARCH_LOONG_FAMILY
|
||||
#define WEBRTC_ARCH_LOONG64
|
||||
#define WEBRTC_ARCH_64_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(__pnacl__)
|
||||
#define WEBRTC_ARCH_32_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
|
|
Loading…
Reference in a new issue