gecko-dev/build/moz.configure
Mike Hommey 0cdaafffc5 Bug 1374727 - Apply check_prog's when to more of what it "expands" to. r=chmanchester
check_prog, when used with a `when` argument, doesn't work the same way
as putting it under a `with only_when()` block, while it should. The
difference comes from the fact that `with only_when()` applies the
`when` to every option and depends used in the block (which check_prog
calls a bunch of).

So, we "manually" apply the `when` to all option and depends in
check_prog. An alternative solution would be to put the whole function
under a `with only_when()` block, but that would mean reindenting the
whole function.

Either way, as a consequence, this requires the `when` to have a
dependency on --help for "non-trivial" functions, which fortunately,
there's only one of.

--HG--
extra : rebase_source : d91eca9e303c7062394d92a526983714ef3e612f
2017-06-21 07:19:33 +09:00
..
android-ndk.configure Bug 1360291 - Detect NDK version number; r=nalexander 2017-05-04 19:19:31 -04:00
checks.configure Bug 1374727 - Apply check_prog's when to more of what it "expands" to. r=chmanchester 2017-06-21 07:19:33 +09:00
compile-checks.configure Bug 1363585 - Forbid boolean operations on @depends functions. r=chmanchester 2017-05-10 11:35:22 +09:00
compilers-util.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
headers.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
init.configure Backed out 6 changesets (bug 1377216) for SM(pkg) bustage on a CLOSED TREE. 2017-07-19 22:14:03 -04:00
java.configure Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
keyfiles.configure Bug 1365089 - Pre: Support setting default keyfile locations in moz.configure. r=nalexander 2017-05-19 11:30:26 -07:00
memory.configure Bug 1363992 - Remove support for making jemalloc4 the default. r=njn 2017-05-11 13:16:00 +09:00
old.configure Bug 1379190: P2. Remove OMX related config. r=glandium 2017-07-13 13:00:23 +02:00
pkg.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
rust.configure bug 1275424 - hardcode Rust source paths in symbolstore.py. r=gps 2017-06-23 16:19:49 -04:00
toolchain.configure Bug 1368083 - Pass -isysroot to bindgen. r=gps 2017-07-06 11:34:03 -07:00
util.configure Backed out 6 changesets (bug 1377216) for SM(pkg) bustage on a CLOSED TREE. 2017-07-19 22:14:03 -04:00
warnings.configure Bug 1368649 - Default to -O2 when building on Linux without PGO. r=gps 2017-05-31 06:19:38 +09:00
windows.configure Bug 1356493: Add the SDK version number to the bin path for Windows 10 SDK v10.0.15063.0 and above. r=glandium 2017-07-18 14:21:32 +01:00