Bug 1641291 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I've pushed this up for review, but I haven't checked that full builds in fact succeeds.  My use case is artifact builds (so that I can work on the installer/uninstaller), and that definitely works.  And then I want to add a separate project for the Windows default browser agent (no ticket yet), and that definitely works.

My artifact mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=browser
ac_add_options --target=x86_64-pc-mingw32

ac_add_options --enable-artifact-builds

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-windows-artifact"

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"
```
My defaultagent mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=toolkit/mozapps/defaultagent
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --enable-debug

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-defaultagent-compile"

export NSDISTMODE=copy

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"

VSPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4
VSWINPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4

export WINDOWSSDKDIR="${VSWINPATH}/SDK"
export WIN32_REDIST_DIR="${VSPATH}/VC/redist/x86/Microsoft.VC141.CRT"
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x86"
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
export VC_PATH="${VSPATH}/VC"

export PATH=${VSPATH}/VC/bin/Hostx64/x64:${PATH}
unset VC_PATH

export LINKER=lld-link

# There's some kind of issue with the x64 version on macOS; work around it.
MT=/Users/nalexander/.mozbuild/vs2017_15.8.4/SDK/bin/10.0.17134.0/x86/mt.exe
```
I've pushed this up for review, but I haven't checked that full builds in fact succeed.  My use case is artifact builds (so that I can work on the installer/uninstaller), and that definitely works.  And then I want to add a separate project for the Windows default browser agent (no ticket yet), and that definitely works.

My artifact mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=browser
ac_add_options --target=x86_64-pc-mingw32

ac_add_options --enable-artifact-builds

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-windows-artifact"

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"
```
My defaultagent mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=toolkit/mozapps/defaultagent
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --enable-debug

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-defaultagent-compile"

export NSDISTMODE=copy

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"

VSPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4
VSWINPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4

export WINDOWSSDKDIR="${VSWINPATH}/SDK"
export WIN32_REDIST_DIR="${VSPATH}/VC/redist/x86/Microsoft.VC141.CRT"
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x86"
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
export VC_PATH="${VSPATH}/VC"

export PATH=${VSPATH}/VC/bin/Hostx64/x64:${PATH}
unset VC_PATH

export LINKER=lld-link

# There's some kind of issue with the x64 version on macOS; work around it.
MT=/Users/nalexander/.mozbuild/vs2017_15.8.4/SDK/bin/10.0.17134.0/x86/mt.exe
```
I've pushed this up for review, but I haven't checked that full builds in fact succeed.  My use case is artifact builds (so that I can work on the installer/uninstaller), and that definitely works.  And then I want to add a separate project for the Windows default browser agent (no ticket yet), and that definitely works.

My artifact mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=browser
ac_add_options --target=x86_64-pc-mingw32

ac_add_options --enable-artifact-builds

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-windows-artifact"

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"
```
My defaultagent mozconfig looks like:
```
mk_add_options AUTOCLOBBER=1

ac_add_options --enable-application=toolkit/mozapps/defaultagent
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --enable-debug

mk_add_options MOZ_WINCONSOLE=1

mk_add_options MOZ_OBJDIR="../objdirs/objdir-defaultagent-compile"

export MAKENSISU="/Users/nalexander/.mozbuild/nsis-3.01/makensis.exe"
export WINE="/usr/local/bin/wine"

VSPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4
VSWINPATH=/Users/nalexander/.mozbuild/vs2017_15.8.4

export WINDOWSSDKDIR="${VSWINPATH}/SDK"
export WIN32_REDIST_DIR="${VSPATH}/VC/redist/x86/Microsoft.VC141.CRT"
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x86"
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
export VC_PATH="${VSPATH}/VC"

export PATH=${VSPATH}/VC/bin/Hostx64/x64:${PATH}
unset VC_PATH

export LINKER=lld-link

# There's some kind of issue with the x64 version on macOS; work around it.
MT=/Users/nalexander/.mozbuild/vs2017_15.8.4/SDK/bin/10.0.17134.0/x86/mt.exe
```

Back to Bug 1641291 Comment 5