gecko-dev/config
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
..
js Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
makefiles bug 900330 - generate the xpidl parser during precompile instead of export r=ted 2013-08-02 23:38:13 -04:00
Moz
nspr Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
tests Bug 902619 - Write mozinfo.json as part of config.status; r=ted 2013-08-07 23:48:41 -07:00
android-common.mk Bug 898296 - Search for Android SDK build tools version 18.0.0. r=gps 2013-07-30 09:15:50 -07:00
asencode.cpp
autoconf.mk.in Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps 2013-04-16 08:23:18 +02:00
baseconfig.mk
buildlist.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
check_source_count.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
check_spidermonkey_style.py Bug 902251 - Use |hg manifest -q| in check_spidermonkey_style.py. r=gps. 2013-08-06 20:58:56 -07:00
config.mk Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
configobj.py
createprecomplete.py Backed out changeset f87e93861239 (bug 649607) for causing bug 901921 2013-08-06 10:42:42 -07:00
doxygen.cfg.in
elf-dynstr-gc.c
emptyvars.mk.in Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps 2013-04-16 08:23:18 +02:00
expandlibs_config.py Bug 831790 - Use the buildconfig python module for expandlibs_config. r=ted 2013-01-19 09:45:50 +01:00
expandlibs_exec.py Bug 837618 - teach expandlibs_exec.py about OS X's -filelist linker option; r=glandium 2013-04-16 11:13:50 -04:00
expandlibs_gen.py Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
expandlibs.py Backout expandlibs part of bug 812179 for breaking bug 603370. r=me 2013-03-06 11:11:43 +01:00
Expression.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
find_OOM_errors.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
find_vanilla_new_calls
gcc_hidden.h
gcc-stl-wrapper.template.h Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
glibcversion.sh
install.bat
JarMaker.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
make-atom-strings.pl
make-stl-wrappers.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
Makefile.in Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
milestone.pl Bug 870868 - Freeze the second number of the UA Gecko version at zero. r=glandium 2013-05-13 13:31:50 +02:00
milestone.txt Merging in version bump NO BUG 2013-08-05 11:06:54 -07:00
module2dir.pl
moz.build bug 875549: move HOST_CSRCS to mozbuild (file batch #1). r=mshal 2013-06-11 11:31:11 -04:00
mozLock.pm
mozunit.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
MozZipFile.py
msvc-stl-wrapper.template.h Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
nsinstall.c Bug 746223 - remove nsinstall's -l flag; r=glandium 2012-09-19 10:34:02 -04:00
nsinstall.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
pathsub.c
pathsub.h
Preprocessor.py Bug 737849 - Add a -o/--output option to Preprocessor.py. r=ted 2013-03-04 19:34:02 +01:00
printconfigsetting.py Backout part of Bug 812179 for SeaMonkey bustage. rs+=gps 2013-03-02 13:31:19 -05:00
printprereleasesuffix.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
pythonpath.py
rules.mk Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
solaris_ia32.map
static-checking-config.mk Bug 767563 - Add a clang static checker, part 1: add the plugin shell. r=glandium 2013-03-23 21:12:25 -05:00
static-checking.js
stl-headers Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
string-format.js
system-headers Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
utils.py Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
version_win.pl Bug 792028 - Update version_win.pl files and RPM spec file to refer to MPL 2. r=khuey. 2012-09-20 10:19:39 +01:00
version.mk