build/mozconfig.clang-cl
author James Graham <james@hoppipolla.co.uk>
Thu, 15 Nov 2018 20:40:50 +0000
changeset 503174 9702f65efe224bcb14f64db9eeb99ca2ad5ef8f8
parent 497590 60d974e18e6ac10231d7105582c026fc74e16a69
child 512012 31a754e0302db5d22a3485f1aef60a762d5507e1
permissions -rw-r--r--
Bug 1507532 - Add support for running reftests in fennec, r=KWierso Add a ReftestExecutor implementation matching the one that we use for Desktop Firefox. Differential Revision: https://phabricator.services.mozilla.com/D12034

if test -d "$topsrcdir/clang/bin"; then
    CLANG_DIR=`cd "$topsrcdir/clang/bin" ; pwd`
    export PATH="${CLANG_DIR}:${PATH}"
    mk_export_correct_style PATH

    if $(cd $topsrcdir/clang/lib/clang/* && test -d lib/windows); then
        CLANG_LIB_DIR="$(cd $topsrcdir/clang/lib/clang/* && cd lib/windows && pwd)"
        export LIB=$LIB:$CLANG_LIB_DIR
        mk_export_correct_style LIB
    fi
fi

export CC=clang-cl
export CXX=clang-cl
export ENABLE_CLANG_PLUGIN=1