diff --git a/python/mozbuild/mozbuild/gn_processor.py b/python/mozbuild/mozbuild/gn_processor.py index dc18af569535..5a07fb84eb28 100644 --- a/python/mozbuild/mozbuild/gn_processor.py +++ b/python/mozbuild/mozbuild/gn_processor.py @@ -206,7 +206,9 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): spec[spec_attr] = [ d for d in spec[spec_attr] - if "CR_XCODE_VERSION" not in d and "CR_SYSROOT_HASH" not in d + if "CR_XCODE_VERSION" not in d + and "CR_SYSROOT_HASH" not in d + and "_FORTIFY_SOURCE" not in d ] if spec_attr == "include_dirs": spec[spec_attr] = [d for d in spec[spec_attr] if gen_path != Path(d)] diff --git a/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build b/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build index 989f348be6cc..e1ac50b79f1d 100644 --- a/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build +++ b/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/array_view_gn/moz.build b/third_party/libwebrtc/api/array_view_gn/moz.build index b9e9f3dd7ff9..e37d93112ffd 100644 --- a/third_party/libwebrtc/api/array_view_gn/moz.build +++ b/third_party/libwebrtc/api/array_view_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build index fa1cc1f3a3ab..ccb4e054b363 100644 --- a/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build +++ b/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build index 7b2186be89a1..f7894b919aa6 100644 --- a/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build +++ b/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build b/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build index 4c8a3b864fc7..c64488d96c2c 100644 --- a/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build +++ b/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build b/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build index da4393f09178..2d2ff9a90960 100644 --- a/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build +++ b/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio/echo_control_gn/moz.build b/third_party/libwebrtc/api/audio/echo_control_gn/moz.build index d6076e7ff3b3..70d959ac5cb7 100644 --- a/third_party/libwebrtc/api/audio/echo_control_gn/moz.build +++ b/third_party/libwebrtc/api/audio/echo_control_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build index 9663c227a5b4..a53f93bb78fd 100644 --- a/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build index 22fa55066eae..d14da8be7b0c 100644 --- a/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build index 1106e1abb32b..ad8721a80af4 100644 --- a/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build @@ -148,22 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build index e1282ef7fc03..02ed07459924 100644 --- a/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build @@ -165,22 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build index 059520e68160..621fa14dbad4 100644 --- a/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build @@ -165,22 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build index 7d0a0897c3cf..e21ae152d13b 100644 --- a/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build index a32cecf159b3..278d306b96dd 100644 --- a/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build index 843e12faccf6..3af448ae4966 100644 --- a/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build index da03926a4f06..04b210f0086b 100644 --- a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build index 58da84e1ffc5..face95013b75 100644 --- a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build index 23249247d88a..03c33a7c626b 100644 --- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build index 38aaaf79ce6e..4297ac3978af 100644 --- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build index 2671d74f6f20..0435bf4c4cd2 100644 --- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build index 2fe1230e30da..878c0d697eeb 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build @@ -59,7 +59,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build index 7bb2a25e1bff..d1c61e1717cb 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build @@ -138,22 +138,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build index 136d51a9d11f..0159d827a9d2 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build index 140510ddc69c..26e90ee7077a 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build @@ -59,7 +59,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build index e5e0c94c85ac..bcb74f5f6465 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build @@ -138,22 +138,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build index 2c253858c30b..48205e068e7d 100644 --- a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build index 7d8e698644aa..0a726270386a 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build index 76634d990fa1..533623f13645 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build index 08df23072e09..8304b29f9033 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build index 087956f82c62..351c9d716830 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build index ca4e861e1294..f9ffef46c400 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build @@ -150,22 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build index 356c9242cced..3a730ab61c22 100644 --- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build +++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/audio_options_api_gn/moz.build b/third_party/libwebrtc/api/audio_options_api_gn/moz.build index a6d04ed27e88..40551ceb3c49 100644 --- a/third_party/libwebrtc/api/audio_options_api_gn/moz.build +++ b/third_party/libwebrtc/api/audio_options_api_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build b/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build index c7e126b5e8d8..d4af93c012c4 100644 --- a/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build +++ b/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/call_api_gn/moz.build b/third_party/libwebrtc/api/call_api_gn/moz.build index 32af3dea769b..dc2c09977e8f 100644 --- a/third_party/libwebrtc/api/call_api_gn/moz.build +++ b/third_party/libwebrtc/api/call_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/callfactory_api_gn/moz.build b/third_party/libwebrtc/api/callfactory_api_gn/moz.build index 9e9118429fb7..024c40140397 100644 --- a/third_party/libwebrtc/api/callfactory_api_gn/moz.build +++ b/third_party/libwebrtc/api/callfactory_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build b/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build index 3ed2d8c9bb19..e485c3a341ea 100644 --- a/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build +++ b/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build b/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build index 3340f15d9f18..dc93dd4c6ae3 100644 --- a/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build +++ b/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/crypto/options_gn/moz.build b/third_party/libwebrtc/api/crypto/options_gn/moz.build index dd951595090e..0aa797121423 100644 --- a/third_party/libwebrtc/api/crypto/options_gn/moz.build +++ b/third_party/libwebrtc/api/crypto/options_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/fec_controller_api_gn/moz.build b/third_party/libwebrtc/api/fec_controller_api_gn/moz.build index 6b4009ab3454..f36c05ad363f 100644 --- a/third_party/libwebrtc/api/fec_controller_api_gn/moz.build +++ b/third_party/libwebrtc/api/fec_controller_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build b/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build index bf251352f7b9..75daea61a590 100644 --- a/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build +++ b/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/function_view_gn/moz.build b/third_party/libwebrtc/api/function_view_gn/moz.build index e7d52742a1ba..837aa30ceb86 100644 --- a/third_party/libwebrtc/api/function_view_gn/moz.build +++ b/third_party/libwebrtc/api/function_view_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build b/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build index ad7ce43b2fae..6e0d982169b3 100644 --- a/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build +++ b/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/media_stream_interface_gn/moz.build b/third_party/libwebrtc/api/media_stream_interface_gn/moz.build index a3a735b26fe7..01e4faefe198 100644 --- a/third_party/libwebrtc/api/media_stream_interface_gn/moz.build +++ b/third_party/libwebrtc/api/media_stream_interface_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build b/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build index 70143324c945..46a00ee45b1f 100644 --- a/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build +++ b/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build b/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build index 382532804568..ac639ad3405b 100644 --- a/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build +++ b/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build b/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build index e74c5784e4a3..6bcea6a0a68b 100644 --- a/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build +++ b/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build @@ -144,22 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build b/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build index a34927641e4a..ea2633066b28 100644 --- a/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build +++ b/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build b/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build index 9591324717bb..5b8fa1dfc11b 100644 --- a/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build +++ b/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/numerics/numerics_gn/moz.build b/third_party/libwebrtc/api/numerics/numerics_gn/moz.build index 6350054658c6..3c4c8e42956d 100644 --- a/third_party/libwebrtc/api/numerics/numerics_gn/moz.build +++ b/third_party/libwebrtc/api/numerics/numerics_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/priority_gn/moz.build b/third_party/libwebrtc/api/priority_gn/moz.build index a96dbd49bad9..386613bb2470 100644 --- a/third_party/libwebrtc/api/priority_gn/moz.build +++ b/third_party/libwebrtc/api/priority_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/refcountedbase_gn/moz.build b/third_party/libwebrtc/api/refcountedbase_gn/moz.build index 54ae16a52c06..398174ec60ca 100644 --- a/third_party/libwebrtc/api/refcountedbase_gn/moz.build +++ b/third_party/libwebrtc/api/refcountedbase_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtc_error_gn/moz.build b/third_party/libwebrtc/api/rtc_error_gn/moz.build index 105bd8cffac0..a47983f104e5 100644 --- a/third_party/libwebrtc/api/rtc_error_gn/moz.build +++ b/third_party/libwebrtc/api/rtc_error_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build b/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build index ac97ca6790f5..fb9dad3fa7b6 100644 --- a/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build +++ b/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtp_headers_gn/moz.build b/third_party/libwebrtc/api/rtp_headers_gn/moz.build index 05720fb8745e..5df6b3b6eb8a 100644 --- a/third_party/libwebrtc/api/rtp_headers_gn/moz.build +++ b/third_party/libwebrtc/api/rtp_headers_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build b/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build index 3c48e6cb77cc..c5263134359d 100644 --- a/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build +++ b/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtp_parameters_gn/moz.build b/third_party/libwebrtc/api/rtp_parameters_gn/moz.build index 52f1bd3a5fc2..22f9439330e4 100644 --- a/third_party/libwebrtc/api/rtp_parameters_gn/moz.build +++ b/third_party/libwebrtc/api/rtp_parameters_gn/moz.build @@ -142,22 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build b/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build index 0b14ca8f7a76..77808db46fa1 100644 --- a/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build +++ b/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/scoped_refptr_gn/moz.build b/third_party/libwebrtc/api/scoped_refptr_gn/moz.build index 8640dd39c05b..9c4af6876d07 100644 --- a/third_party/libwebrtc/api/scoped_refptr_gn/moz.build +++ b/third_party/libwebrtc/api/scoped_refptr_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/simulated_network_api_gn/moz.build b/third_party/libwebrtc/api/simulated_network_api_gn/moz.build index ad8d869dbe62..a8f704e0204c 100644 --- a/third_party/libwebrtc/api/simulated_network_api_gn/moz.build +++ b/third_party/libwebrtc/api/simulated_network_api_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build b/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build index 1206c9bf7dcf..3dc4fd638077 100644 --- a/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build +++ b/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build b/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build index 8336ce4b69da..7c83b26f0c76 100644 --- a/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build +++ b/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build b/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build index b11890444367..6d6aab86fa08 100644 --- a/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build +++ b/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build b/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build index bbd03670d815..56804411f5ba 100644 --- a/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build +++ b/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/network_control_gn/moz.build b/third_party/libwebrtc/api/transport/network_control_gn/moz.build index f774b4004613..a5c1f7499f66 100644 --- a/third_party/libwebrtc/api/transport/network_control_gn/moz.build +++ b/third_party/libwebrtc/api/transport/network_control_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build b/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build index b613d11065bc..719e84c09d9f 100644 --- a/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build +++ b/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build b/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build index 0548649d964a..ad833bf2960a 100644 --- a/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build +++ b/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build b/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build index 543aa18e866b..a5a2e3f235c3 100644 --- a/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build +++ b/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/transport_api_gn/moz.build b/third_party/libwebrtc/api/transport_api_gn/moz.build index 74dc8edde6e4..ffa2ba745a63 100644 --- a/third_party/libwebrtc/api/transport_api_gn/moz.build +++ b/third_party/libwebrtc/api/transport_api_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/units/data_rate_gn/moz.build b/third_party/libwebrtc/api/units/data_rate_gn/moz.build index 73fe3b80455f..708c03400992 100644 --- a/third_party/libwebrtc/api/units/data_rate_gn/moz.build +++ b/third_party/libwebrtc/api/units/data_rate_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/units/data_size_gn/moz.build b/third_party/libwebrtc/api/units/data_size_gn/moz.build index 3c32376248b7..131fcc15d5d4 100644 --- a/third_party/libwebrtc/api/units/data_size_gn/moz.build +++ b/third_party/libwebrtc/api/units/data_size_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/units/frequency_gn/moz.build b/third_party/libwebrtc/api/units/frequency_gn/moz.build index 4ad0edd064ad..3e0f0874f695 100644 --- a/third_party/libwebrtc/api/units/frequency_gn/moz.build +++ b/third_party/libwebrtc/api/units/frequency_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/units/time_delta_gn/moz.build b/third_party/libwebrtc/api/units/time_delta_gn/moz.build index 51ee435db07a..549ec2e14e95 100644 --- a/third_party/libwebrtc/api/units/time_delta_gn/moz.build +++ b/third_party/libwebrtc/api/units/time_delta_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/units/timestamp_gn/moz.build b/third_party/libwebrtc/api/units/timestamp_gn/moz.build index 1e3e67cc2649..d5ee2ac80ba4 100644 --- a/third_party/libwebrtc/api/units/timestamp_gn/moz.build +++ b/third_party/libwebrtc/api/units/timestamp_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build b/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build index 21f2ba78118c..0bf3c7dabbaa 100644 --- a/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build +++ b/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build b/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build index 2771b5652041..62494d3a3783 100644 --- a/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build +++ b/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/encoded_image_gn/moz.build b/third_party/libwebrtc/api/video/encoded_image_gn/moz.build index cc30477c7365..8d9a1c9b0e39 100644 --- a/third_party/libwebrtc/api/video/encoded_image_gn/moz.build +++ b/third_party/libwebrtc/api/video/encoded_image_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build b/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build index 456914a5644f..97a5098ea5a5 100644 --- a/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build +++ b/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build b/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build index 8fbf277c02a2..2600958d4353 100644 --- a/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build index 367da43db90e..860dce93c861 100644 --- a/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build index be33b13bdab4..8a7746d3d386 100644 --- a/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build index 2bb0247e206b..13c22a1ca81f 100644 --- a/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build b/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build index 3e0241b67848..ff4503548424 100644 --- a/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_gn/moz.build index fefb29304e7d..aa6b498a5132 100644 --- a/third_party/libwebrtc/api/video/video_frame_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_gn/moz.build @@ -147,22 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build index f7264918a028..3a807a491b1f 100644 --- a/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build index 558a17591823..00d48077ff0e 100644 --- a/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build index 0b5b69888b77..8b71a4f21dae 100644 --- a/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build index 23d76d2fd9ea..b2ca880007f0 100644 --- a/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build index 6d47e636a0ce..84f376b047f4 100644 --- a/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build b/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build index b39549cb1ec8..5212da23c571 100644 --- a/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build @@ -148,22 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build b/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build index 38c0bae20ba0..13ca9843bc95 100644 --- a/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build b/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build index 1674dd1c95e0..f1d38973a351 100644 --- a/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build +++ b/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build b/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build index 34681377d4fa..a17b7feb743e 100644 --- a/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build index cebf465e089f..d03160eff0f1 100644 --- a/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build index 78835081db92..1dadaae1e928 100644 --- a/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build b/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build index dd3b4e323acc..c1cdc9e44aa5 100644 --- a/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build b/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build index 0bedb0c19938..427571507f94 100644 --- a/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build index 954a2332e694..509e3dcf64aa 100644 --- a/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build +++ b/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/audio/audio_gn/moz.build b/third_party/libwebrtc/audio/audio_gn/moz.build index b02936781baa..b53f495edaf3 100644 --- a/third_party/libwebrtc/audio/audio_gn/moz.build +++ b/third_party/libwebrtc/audio/audio_gn/moz.build @@ -167,22 +167,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build b/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build index e3d24b550252..5f19fa99b855 100644 --- a/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build +++ b/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build b/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build index c94b5724c5e1..33ca8b5bf7f0 100644 --- a/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build +++ b/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build @@ -163,22 +163,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build b/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build index 7fe9922b83e1..218ea75003f1 100644 --- a/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build +++ b/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build b/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build index 1c9a1bed8de2..989365c06dab 100644 --- a/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build +++ b/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build b/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build index 93cdc9bd58bc..ab63eb2d109f 100644 --- a/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build +++ b/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/call_gn/moz.build b/third_party/libwebrtc/call/call_gn/moz.build index 4e34237e5d85..d6d02c5a1dbd 100644 --- a/third_party/libwebrtc/call/call_gn/moz.build +++ b/third_party/libwebrtc/call/call_gn/moz.build @@ -158,22 +158,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/call_interfaces_gn/moz.build b/third_party/libwebrtc/call/call_interfaces_gn/moz.build index ba457828691a..1d19f9dc6523 100644 --- a/third_party/libwebrtc/call/call_interfaces_gn/moz.build +++ b/third_party/libwebrtc/call/call_interfaces_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/fake_network_gn/moz.build b/third_party/libwebrtc/call/fake_network_gn/moz.build index 1cd65eb3ba63..e7afa872e071 100644 --- a/third_party/libwebrtc/call/fake_network_gn/moz.build +++ b/third_party/libwebrtc/call/fake_network_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build b/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build index bc5238d99caf..28b99c6351ab 100644 --- a/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build +++ b/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/rtp_receiver_gn/moz.build b/third_party/libwebrtc/call/rtp_receiver_gn/moz.build index 6dcc8d7b007d..cd2ca9f6e3dc 100644 --- a/third_party/libwebrtc/call/rtp_receiver_gn/moz.build +++ b/third_party/libwebrtc/call/rtp_receiver_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/rtp_sender_gn/moz.build b/third_party/libwebrtc/call/rtp_sender_gn/moz.build index 0b865232b83e..ea6fe59fd815 100644 --- a/third_party/libwebrtc/call/rtp_sender_gn/moz.build +++ b/third_party/libwebrtc/call/rtp_sender_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/simulated_network_gn/moz.build b/third_party/libwebrtc/call/simulated_network_gn/moz.build index 0000a7122ef4..13c344334c97 100644 --- a/third_party/libwebrtc/call/simulated_network_gn/moz.build +++ b/third_party/libwebrtc/call/simulated_network_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build b/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build index 621724b064d7..156444ef4328 100644 --- a/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build +++ b/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/call/video_stream_api_gn/moz.build b/third_party/libwebrtc/call/video_stream_api_gn/moz.build index 57e0c821b48e..2a7c77216dfc 100644 --- a/third_party/libwebrtc/call/video_stream_api_gn/moz.build +++ b/third_party/libwebrtc/call/video_stream_api_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build index 581e409b3a81..a67b1c401d70 100644 --- a/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build @@ -138,22 +138,6 @@ if CONFIG["OS_TARGET"] == "WINNT": "winmm" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build index d5ffe3c10c68..535ffe6f7319 100644 --- a/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build @@ -134,22 +134,6 @@ if CONFIG["CPU_ARCH"] == "arm": "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build index 60480a62ae7f..56f976190890 100644 --- a/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build @@ -210,22 +210,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build index 9bd3921b44f8..00013babc481 100644 --- a/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_gn/moz.build index f4c5fe9bfd9d..96d13ffa716a 100644 --- a/third_party/libwebrtc/common_audio/common_audio_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_gn/moz.build @@ -165,22 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build index 4cb5fcf91dfe..b598ac1bbac4 100644 --- a/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build @@ -140,18 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build index 023ff03ebb67..f53ee23c2a0a 100644 --- a/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build @@ -139,18 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build index dbbcc3470228..624458bd18aa 100644 --- a/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build +++ b/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["OS_TARGET"] == "WINNT": "winmm" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build b/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build index bd66e2d8072e..305ed7b67d31 100644 --- a/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build +++ b/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build b/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build index b6a04a3781dd..47d7f3096c0c 100644 --- a/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build +++ b/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build b/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build index b71e2b34a717..c20d9cba166b 100644 --- a/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build +++ b/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build @@ -144,22 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build index cc014380746d..df9f1f755c6f 100644 --- a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build +++ b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build @@ -174,22 +174,6 @@ if CONFIG["CPU_ARCH"] == "x86": "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build index e20d6047c767..73c7c820d5ca 100644 --- a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build +++ b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build index 1777faaf534c..198b9fcca59f 100644 --- a/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build +++ b/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build @@ -149,22 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm": "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_arm.S" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_video/common_video_gn/moz.build b/third_party/libwebrtc/common_video/common_video_gn/moz.build index 0479e8eaa193..659ea7b3e7f5 100644 --- a/third_party/libwebrtc/common_video/common_video_gn/moz.build +++ b/third_party/libwebrtc/common_video/common_video_gn/moz.build @@ -167,22 +167,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_video/frame_counts_gn/moz.build b/third_party/libwebrtc/common_video/frame_counts_gn/moz.build index 17012861fcef..a0702a7a2236 100644 --- a/third_party/libwebrtc/common_video/frame_counts_gn/moz.build +++ b/third_party/libwebrtc/common_video/frame_counts_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build b/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build index ddd457fb8415..623a4776051f 100644 --- a/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build +++ b/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build index 9a225715a87c..8edae37a0dab 100644 --- a/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build @@ -148,22 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build index 07af234d639b..86ff3b04c75b 100644 --- a/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build index b962c2be4a51..2f8e9f5008b1 100644 --- a/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build index 55893f3ff588..c871a9535f0f 100644 --- a/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build @@ -157,22 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build index ab117be3edf3..806df070e6a4 100644 --- a/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build b/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build index 6bc8696aca6e..53644c9d7e94 100644 --- a/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build +++ b/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_constants_gn/moz.build b/third_party/libwebrtc/media/rtc_constants_gn/moz.build index 70155e01728c..97ada3e76d05 100644 --- a/third_party/libwebrtc/media/rtc_constants_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_constants_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build b/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build index 4df284311700..7e516e05622a 100644 --- a/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build b/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build index 702a53893e7a..e31699a311fa 100644 --- a/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build b/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build index 24c16b1ee8ef..1ebf065d63ad 100644 --- a/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_media_base_gn/moz.build b/third_party/libwebrtc/media/rtc_media_base_gn/moz.build index f2ee9ad8bf3b..8307cb45678a 100644 --- a/third_party/libwebrtc/media/rtc_media_base_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_media_base_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_media_config_gn/moz.build b/third_party/libwebrtc/media/rtc_media_config_gn/moz.build index 6f7141a69d8c..318da2aa2ce7 100644 --- a/third_party/libwebrtc/media/rtc_media_config_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_media_config_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build b/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build index 66faeda499af..ee2957362c8e 100644 --- a/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build b/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build index 51079d89b996..52f860a44143 100644 --- a/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build +++ b/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build index 2445b95f0595..f764792d4f43 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build index 98116af0486f..cfa91240f9b7 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build index 9919b488aefd..5ccb20803b0f 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build index 17bcc21766cd..91c9d1af5f36 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build index fce5ef96958b..54407cb92a9e 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build index d8f0a9f0a79b..244291ada6e8 100644 --- a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build @@ -162,22 +162,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build index ea8b966375da..f7e3f15eaf47 100644 --- a/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build index e5b7ceb5ddc4..1b03b700df4d 100644 --- a/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build index d7e0bf8ab271..5ab36ff1e37c 100644 --- a/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build index dd562565b805..2fe9944033e0 100644 --- a/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build index bfe44840d3d4..34fff594289c 100644 --- a/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build index 0b18a615b4ec..9603d5929dff 100644 --- a/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build @@ -220,22 +220,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build index fa5e569665cf..0d652cc4171e 100644 --- a/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build index b0d168c1691a..eb3d8253161c 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build index f5594d5dd76d..d8f18c763290 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build @@ -160,22 +160,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build index 79902fe4481d..bab98e326822 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build index 5599f07c6b28..336fcedb8ddd 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build @@ -56,7 +56,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build index e9597eee6f49..942213ff3a15 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build @@ -85,7 +85,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build index b4d2117029c7..3e34ed7bb4ab 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build @@ -60,7 +60,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build index 5a7b63891e20..6519449165dc 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build @@ -60,7 +60,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build index 1c32c20085ac..67643f475ef7 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build @@ -139,22 +139,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build index 379842066089..ee15808ac359 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build @@ -63,7 +63,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build index a1a6d15ac826..a971d4ce4a2b 100644 --- a/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build @@ -140,22 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build index a9e8e18768c9..9ef5e6408a8f 100644 --- a/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build index 063bca6ce97c..882dc1f89820 100644 --- a/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build @@ -184,22 +184,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build index 1b4ac252e184..4dbfac431097 100644 --- a/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build index bf63d4640191..22fbf1424a20 100644 --- a/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build @@ -147,22 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build index f0b4a4acd7e7..62d3307e1e4c 100644 --- a/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build index fc3a9aab2030..a8aa730cddf3 100644 --- a/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build index 24a2a598bd5a..55f35682dc9b 100644 --- a/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build index 11f36734a170..6116ed7522cb 100644 --- a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build @@ -162,22 +162,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build index 98971e19c0a3..cf1ce68fe65c 100644 --- a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build index 6a63947c76b2..65a933040e78 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build index 8186c3d5f287..a3f47c475320 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build index 3ee7d2fbde98..460ea0ac4dc2 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build index 23b6d1e299db..a13477171665 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build index 879d7128f7d7..e6ea7b25b211 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build @@ -146,22 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build index 6e0d09b3de67..68d2fffa0e76 100644 --- a/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build @@ -157,22 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build b/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build index 7dfd0eb082b4..41b57be0f8ff 100644 --- a/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build index 405c6767000e..5cbe329132d7 100644 --- a/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build index 3f4d47fd247b..89a1b0ec712d 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build index 8e9ba114b04a..3b43e12c2739 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build @@ -144,22 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build index dd09dca2f8f2..60fff08a31fd 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build @@ -142,22 +142,6 @@ if CONFIG["OS_TARGET"] == "WINNT": "winmm" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build index 169edba30a48..06c143a785fa 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build index 0cf4b9a27473..04abed02af5f 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build @@ -144,22 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build index 6f8dc432f810..f717d4816d85 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build @@ -206,22 +206,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build index 2c224c5bc66e..da5d15410423 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build index cfebcec74d3f..4692cb251639 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build index 1adddab80679..f56004683578 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build index 24ed7e7e6c2e..92876ea8491b 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build index f68dd8556d5e..9a95549629ac 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build index d6d02f7fb818..6889a9ee08eb 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build index efdba70e735b..f801c7320d66 100644 --- a/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build index d01a01958539..5b021c7d67f0 100644 --- a/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build @@ -162,22 +162,6 @@ if CONFIG["CPU_ARCH"] == "arm": "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build index b47b5e255eae..0f0058edcae4 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build index a44e6cb51717..98f88f432bcb 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build index 9efe4caacc58..7b92fa5b90ff 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build index 95223fd4dd2b..0e7f762a3060 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build index cbd43b384337..bfdf2aec61c2 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build index 938a22e55ef5..ea3faba36529 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build index f8eaa2c972f0..45789c7f3136 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build index 6b01fe7a3cf2..daace115cd26 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build index e5a18a7ffd7e..6d17ac92d944 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build index 2eef15c4abf3..96393113ec26 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build index 69205a23fd8b..02acca07dae0 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build index 795eb0e43801..7dcbcb872073 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build index 157295dcf0b3..b57522fefb2b 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build @@ -160,22 +160,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build index 0a0c9c1c3727..ddfc187a2a41 100644 --- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build index b05acf3b57d9..9ffa477f3d7a 100644 --- a/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build index f0cdd4bb49b1..f12a13157226 100644 --- a/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build index ecdebe1342fd..1b381a50fb75 100644 --- a/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build index 252ddd57846a..407b8f8393a5 100644 --- a/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build index 9e9fdc40f318..25b89da6ccf3 100644 --- a/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build index 9ed0923d04b9..a88d94b9f6a0 100644 --- a/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build @@ -167,22 +167,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build index 6622ae5378e3..49b23f7d0ed2 100644 --- a/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build index da967fbb1dea..b8853ffb05cf 100644 --- a/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build index 5ca53cc37e10..28f8d446f72c 100644 --- a/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build index 225ae5526ac6..23e6495dae9f 100644 --- a/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build @@ -165,22 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build index e5d3c463b3c5..baf8485cdaa6 100644 --- a/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build index 0999b3a370c1..2abe991fd3e7 100644 --- a/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build index 76ced54a9c78..6f9845056130 100644 --- a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build index 12b7f3840721..fe2e90bf6824 100644 --- a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build index 01fc02a9178c..041b61bc60f4 100644 --- a/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build index 3b51d9b2dfdd..95b28f4ccf94 100644 --- a/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build @@ -142,22 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build index 61eb9c051a60..a85468c9b3da 100644 --- a/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build index eb5f5e4dd11a..6b016b8bddcf 100644 --- a/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build index 6c3a778c0097..f261c0f6334c 100644 --- a/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build +++ b/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build index 9bdf972c09fc..4611d86993be 100644 --- a/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build index 67533c3f3298..d43a872df5fe 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build index 0bbfdd1eb26e..0af5c94f3eaa 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build index 4a1273d5ea74..6b2742cef153 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build @@ -160,22 +160,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build index 1ad9df4e631e..f2bd32521255 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build index a9d9e3094da0..b20e96279d00 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build index b2b2f02ac919..09fe25f5ea8d 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build index a65d3776b5ce..41cad986c2bb 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build index 30a93699f573..d74a42bcf8f2 100644 --- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build index 658b17534064..ddc97bbf20c5 100644 --- a/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build index 6301809b05d5..2bef4c93c28b 100644 --- a/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build +++ b/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build index 45dee13f8f60..398a0250cf27 100644 --- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build +++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build @@ -112,18 +112,6 @@ if CONFIG["OS_TARGET"] == "WINNT": DEFINES["_WINDOWS"] = True DEFINES["__STD_C"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build index 008ad3b04902..c4e4933bb713 100644 --- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build +++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build @@ -236,18 +236,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build index 4bf43c55c5b8..77af4824a742 100644 --- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build @@ -131,18 +131,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build index b70b3eeb66f9..d56e565f2953 100644 --- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build +++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build @@ -52,7 +52,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build index 59041730d8d7..601ef5ff72ca 100644 --- a/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build +++ b/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build @@ -113,18 +113,6 @@ if CONFIG["CPU_ARCH"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/module_api_gn/moz.build b/third_party/libwebrtc/modules/module_api_gn/moz.build index cc26925123f8..60cb0ad73c84 100644 --- a/third_party/libwebrtc/modules/module_api_gn/moz.build +++ b/third_party/libwebrtc/modules/module_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/module_api_public_gn/moz.build b/third_party/libwebrtc/modules/module_api_public_gn/moz.build index 3949c1a2b699..7bef70e8f421 100644 --- a/third_party/libwebrtc/modules/module_api_public_gn/moz.build +++ b/third_party/libwebrtc/modules/module_api_public_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/module_fec_api_gn/moz.build b/third_party/libwebrtc/modules/module_fec_api_gn/moz.build index b515f56396db..74d5aa72d3a2 100644 --- a/third_party/libwebrtc/modules/module_fec_api_gn/moz.build +++ b/third_party/libwebrtc/modules/module_fec_api_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build b/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build index 05dce6370410..262345a29bd8 100644 --- a/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build +++ b/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build b/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build index 9650568f3264..c5abf90241b1 100644 --- a/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build +++ b/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build b/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build index 80299c856e91..80230e2f0118 100644 --- a/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build +++ b/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build @@ -165,22 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build index dcc5ada67970..339fa1c95ff1 100644 --- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build +++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build @@ -195,22 +195,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build index 798b0a5ff305..a964d3ddee98 100644 --- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build +++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build @@ -207,22 +207,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build index c45fc2f0d200..b6f31cb6ccc6 100644 --- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build +++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build b/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build index 46db193aaee8..09055c15e733 100644 --- a/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build +++ b/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build b/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build index fdfdc1fbafa1..7b8447b62334 100644 --- a/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build +++ b/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build b/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build index 0fb10bee4bc4..bf3a33c773b5 100644 --- a/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build +++ b/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/utility/utility_gn/moz.build b/third_party/libwebrtc/modules/utility/utility_gn/moz.build index 9021063ce8da..78c017360b45 100644 --- a/third_party/libwebrtc/modules/utility/utility_gn/moz.build +++ b/third_party/libwebrtc/modules/utility/utility_gn/moz.build @@ -157,22 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build b/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build index a310bfe12e65..be1c683e1302 100644 --- a/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build +++ b/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build @@ -171,22 +171,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build b/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build index 15fe84223483..c722c9a1addf 100644 --- a/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build +++ b/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build @@ -158,22 +158,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build index 92fc169bfa14..752427600cc8 100644 --- a/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build index 8ade002d0183..4c609bcf5987 100644 --- a/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build index 6ae532c089c3..10ebc739ec0c 100644 --- a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build index 463f2a08ee63..784c29ac2eb4 100644 --- a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build b/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build index 4aad533a809c..16c1e39afd32 100644 --- a/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build b/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build index af78e013468e..2b90cece77c2 100644 --- a/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build index 2dc04e5a9cf9..cdbe6e8ff64c 100644 --- a/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build b/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build index 57a43caa16cd..aa97afcceee0 100644 --- a/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build @@ -153,22 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build index 0a87d813647e..9376b1f0cf5e 100644 --- a/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build index 3e4ab79641cd..6df10be0664d 100644 --- a/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build @@ -174,22 +174,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build index 9e6b6df5948b..5c408d3e0083 100644 --- a/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build @@ -163,22 +163,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build index 4ae92da9a8fa..b1190c405c1e 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build index e2ab1612c3c1..cc6ce9457f46 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build @@ -157,22 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build index 2ae04231ee01..1ba6d9081da6 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build @@ -158,22 +158,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build index 3d3414fadfe1..fd36f83b4a6d 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build index 47791807b58c..686b6c1973d9 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build @@ -156,22 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build index 90ce8177ccaa..1f2575bff58a 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build @@ -155,22 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build b/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build index 943d2880e350..0b49b35e4c56 100644 --- a/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build +++ b/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build b/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build index 3d850cb742c1..e5ad2edf1d68 100644 --- a/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build +++ b/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build @@ -160,22 +160,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build b/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build index 3502df6640a3..a0294fb2b699 100644 --- a/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build +++ b/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build @@ -123,18 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build b/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build index da44c9b360ab..be3f4a1ae6c5 100644 --- a/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build +++ b/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build @@ -140,22 +140,6 @@ if CONFIG["OS_TARGET"] == "WINNT": "winmm" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build b/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build index 0f2278b14022..4d1ec84c7569 100644 --- a/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build b/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build index 6fde827159a2..1a9765e38653 100644 --- a/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/checks_gn/moz.build b/third_party/libwebrtc/rtc_base/checks_gn/moz.build index 5fdd263725eb..723a0237e390 100644 --- a/third_party/libwebrtc/rtc_base/checks_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/checks_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build b/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build index cc9fb4afeeb7..56066830a871 100644 --- a/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build b/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build index dc7af0cc7b4e..f94f9fb1539d 100644 --- a/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build b/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build index e576ec263e33..35ab1255738a 100644 --- a/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build b/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build index ee977f0b91f7..e4c57819f3c9 100644 --- a/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build index 5076aa3951db..214a827e0cfc 100644 --- a/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build index c48685df8e03..a2f0626988c7 100644 --- a/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build index 5f2f908122bf..77348177d482 100644 --- a/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build index bf646534f8f8..24d3779d30bc 100644 --- a/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build @@ -148,22 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build index ed518edf357e..f95dec6761ca 100644 --- a/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build index 7df6c18a56f4..7e70ffcc1726 100644 --- a/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build index 35a5009b34ea..6ced10bae3cb 100644 --- a/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build index 2c99c2c421d4..ca103a1f2249 100644 --- a/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build index b528e59e49a7..e5b587f243c2 100644 --- a/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build index 9eaaf07e6765..a33c69046593 100644 --- a/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build index 3e07bebe0728..d23f2993452c 100644 --- a/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build index 75793c100c1b..a7afce193d8e 100644 --- a/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build index 18f87abc115d..0f744b1f1aca 100644 --- a/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build b/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build index b837b3be93e4..578556578b77 100644 --- a/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build b/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build index c9bd4aaf7cce..13b195e553ea 100644 --- a/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/logging_gn/moz.build b/third_party/libwebrtc/rtc_base/logging_gn/moz.build index 4ddf3d502c67..21c68779cee9 100644 --- a/third_party/libwebrtc/rtc_base/logging_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/logging_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build b/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build index 3e73fcc95526..44011bbf5a92 100644 --- a/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build b/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build index 601a6b8f2e06..1ef0c30aa65a 100644 --- a/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build b/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build index 8be1fae0a0c0..c33e0e25a0e5 100644 --- a/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build b/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build index b6293be69792..ae4bfc2db28f 100644 --- a/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build b/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build index eb194f6ed06e..24bf5a92d410 100644 --- a/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build b/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build index f97f10d57ab0..d543b9628e4d 100644 --- a/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build b/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build index 26c5559e1a30..15e3018405f9 100644 --- a/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/refcount_gn/moz.build b/third_party/libwebrtc/rtc_base/refcount_gn/moz.build index 5940fcf85e96..8a508c4f1f40 100644 --- a/third_party/libwebrtc/rtc_base/refcount_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/refcount_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build index 3e717cd1514e..41f78b20b28a 100644 --- a/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build @@ -162,22 +162,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build index 329aeaeead7a..ffa789586099 100644 --- a/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build @@ -195,22 +195,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build index af655f6cdd2f..a8bfe97efa8a 100644 --- a/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build index 7132b7de4c65..09f5ff238229 100644 --- a/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build @@ -147,22 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build index cb528e769092..8f7be39a35aa 100644 --- a/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build index 4b03f7145e97..f1393f4a9e60 100644 --- a/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build index 719f61950dd9..fed6b484e960 100644 --- a/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build index 9dab259015b2..5dc01b430b71 100644 --- a/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build b/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build index 6ad477795ef6..c4d02d4c8477 100644 --- a/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build b/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build index dd57b533a6ee..0f078edecc3b 100644 --- a/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build index 28a348f23b38..e8b1a19204e5 100644 --- a/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build index bba961a57406..d265163cd464 100644 --- a/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build @@ -161,22 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build index 88ca07fad511..ec507a0add29 100644 --- a/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build index 29e8fea9bb64..fb5f30b9846c 100644 --- a/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build index bbe945437b4a..58ab0be69f59 100644 --- a/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build b/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build index 34b3e7ce3f03..9e097c060ece 100644 --- a/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build b/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build index 7b0d0f7ee3c5..8ff211e954e7 100644 --- a/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build @@ -50,7 +50,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build b/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build index 598a89ffd98d..bcc9d32a7099 100644 --- a/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build @@ -42,7 +42,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build b/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build index 4270970a6caf..bad34ada39c8 100644 --- a/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build b/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build index a309c892c7b2..8bf788372ddb 100644 --- a/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build b/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build index 560b2c6c8a2a..715da99641e0 100644 --- a/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build b/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build index 808489cd5377..cea21728f363 100644 --- a/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build b/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build index 839aa9fd442f..f892e24e97b4 100644 --- a/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build b/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build index 2e07907d9bd6..d5991d6df8f3 100644 --- a/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build b/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build index c7f38056fefe..922f2e21f209 100644 --- a/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build index 9ce3ee38ebc2..60424907eef9 100644 --- a/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build index 4565e236463e..8a5b75e8d8fa 100644 --- a/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build @@ -152,22 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build index 94eb61355690..c5a12a6c884c 100644 --- a/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build b/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build index d9860d658db2..04f71f58fa6b 100644 --- a/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build b/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build index f1565d997d35..17099db760c4 100644 --- a/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build @@ -137,22 +137,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build b/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build index 2854447fc96b..b9d2da63ee8c 100644 --- a/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build b/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build index dbdeabc46618..ddbbed9b7463 100644 --- a/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build b/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build index 86ae9ca6a443..3f0118214762 100644 --- a/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build @@ -147,22 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build b/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build index dc45b6a74d26..0235cd04d4a5 100644 --- a/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build @@ -129,22 +129,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build b/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build index 9c760fe00b9e..93efa358f199 100644 --- a/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build @@ -133,22 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build b/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build index ff01c7b9dccd..69912a019e06 100644 --- a/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build +++ b/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build @@ -141,22 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/sdk/base_objc_gn/moz.build b/third_party/libwebrtc/sdk/base_objc_gn/moz.build index bdd7d4d51671..92caa8e7ec63 100644 --- a/third_party/libwebrtc/sdk/base_objc_gn/moz.build +++ b/third_party/libwebrtc/sdk/base_objc_gn/moz.build @@ -60,7 +60,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build b/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build index 73727f75bf65..1e503ed41e6a 100644 --- a/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build +++ b/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build @@ -55,7 +55,6 @@ if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True - DEFINES["_FORTIFY_SOURCE"] = "2" if CONFIG["MOZ_DEBUG"] == "1": diff --git a/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build b/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build index 0850c19cc547..de5687453546 100644 --- a/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build +++ b/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build b/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build index 1af4cfb73ea0..ad0cbf0d01a0 100644 --- a/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build +++ b/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build @@ -145,22 +145,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build b/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build index b2db1033c0c2..aaaa63784215 100644 --- a/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build +++ b/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build @@ -166,22 +166,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build b/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build index 6d55c4efca50..17282b9222cf 100644 --- a/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build +++ b/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build b/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build index c43237502665..bca74a49a5b2 100644 --- a/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build +++ b/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build @@ -109,22 +109,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build b/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build index 03a23911d300..19df2b315543 100644 --- a/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build +++ b/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build @@ -108,22 +108,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build b/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build index 29b48f1806dc..7e4d8c8722ef 100644 --- a/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build +++ b/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build @@ -161,22 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build b/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build index 69f17d6ac507..1e30a499e53c 100644 --- a/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build +++ b/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build @@ -154,22 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/video/video_gn/moz.build b/third_party/libwebrtc/video/video_gn/moz.build index 279acd20f733..e7069fc5a3ff 100644 --- a/third_party/libwebrtc/video/video_gn/moz.build +++ b/third_party/libwebrtc/video/video_gn/moz.build @@ -183,22 +183,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build b/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build index d6aa75d2b9b5..12943b85c586 100644 --- a/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build +++ b/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build @@ -159,22 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True diff --git a/third_party/libwebrtc/webrtc_gn/moz.build b/third_party/libwebrtc/webrtc_gn/moz.build index 72e51bf251f7..ebef95840599 100644 --- a/third_party/libwebrtc/webrtc_gn/moz.build +++ b/third_party/libwebrtc/webrtc_gn/moz.build @@ -164,22 +164,6 @@ if CONFIG["CPU_ARCH"] == "arm": "unwind" ] -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_FORTIFY_SOURCE"] = "2" - -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_FORTIFY_SOURCE"] = "2" - if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": DEFINES["_DEBUG"] = True