Commit Graph

6 Commits

Author SHA1 Message Date
Jan Beich
b3512d775a Bug 1316879 - Don't use CPP/CXXCPP from environment after bug 1299919. r=glandium
MozReview-Commit-ID: 4Of9nsVWK3q

--HG--
extra : rebase_source : 27724098df74dcff33ff5a8113200355ae287ae6
2017-02-23 22:01:18 +00:00
Mike Hommey
a4b157940a Bug 1278415 - Make the buildconfig module use MozbuildObject.from_environment. r=gps
The buildconfig module predates MozbuildObject.from_environment, and
it's about time to start factoring things out such that we only have
one way to get config.status data. This is step 1: making the
buildconfig module use MozbuildObject.from_environment.

Eventually, we'll want to remove the buildconfig module uses everywhere.
2016-06-16 11:43:35 +09:00
Mike Hommey
79e124f382 Bug 1277087 - Change how the buildconfig module searches for config.status. r=gps
So far, we relied on the module being copied over in the virtualenv, and
the module itself would try to find config.status in parent directories
of its own location. Unfortunately, this falls short when the source
tree's build/ directory appears early in the sys.path.

With this change, we don't copy the module to the virtualenv anymore,
and try to find config.status in parent directories of the python
executable, which, when running from the virtualenv, will be equivalent
to the current behavior.
2016-06-02 08:48:42 +09:00
Mike Hommey
4950cfa0f7 Bug 780561 - Fix the buildconfig python module handling of environment variables. r=ted 2013-01-23 11:23:15 +01:00
Mike Hommey
5ee9586672 Bug 832202 - Handle empty lists from config.status in buildconfig.py. r=ted 2013-01-19 09:46:51 +01:00
Mike Hommey
d210fb66e2 Bug 785871 - Make importing config.status easier. r=ted,r=gps 2012-09-20 09:52:12 +02:00