Commit Graph

13 Commits

Author SHA1 Message Date
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
Gregory Szorc
d68186dcef Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium 2013-05-20 23:26:20 -07:00
Gregory Szorc
4b70ebe1d5 Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium
--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
2013-03-04 10:32:57 -08:00
Gregory Szorc
42c8470531 Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Gregory Szorc
5dbdd4988c Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Gregory Szorc
8b7dd85e9e Bug 784841 - Part 4: Use os.path.relpath in ConfigStatus.py; r=glandium
We now require Python 2.7 and os.path.relpath is always available.
2013-01-15 22:22:56 -08:00
Monica Chew
d38e95d54b Bug 830458 - Import errno to ConfigStatus.py. r=gps 2013-01-14 20:15:04 -05:00
Mike Hommey
f719e34902 Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Ed Morley
0e9ed7fa01 Backout 7f8928077ed4 (bug 742795) for make-package & find filepath failures 2012-08-06 16:05:07 +01:00
Mike Hommey
014e0b483d Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Kyle Huey
4836d8fa0a Bug 780414: Followup to fix my build. Sort-of-but-not-really-r=Callek 2012-08-05 21:07:19 -07:00
Mike Hommey
1921d63887 Bug 780414 - Fix ConfigStatus.py for the case where top_srcdir is a path relative to topobjdir. r=khuey 2012-08-05 17:48:22 +02:00
Mike Hommey
e5d69586e3 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00