Bug 814748 - Provide the ability to enable/disable xpcshell tests for per-window private browsing builds; r=ted
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 24 Nov 2012 11:48:10 -0500
changeset 114096 9102b22a97655bfe1734cdbb327372b1be10e423
parent 114095 c35b660ef41b5888d4780491732c40189496f691
child 114097 ff5cb7daf9dc9082fd0a7b40600201662b8fb123
push id23903
push userryanvm@gmail.com
push dateSun, 25 Nov 2012 01:32:28 +0000
treeherdermozilla-central@3c67034ba39c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs814748
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 814748 - Provide the ability to enable/disable xpcshell tests for per-window private browsing builds; r=ted
config/writemozinfo.py
configure.in
--- a/config/writemozinfo.py
+++ b/config/writemozinfo.py
@@ -60,16 +60,19 @@ def build_dict(env=os.environ):
         d["bits"] = 32
     # other CPUs will wind up with unknown bits
 
     # debug
     d["debug"] = 'MOZ_DEBUG' in env and env['MOZ_DEBUG'] == '1'
 
     # 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.
 class JsonValue:
     """
     A class to serialize Python values into JSON-compatible representations.
     """
     def __init__(self, v):
--- a/configure.in
+++ b/configure.in
@@ -8880,16 +8880,17 @@ fi
 # Generate a JSON config file for unittest harnesses etc to read
 # build configuration details from in a standardized way.
 OS_TARGET=${OS_TARGET} \
 TARGET_CPU=${TARGET_CPU} \
 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
 else
   mv -f ./mozinfo.json.tmp ./mozinfo.json
 fi
 
 # Run jemalloc configure script