mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 866094 - add ability in mozinfo to determine if the build is asan. r=ted
This commit is contained in:
parent
d4ed7431f7
commit
cf9a7de1a4
@ -80,6 +80,9 @@ def build_dict(env=os.environ):
|
||||
|
||||
# crashreporter
|
||||
d["crashreporter"] = 'MOZ_CRASHREPORTER' in env and env['MOZ_CRASHREPORTER'] == '1'
|
||||
|
||||
# asan
|
||||
d["asan"] = 'MOZ_ASAN' in env and env['MOZ_ASAN'] == '1'
|
||||
return d
|
||||
|
||||
def write_json(file, env=os.environ):
|
||||
|
@ -9192,6 +9192,7 @@ UNIVERSAL_BINARY=${UNIVERSAL_BINARY} \
|
||||
MOZ_CRASHREPORTER=${MOZ_CRASHREPORTER} \
|
||||
MOZ_APP_NAME=${MOZ_APP_NAME} \
|
||||
TOPSRCDIR=${_topsrcdir} \
|
||||
MOZ_ASAN=${MOZ_ASAN} \
|
||||
$PYTHON ${_topsrcdir}/config/writemozinfo.py ./mozinfo.json.tmp
|
||||
if cmp -s ./mozinfo.json.tmp ./mozinfo.json; then
|
||||
rm ./mozinfo.json.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user