Bug 814748 - Provide the ability to enable/disable xpcshell tests for per-window private browsing builds; r=ted

This commit is contained in:
Ehsan Akhgari 2012-11-24 11:48:10 -05:00
Родитель ece376f0ad
Коммит 97e302398e
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -65,6 +65,9 @@ def build_dict(env=os.environ):
# crashreporter
d["crashreporter"] = 'MOZ_CRASHREPORTER' in env and env['MOZ_CRASHREPORTER'] == '1'
# per-window private browsing
d["perwindowprivatebrowsing"] = 'MOZ_PER_WINDOW_PRIVATE_BROWSING' in env and env['MOZ_PER_WINDOW_PRIVATE_BROWSING'] == '1'
return d
#TODO: replace this with the json module when Python >= 2.6 is a requirement.

Просмотреть файл

@ -8885,6 +8885,7 @@ MOZ_DEBUG=${MOZ_DEBUG} \
MOZ_WIDGET_TOOLKIT=${MOZ_WIDGET_TOOLKIT} \
UNIVERSAL_BINARY=${UNIVERSAL_BINARY} \
MOZ_CRASHREPORTER=${MOZ_CRASHREPORTER} \
MOZ_PER_WINDOW_PRIVATE_BROWSING=${MOZ_PER_WINDOW_PRIVATE_BROWSING} \
$PYTHON ${_topsrcdir}/config/writemozinfo.py ./mozinfo.json.tmp
if cmp -s ./mozinfo.json.tmp ./mozinfo.json; then
rm ./mozinfo.json.tmp