  . $topsrcdir/mozconfig-windows-x86_64


  CROSS_COMPILE=1

  HOST_CC="clang"
  HOST_CXX="clang++"
  CC="x86_64-w64-mingw32-clang"
  CXX="x86_64-w64-mingw32-clang++"
  CFLAGS="-include _mingw.h"
  CXXFLAGS="-fms-extensions -include _mingw.h"
  AR=llvm-ar
  RANLIB=llvm-ranlib

  clang_path=/var/tmp/dist/mingw-w64-clang

  # For Stylo
  BINDGEN_CFLAGS="-I$clang_path/x86_64-w64-mingw32/include/c++/v1 -I$clang_path/x86_64-w64-mingw32/include"


ac_add_options --enable-updater
  ac_add_options --enable-base-browser-update
  ac_add_options --with-updater-url=https://cdn.mullvad.net/browser/update_responses/update_1/


# Necessary for package-tests step which expects dist/bin/jsapi-tests to exist.
# This is added regardless of --enable-tests, because it's also a useful debugging tool.
ac_add_options --enable-js-shell

mk_add_options MOZ_PARALLEL_BUILD=4

export MOZ_APP_REMOTINGNAME="Mullvad Browser Alpha"

export MAR_CHANNEL_ID="mullvadbrowser-mullvad-alpha"
export ACCEPTED_MAR_CHANNEL_IDS="mullvadbrowser-mullvad-alpha"

export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_SOURCE_REPO="https://gitlab.torproject.org/tpo/applications/mullvad-browser"
export MOZ_SOURCE_CHANGESET=357e36eac29ad8c4f6f9d562cf2f2af306c35d7b
