Bug 1773223 - Filter-out _FORTIFY_SOURCE in GN processing. r=firefox-build-system-reviewers,andi

This is redundant with the build system setting it in
toolchain.configure.

Differential Revision: https://phabricator.services.mozilla.com/D149471
This commit is contained in:
Mike Hommey 2022-06-20 20:58:38 +00:00
parent d975b31305
commit 55bfe51945
364 changed files with 3 additions and 5601 deletions

View File

@ -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)]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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":

View File

@ -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

View File

@ -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

View File

@ -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":

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

Some files were not shown because too many files have changed in this diff Show More