зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1909234 - Vendor libwebrtc from a45c7056ad - moz.build file updates
This commit is contained in:
Родитель
9776342757
Коммит
1d5e2ee5c2
2
CLOBBER
2
CLOBBER
|
@ -22,4 +22,4 @@
|
|||
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
|
||||
# don't change CLOBBER for WebIDL changes any more.
|
||||
|
||||
Merge day clobber 2024-08-05
|
||||
Modified build files in third_party/libwebrtc - Bug 1909234 - Vendor libwebrtc from a45c7056ad
|
||||
|
|
|
@ -30,6 +30,10 @@ LOCAL_INCLUDES += [
|
|||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/api/frame_transformer_interface.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
|
@ -138,6 +142,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
|
|||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
@ -190,6 +198,12 @@ if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
|||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
@ -200,6 +214,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
|||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
|
Загрузка…
Ссылка в новой задаче