build/win64/mozconfig.vs2010
author Jean-Yves Avenard <jyavenard@mozilla.com>
Tue, 17 Mar 2015 16:42:47 +1100
changeset 258312 a72d76b284ea79559e866026c5b13de9854d8861
parent 226506 fe99aeb6ae653c3ac35a9c923e039e03e1c16014
child 270690 bf1d0c9242d9ac334c7f7521789840a7c711b418
permissions -rw-r--r--
Bug 1100210 - Mark MPEG2 Layer 1,2,3 audio as MP3. r=k17e, a=sledru Extract data from ESDS atom's objectTypeIndication


if [ -d "/c/PROGRA~2/MICROS~2.0" ]; then
  # /c/Program Files (x86)/Microsoft Visual Studio 10.0
  _VSPATH="/c/PROGRA~2/MICROS~2.0"
else
  _VSPATH="/c/tools/msvs10"
fi

## SDK redist ##
export WIN32_REDIST_DIR=${_VSPATH}/VC/redist/x64/Microsoft.VC100.CRT

## includes: win8 sdk includes, winrt headers for metro, msvc 10 std library, directx sdk for d3d9 ##
export INCLUDE=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/shared:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/um:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/winrt:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/winrt/wrl:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/winrt/wrl/wrappers:${_VSPATH}/vc/include:${_VSPATH}/vc/atlmfc/include:/c/tools/sdks/dx10/include

## libs: win8 sdk x64 (64-bit) libs, msvc 10 (64-bit) std library, msvc 10 atl libs, directx sdk (64-bit) for d3d9  ##
export LIBPATH=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/Lib/win8/um/x64:${_VSPATH}/vc/lib/amd64:${_VSPATH}/vc/atlmfc/lib/amd64:/c/tools/sdks/dx10/lib/x64
export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/Lib/win8/um/x64:${_VSPATH}/vc/lib/amd64:${_VSPATH}/vc/atlmfc/lib/amd64:/c/tools/sdks/dx10/lib/x64

## paths: win8 sdk x64 (64-bit) tools, msvc 10 (64-bit) build toolchain, moz tools  ##
export PATH="/c/Program Files (x86)/Windows Kits/8.0/bin/x64:${_VSPATH}/Common7/IDE:${_VSPATH}/VC/BIN/amd64:${_VSPATH}/VC/BIN/x86_amd64:${_VSPATH}/VC/BIN:${_VSPATH}/Common7/Tools:${_VSPATH}/VC/VCPackages:${PATH}"

## WindowsSDKDir ##
export WINDOWSSDKDIR="/c/Program Files (x86)/Windows Kits/8.0/"

# Use 32bit linker for PGO crash bug.
# https://connect.microsoft.com/VisualStudio/feedback/details/686117/
if [ -f /c/PROGRA~2/MICROS~2.0/VC/BIN/x86_amd64/link.exe ]; then
  # /c/Program Files (x86)/Microsoft Visual Studio 10.0
  export LD=c:/PROGRA~2/MICROS~2.0/VC/BIN/x86_amd64/link.exe
else
  export LD=c:/tools/msvs10/VC/BIN/x86_amd64/link.exe
fi

. $topsrcdir/build/mozconfig.vs-common

mk_export_correct_style LIB
mk_export_correct_style LIBPATH
mk_export_correct_style PATH
mk_export_correct_style INCLUDE
mk_export_correct_style WIN32_REDIST_DIR