gecko-dev/build
Mike Hommey 1170646315 Bug 1356101 - Derive the mach_bootstrap search path from build/virtualenv_packages.txt. r=gps
Most entries in virtualenv_packages.txt that are .pth or packages.txt
are currently in SEARCH_PATHS in mach_bootstrap. The ones that are
missing would make sense in SEARCH_PATHS. None of non-.pth or
packages.txt entries, however, are in SEARCH_PATHS and don't make sense
there.

On the other hand, virtualenv_packages.txt misses a lot of things that
are in SEARCH_PATHS, all of which should be there. One exception:
xpcom/idl-parser, which causes problems due to the xpidl package
containing an xpidl module, which causes problems with the in-tree
scripts using it. Plus, it needs a cache directory, which is messy, so
it's preferable to keep it away from the virtualenv. It turns out it was
added to mach_bootstrap.py in bug 893976 for a command that was since
then removed (bug 1244736), so we can get away with removing it.

So instead of keeping those two separate lists out of sync, we replace
the SEARCH_PATHS list from mach_bootstrap with one that is derived at
runtime from the contents of virtualenv_packages.txt.

And since a .pth can't fail to install in the virtualenv, it makes no
sense to have psutil.pth defined as optional, which allows it to end up
in the mach_bootstrap search path automatically.

Finally, because we do have overlapping module names in the tree (e.g.
runtests), and mach_bootstrap's SEARCH_PATHS had a guaranteed order,
we change the order of the virtualenv_packages.txt file to match what
used to be in mach_bootstrap, and make all the pth entries use the same
file name so that the order is more guaranteed in the virtualenv too.

--HG--
extra : rebase_source : 5bd09f2f984d6f78a76b38e768d8a67806af5954
2017-04-14 08:19:08 +09:00
..
annotationProcessors Bug 1338629 - Update annotation processing classpath to reflect SDK 25.3+ r=nalexander 2017-03-30 18:55:02 -07:00
autoconf Bug 1349022 - Don't put -DTRACING in the C/C++ flags for debug builds since nobody uses it. r=glandium 2017-03-20 15:25:55 -07:00
build-clang Bug 1335991 part 1 - Bump to clang r293859 to fix a crash at nsZipArchive::GetItem on 64-bit clang-cl builds. r=Ehsan 2017-02-15 09:23:49 +08:00
clang-plugin Bug 964133 - Build gflags; r=ted.mielczarik 2017-03-28 15:46:57 -04:00
compare-mozconfig Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
docs Bug 1284816 - Remove --disable-rust. r=ted 2017-02-01 15:38:49 -08:00
macosx Bug 1342450 - Keep webrender disabled by default on OS X buildbot builders. r=ted 2017-03-22 17:38:10 -04:00
mobile Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00
moz.configure Bug 1354510 - Firefox build should recognize Solaris. r=glandium 2017-04-11 00:01:32 -07:00
package/mac_osx
pgo Bug 1346405 - Update build/pgo/certs/README so instructions are current and applicable cross-platform r=ted 2017-03-10 14:06:49 -08:00
pymake
release Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
sanitizers Bug 1334461 - run mochitest-a11y on ubuntu 16.04 instead of 12.04. r=kats 2017-01-27 12:28:28 -05:00
unix Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted 2017-03-10 12:24:02 +08:00
util Bug 1338210 - Set threshold for num_static_constructor alerts to 3 r=jmaher 2017-03-10 13:53:08 -05:00
valgrind Bug 1345153 - Suppress valgrind warnings for PR_SetEnv in SetupCrashReporterDirectory. r=njn 2017-03-30 08:04:11 +02:00
win32 Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted 2017-03-01 11:10:14 +09:00
win64 Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal 2017-03-10 14:13:07 +08:00
.gdbinit_python.in bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.lldbinit.in
Makefile.in Bug 1269787 - Move appini_header.py rule to moz.build; r=glandium 2016-04-29 13:45:07 -04:00
__init__.py
appini_header.py Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium 2016-12-02 09:07:24 -05:00
application.ini.in Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal 2017-01-13 14:51:07 +09:00
automation-build.mk
automation.py.in Bug 1334900 - drop reftest process kill code for Windows 2000. r=jmaher 2017-01-30 21:00:36 +01:00
binary-location.mk
buildconfig.py Bug 1316879 - Don't use CPP/CXXCPP from environment after bug 1299919. r=glandium 2017-02-23 22:01:18 +00:00
checksums.py
defines.sh
dumbmake-dependencies
gecko_templates.mozbuild Backed out 4 changesets (bug 1306329) for 3000+ hazards a=backout 2017-01-17 17:55:24 -08:00
gen_test_backend.py Bug 1345109 - Delete 'JS_STANDALONE' from EmptyConfig when generating test metadata, r=mshal 2017-03-07 10:56:22 -05:00
gen_test_packages_manifest.py Bug 1272113: Packaging awsy in build job r=jmaher 2017-03-11 02:33:19 +08:00
genrc.sh
gyp.mozbuild Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted 2017-02-24 14:01:56 -05:00
gyp_base.mozbuild bug 1295937 - Improvements to gyp_reader to handle NSS gyp files. r=glandium 2016-11-15 12:37:09 -05:00
mach_bootstrap.py Bug 1356101 - Derive the mach_bootstrap search path from build/virtualenv_packages.txt. r=gps 2017-04-14 08:19:08 +09:00
moz-automation.mk Bug 1337986 - Remove dependencies between packaging steps and buildsymbols. r=mshal,ted 2017-04-10 10:27:50 -07:00
moz.build Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted 2017-03-10 12:24:02 +08:00
mozconfig.artifact Bug 1314678 - Unset TOOLCHAIN_PREFIX in mozconfig.artifact r=mshal 2017-03-07 10:21:33 -08:00
mozconfig.automation Bug 1329355 - Remove MOZ_AUTOMATION_PRETTY*; r=ted 2017-01-10 11:07:13 -05:00
mozconfig.cache bug 1350093 - fix sccache configuration to handle changes in the format of TASKCLUSTER_WORKER_GROUP. r=froydnj 2017-04-06 12:03:14 -04:00
mozconfig.clang-cl Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted 2017-03-01 11:10:14 +09:00
mozconfig.common Bug 1283898 - Make tooltool rust available in all automation. r=gps 2016-11-30 16:10:33 -08:00
mozconfig.common.override
mozconfig.rust Bug 1324120 - Ensure mozconfig.rust uses the TOOLTOOL_DIR when available. r=gps 2016-12-22 13:18:05 +01:00
mozconfig.vs-common
mozconfig.win-common Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal 2017-01-25 12:30:49 -05:00
prebuilt-interfaces.manifest Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium 2016-08-17 15:02:31 -07:00
qemu-wrap
rebuild-backend.mk Bug 1320194 - Use 'wildcard' instead of dummy rules when re-generating build backends, r=glandium 2017-02-10 16:29:29 -05:00
sccache.mk bug 1286934 - Switch to using sccache2. r=gps 2016-08-25 18:39:57 -04:00
subconfigure.py Bug 1269517 - Fix various environment variables that may contain posix-style paths when invoking the js subconfigure. r=glandium 2016-07-26 15:27:19 -07:00
submit_telemetry_data.py Bug 1250656 - Don't block mach command completion when submitting build telemetry data r=gps 2016-02-24 15:11:58 -08:00
telemetry-schema.json Bug 1244160 - Create json-schema for build telemetry data r=gps 2016-02-02 09:32:49 -05:00
templates.mozbuild Bug 1302704 - part 3 - propagate information about CARGO_TARGET_DIR from the frontend into the backend; r=chmanchester 2017-02-23 10:35:07 -05:00
test_templates.mozbuild Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
update-settings.ini
upload.py Bug 1307482 - Upload files concurrently; r=ted 2016-10-04 09:22:22 -07:00
variables.py Bug 1282782 - Add sourcestamp file to the source package. r=ted 2016-12-22 09:14:00 +01:00
virtualenv_packages.txt Bug 1356101 - Derive the mach_bootstrap search path from build/virtualenv_packages.txt. r=gps 2017-04-14 08:19:08 +09:00
windows_toolchain.py Bug 1335309 - Change the default for find_executables to False. r=mshal 2017-01-31 14:06:15 +09:00