mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 14:17:30 +09:00
parent
80abe5b30b
commit
fd9202fef0
8 changed files with 6 additions and 48 deletions
|
|
@ -44,7 +44,6 @@ gyp_vars = {
|
||||||
'arm_neon': 0,
|
'arm_neon': 0,
|
||||||
'arm_neon_optional': 1,
|
'arm_neon_optional': 1,
|
||||||
|
|
||||||
'moz_widget_toolkit_gonk': 0,
|
|
||||||
'moz_webrtc_omx': 0,
|
'moz_webrtc_omx': 0,
|
||||||
'moz_webrtc_mediacodec': 0,
|
'moz_webrtc_mediacodec': 0,
|
||||||
|
|
||||||
|
|
|
||||||
12
media/mtransport/third_party/nICEr/nicer.gyp
vendored
12
media/mtransport/third_party/nICEr/nicer.gyp
vendored
|
|
@ -231,18 +231,6 @@
|
||||||
'sources': [
|
'sources': [
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['moz_widget_toolkit_gonk==1', {
|
|
||||||
'defines' : [
|
|
||||||
'WEBRTC_GONK',
|
|
||||||
'NO_REG_RPC',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
# Gonk has its own nr_stun_get_addrs implementation.
|
|
||||||
['build_with_gonk==1', {
|
|
||||||
'defines': [
|
|
||||||
"USE_PLATFORM_NR_STUN_GET_ADDRS",
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
['have_ethtool_cmd_speed_hi==0', {
|
['have_ethtool_cmd_speed_hi==0', {
|
||||||
'defines': [
|
'defines': [
|
||||||
"DONT_HAVE_ETHTOOL_SPEED_HI",
|
"DONT_HAVE_ETHTOOL_SPEED_HI",
|
||||||
|
|
|
||||||
|
|
@ -41,11 +41,6 @@
|
||||||
|
|
||||||
'target_defaults': {
|
'target_defaults': {
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['moz_widget_toolkit_gonk==1', {
|
|
||||||
'defines' : [
|
|
||||||
'WEBRTC_GONK',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -316,7 +311,7 @@
|
||||||
'cflags_mozilla': [
|
'cflags_mozilla': [
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="android" or moz_widget_toolkit_gonk==1', {
|
['OS=="android"', {
|
||||||
'cflags_mozilla': [
|
'cflags_mozilla': [
|
||||||
# This warning complains about important MOZ_EXPORT attributes
|
# This warning complains about important MOZ_EXPORT attributes
|
||||||
# on forward declarations for Android API types.
|
# on forward declarations for Android API types.
|
||||||
|
|
|
||||||
|
|
@ -428,7 +428,7 @@
|
||||||
}],
|
}],
|
||||||
|
|
||||||
# Flags to use X11 on non-Mac POSIX platforms
|
# Flags to use X11 on non-Mac POSIX platforms
|
||||||
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or moz_widget_toolkit_gonk==1', {
|
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
|
||||||
'use_glib%': 0,
|
'use_glib%': 0,
|
||||||
'use_x11%': 0,
|
'use_x11%': 0,
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
|
|
@ -196,11 +196,6 @@
|
||||||
},
|
},
|
||||||
'target_defaults': {
|
'target_defaults': {
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['moz_widget_toolkit_gonk==1', {
|
|
||||||
'defines' : [
|
|
||||||
'WEBRTC_GONK',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
['restrict_webrtc_logging==1', {
|
['restrict_webrtc_logging==1', {
|
||||||
'defines': ['WEBRTC_RESTRICT_LOGGING',],
|
'defines': ['WEBRTC_RESTRICT_LOGGING',],
|
||||||
}],
|
}],
|
||||||
|
|
@ -417,7 +412,7 @@
|
||||||
'msvs_disabled_warnings!': [4189,],
|
'msvs_disabled_warnings!': [4189,],
|
||||||
}],
|
}],
|
||||||
# used on GONK as well
|
# used on GONK as well
|
||||||
['enable_android_opensl==1 and (OS=="android" or moz_widget_toolkit_gonk==1)', {
|
['enable_android_opensl==1 and OS=="android"', {
|
||||||
'defines': [
|
'defines': [
|
||||||
'WEBRTC_ANDROID_OPENSLES',
|
'WEBRTC_ANDROID_OPENSLES',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -92,18 +92,6 @@
|
||||||
'android',
|
'android',
|
||||||
],
|
],
|
||||||
}], # OS==android
|
}], # OS==android
|
||||||
['moz_widget_toolkit_gonk==1', {
|
|
||||||
'cflags_mozilla': [
|
|
||||||
'-I$(ANDROID_SOURCE)/frameworks/wilhelm/include',
|
|
||||||
'-I$(ANDROID_SOURCE)/frameworks/av/include',
|
|
||||||
'-I$(ANDROID_SOURCE)/system/media/wilhelm/include',
|
|
||||||
'-I$(ANDROID_SOURCE)/system/media/audio_effects/include',
|
|
||||||
'-I$(ANDROID_SOURCE)/frameworks/native/include',
|
|
||||||
],
|
|
||||||
'include_dirs': [
|
|
||||||
'android',
|
|
||||||
],
|
|
||||||
}], # moz_widget_toolkit_gonk==1
|
|
||||||
['enable_android_opensl==1', {
|
['enable_android_opensl==1', {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'opensl',
|
'opensl',
|
||||||
|
|
@ -162,14 +150,7 @@
|
||||||
'android/audio_track_jni.h',
|
'android/audio_track_jni.h',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['moz_widget_toolkit_gonk==1', {
|
['OS=="android"', {
|
||||||
'sources': [
|
|
||||||
# references to android/audio_manager to avoid platform-specific limits
|
|
||||||
'gonk/audio_manager.cc',
|
|
||||||
'gonk/audio_manager.h',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
['OS=="android" or moz_widget_toolkit_gonk==1', {
|
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'-llog',
|
'-llog',
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
'include_ndk_cpu_features%': 0,
|
'include_ndk_cpu_features%': 0,
|
||||||
},
|
},
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="android" or moz_widget_toolkit_gonk==1', {
|
['OS=="android"', {
|
||||||
'targets': [
|
'targets': [
|
||||||
{
|
{
|
||||||
'target_name': 'cpu_features_android',
|
'target_name': 'cpu_features_android',
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
'source/metrics_default.cc',
|
'source/metrics_default.cc',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="android" or moz_widget_toolkit_gonk==1', {
|
['OS=="android"', {
|
||||||
'defines': [
|
'defines': [
|
||||||
'WEBRTC_THREAD_RR',
|
'WEBRTC_THREAD_RR',
|
||||||
# TODO(leozwang): Investigate CLOCK_REALTIME and CLOCK_MONOTONIC
|
# TODO(leozwang): Investigate CLOCK_REALTIME and CLOCK_MONOTONIC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue