gecko-dev/python
Gregory Szorc 231cefc973 Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium
Before, MSVS was set in old-configure and could only be unset or
"2015." We move the definition of the variable to moz.configure
and support defining its value as "2017" when VS2017 is being used.

As part of this, I discovered that GYP barfs with a "2017" value.
This is likely a limitation of the legacy version of GYP we have
vendored. Rather than go down the rabbit hole of upgrading GYP,
I added code to convert the value to "2015." This preserves existing
behavior and unblocks us from setting MSVS_VERSION properly. A
warning is emitted to remind us to remove this hack once GYP is
upgraded.

After this commit, we now generate native VS2017 solutions and
projects when building with VS2017.

MozReview-Commit-ID: BvNJX3F8qCn

--HG--
extra : rebase_source : 13a495856a83d9ca7afbb4770ebab1cc7f651cae
2017-06-14 16:52:55 -07:00
..
devtools/migrate-l10n Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
mach Bug 1347290 - Set sgr0 to '' if blessings.tigetstr('sgr0') returns None, r=gps 2017-04-06 17:44:30 -07:00
mozboot Bug 1371366 - mozboot: Install rust 1.18.0. r=froydnj 2017-06-07 14:57:55 -07:00
mozbuild Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium 2017-06-14 16:52:55 -07:00
mozlint Bug 1288432 - [mozlint] Use yaml for lint definitions and separate implementation of external linters, r=bc 2017-06-02 09:49:26 -04:00
mozversioncontrol/mozversioncontrol Bug 1361172 - Rewrite code for finding files in VCS checkout; r=glandium 2017-05-18 16:06:49 -07:00
README Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
mach_commands.py Bug 1048446 - [python-test] Add 'sequential' key to python.ini manifests so tests can opt out of running in parallel, r=jmaher 2017-06-01 09:50:15 -04:00
moz.build Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00

README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025