Closed
Bug 1289291
Opened 9 years ago
Closed 9 years ago
Move Windows SDK detection to python configure
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
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.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/67086/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/67086/
Attachment #8774630 -
Flags: review?(cmanchester)
Attachment #8774631 -
Flags: review?(cmanchester)
Assignee | ||
Comment 2•9 years ago
|
||
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 3•9 years ago
|
||
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 4•9 years ago
|
||
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)
Assignee | ||
Comment 5•9 years ago
|
||
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.
Assignee | ||
Updated•9 years ago
|
Attachment #8774631 -
Flags: review?(cmanchester)
Updated•9 years ago
|
Attachment #8774631 -
Flags: review?(cmanchester) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8774631 [details]
Bug 1289291 - Move Windows SDK detection to python configure.
https://reviewboard.mozilla.org/r/67088/#review64330
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
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/be8b0845f283
https://hg.mozilla.org/mozilla-central/rev/656febbe6d05
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•