зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1790097 - Vendor libwebrtc from 0fd2ed516b - moz.build file updates
This commit is contained in:
Родитель
bf9d625128
Коммит
e35490cdf6
2
CLOBBER
2
CLOBBER
|
@ -23,4 +23,4 @@
|
|||
# don't change CLOBBER for WebIDL changes any more.
|
||||
|
||||
|
||||
Modified build files in third_party/libwebrtc - Bug 1790097 - Vendor libwebrtc from 4b97928b30
|
||||
Modified build files in third_party/libwebrtc - Bug 1790097 - Vendor libwebrtc from 0fd2ed516b
|
||||
|
|
|
@ -28,10 +28,6 @@ LOCAL_INCLUDES += [
|
|||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/modules/utility/source/process_thread_impl.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
|
@ -90,10 +86,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
|
@ -135,13 +127,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
|
|||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
@ -149,10 +134,6 @@ if CONFIG["CPU_ARCH"] == "aarch64":
|
|||
|
||||
if CONFIG["CPU_ARCH"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
@ -183,6 +164,10 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
|||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"android_support",
|
||||
"unwind"
|
||||
|
|
Загрузка…
Ссылка в новой задаче