Closed Bug 1289291 Opened 9 years ago Closed 9 years ago

Move Windows SDK detection to python configure

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.
Blocks: 1289294
At the same time, autodetect the SDK if WINDOWSSDKDIR is not given. Review commit: https://reviewboard.mozilla.org/r/67088/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/67088/
Comment on attachment 8774630 [details] Bug 1289291 - Set WINDOWSSDKDIR as a Windows path instead of msys path. https://reviewboard.mozilla.org/r/67086/#review64292
Attachment #8774630 - Flags: review?(cmanchester) → review+
Comment on attachment 8774631 [details] Bug 1289291 - Move Windows SDK detection to python configure. https://reviewboard.mozilla.org/r/67088/#review64294 ::: build/moz.configure/windows.configure:16 (Diff revision 1) > -@depends_when('--with-windows-version', when=is_windows) > +@template > +def depends_win(*args): > + return depends_when(*args, when=is_windows) Can we conditionally include this whole file? ::: build/moz.configure/windows.configure:43 (Diff revision 1) > + if host.kernel != 'WINNT': > + return () Will this ever be the case, considering depends_win? ::: build/moz.configure/windows.configure:46 (Diff revision 1) > + if value: > + return value > + if host.kernel != 'WINNT': > + return () > + > + return tuple(x[1] for x in get_registry_values( Where is `get_registry_values` defined?
Attachment #8774631 - Flags: review?(cmanchester)
https://reviewboard.mozilla.org/r/67088/#review64294 > Can we conditionally include this whole file? Unfortunately not, because target/host do not depend on --help. > Will this ever be the case, considering depends_win? depends_win is target.kernel == 'WINNT'. This test is for host.kernel != 'WINNT'. The difference is for cross-builds (windows builds on linux host) > Where is `get_registry_values` defined? Bug 1289286, which just landed.
Attachment #8774631 - Flags: review?(cmanchester)
Attachment #8774631 - Flags: review?(cmanchester) → review+
Depends on: 1289286
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/be8b0845f283 Set WINDOWSSDKDIR as a Windows path instead of msys path. r=chmanchester https://hg.mozilla.org/integration/autoland/rev/656febbe6d05 Move Windows SDK detection to python configure. r=chmanchester
Depends on: 1289679
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Depends on: 1289861
Blocks: 1290026
Blocks: 1291379
Blocks: 1291533
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: