Commit Graph

6 Commits

Author SHA1 Message Date
Jan Beich
7408f9d243 Bug 1316879 - Don't use CPP/CXXCPP from environment after bug 1299919. r=glandium
MozReview-Commit-ID: 4Of9nsVWK3q
2017-02-23 22:01:18 +00:00
Mike Hommey
2f454ae805 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
4f6b5f58f6 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
a51392314f Bug 780561 - Fix the buildconfig python module handling of environment variables. r=ted 2013-01-23 11:23:15 +01:00
Mike Hommey
9600b3a901 Bug 832202 - Handle empty lists from config.status in buildconfig.py. r=ted 2013-01-19 09:46:51 +01:00
Mike Hommey
8bebdbf309 Bug 785871 - Make importing config.status easier. r=ted,r=gps 2012-09-20 09:52:12 +02:00