Closed
Bug 1523144
Opened 6 years ago
Closed 6 years ago
Fixup MIDL setup after bug 1516090
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox67 fixed)
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•6 years ago
|
||
This turns out to not work at all, because this prevents MIDL itself to
pass -I to the compiler, which then proceeds to fail. We're just lucky
that our MSVC detection doesn't yield any default flags so this is
effectively dead code.
Assignee | ||
Comment 2•6 years ago
|
||
In some setups, MSVC is not found through vc_compiler_path, so we may
need a more complete path. toolchain_search_path
contains
vc_compiler_path, as well as $PATH (among others), increasing our
chances.
Also, if we fail to find cl.exe that way, fail early, instead of failing
while processing config.status, failing to serialize MIDL_FLAGS because
it contains a None
.
Depends on D17767
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/e3e3c47c212f
Don't pass compiler flags down to MIDL. r=froydnj
https://hg.mozilla.org/integration/autoland/rev/8d0ab7804a7c
Search for MSVC for MIDL in more locations. r=froydnj
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e3e3c47c212f
https://hg.mozilla.org/mozilla-central/rev/8d0ab7804a7c
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•