Closed Bug 1523144 Opened 5 years ago Closed 5 years ago

Fixup MIDL setup after bug 1516090

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

No description provided.

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.

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

Blocks: 1523145
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
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: