gecko-dev/build
Gregory Szorc 725466ff53 Bug 902619 - Write mozinfo.json as part of config.status; r=ted
There are both mechanical and logical changes in this patch.

The mechanical changes involve moving some files into the mozbuild
package.

The logical changes include move writing of mozinfo.json into
config.status (from configure.in). There were some variable assignments
being performed in configure.in. These variables were read from
writemozinfo.py. However, these variables don't appear to be necessary!
Now that mozinfo has full access to the underlying config.status data
structure, it can now access these variables directly. I verified that
every variable being assigned in configure.in had a corresponding
AC_SUBST earlier in the file.

The only variable that's a bit weird is the TOPSRCDIR and MOZCONFIG
environment variables. mozinfo continues to look in the environment for
MOZCONFIG. However TOPSRCDIR is now coming from config.status.

As part of moving the code, I also modernized the test file, cleaned up
some style, and removed some unused imports.

--HG--
rename : config/writemozinfo.py => python/mozbuild/mozbuild/mozinfo.py
rename : config/tests/unit-writemozinfo.py => python/mozbuild/mozbuild/test/test_mozinfo.py
2013-08-07 23:48:41 -07:00
..
autoconf Bug 901149 - Add the clang workaround for __float128 to HOST_CXXFLAGS when not cross-compiling. r=ted 2013-08-06 10:08:23 +09:00
clang-plugin Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan 2013-05-27 16:05:02 -05:00
compare-mozconfig bug 763903: regularly run mozconfig comparisons. r=gps/bhearsum 2013-07-31 14:27:13 -04:00
macosx Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
mobile Bug 894454 - Avoid potential NullPointerException crashes in sutAgent; r=wlach 2013-08-02 20:25:32 -07:00
os2 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
package Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
pgo Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
pymake Bug 899858 - Cache pymake len() computation to speed up parsing. r=benjamin 2013-08-06 15:25:57 -04:00
release bug 763903: regularly run mozconfig comparisons for firefox. r=ted/bhearsum 2013-07-15 13:27:12 -04:00
stlport Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
unix Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
util bug 763903: regularly run mozconfig comparisons for firefox. r=ted/bhearsum 2013-07-15 13:27:12 -04:00
valgrind Bug 874658 - Add Valgrind suppression. DONTBUILD 2013-05-21 15:28:26 -07:00
virtualenv Bug 894227 - Add configobj Python package; rs=glandium 2013-07-18 12:55:41 -07:00
win32 Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
win64 Bug 774910 - Switch mozilla-central to the Windows 8.0 sdk. r=armenz 2013-01-09 13:04:39 -06:00
ConfigStatus.py Bug 902619 - Write mozinfo.json as part of config.status; r=ted 2013-08-07 23:48:41 -07:00
Makefile.in Bug 707976 - Remove manifestdestiny from its old location in m-c and use that in testing/mozbase;r=ahal 2013-06-07 12:30:11 -07:00
__init__.py
appini_header.py Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
application.ini Bug 767839 - Avoid preprocessing application.ini.in twice. r=khuey 2012-08-07 16:53:17 +02:00
automation-build.mk Bug 833018 - Enable special ASan options for tests when running with low memory. r=jmaher,a=nonlibxul 2013-01-22 16:48:02 +01:00
automation.py.in Bug 902157 - ASan: Add memory configuration for 4 GB test slaves. r=jmaher 2013-08-06 23:02:07 +02:00
automationutils.py Bug 875126 - Make cgdb an option for mach --debugger. r=ted 2013-06-12 16:17:11 -04:00
binary-location.mk Bug 831236: remove mobile/xul, r=axel,mfinkle,gps,glandium 2013-03-06 23:43:44 -08:00
bloatcycle.html Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8 2012-09-24 14:46:28 +02:00
buildconfig.py Bug 780561 - Fix the buildconfig python module handling of environment variables. r=ted 2013-01-23 11:23:15 +01:00
checksums.py Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
cl.py Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
defines.sh Bug 853071: add some build-time defines for channel-specific features, r=gps, f=bhearsum 2013-04-25 12:23:21 -07:00
dumbmake-dependencies Bug 894000 - Fix dumbmake dependencies for accessible. r=gps 2013-07-15 16:06:10 -04:00
genrc.sh Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
leaktest.py.in Bug 688667 - refactor automation.py into mozprocess and mozprofile and load via virtualenv. r=jmaher 2013-07-30 08:30:40 -04:00
link.py bug 661908 - work around stupid Python 2.5 bug. r=bustage 2012-05-25 14:02:54 -04:00
mach_bootstrap.py Bug 688667 - refactor automation.py into mozprocess and mozprofile and load via virtualenv. r=jmaher 2013-07-30 08:30:40 -04:00
moz.build Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
mozconfig.common Bug 895253 - Disable crash reporter when cross building across different OSes (e.g. OSX android builds). r=ted 2013-07-21 13:58:42 +09:00
mozconfig.common.override Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted 2012-09-05 12:10:21 -07:00
mozconfig.vs2010-common Backed out changeset e40466e428dc (bug 853301) for breaking cross-compiles. 2013-05-08 08:27:00 -04:00
msys-perl-wrapper Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
qemu-wrap Add in support for running a cross-shell directly in qemu (bug 807936, r=ted) 2012-11-15 10:24:07 -05:00
update-settings.ini Bug 767839 Don't preprocess update-settings.ini twice r=khuey 2012-07-03 08:33:54 +01:00
upload.py Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00