mozglue/tests/gtest/InjectorDLL/moz.build
author Masatoshi Kimura <VYV03354@nifty.ne.jp>
Tue, 31 Jul 2018 22:10:07 +0900
changeset 485348 997fd8419a4b28cdaaf3263e88dcad585ccfb101
parent 481532 8e9f7dd841de1d8b772d09ba7ff90cfcb361faf3
child 485832 9f473a8655432529bba5261ad4afc8bcb557b1c7
permissions -rw-r--r--
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DIST_INSTALL = False

SharedLibrary('InjectorDLL')

UNIFIED_SOURCES = [
    'InjectorDLL.cpp',
]

if CONFIG['COMPILE_ENVIRONMENT']:
    TEST_HARNESS_FILES.gtest += ['!InjectorDLL.dll']

if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
    AllowCompilerWarnings()  # workaround for bug 1090497