accessible/interfaces/ia2/moz.build
author Nathan Froyd <froydnj@mozilla.com>
Fri, 06 Nov 2015 13:10:03 -0500
changeset 279458 6490203bb10a421653ea54bbd062a6c60d4a5b4e
parent 234727 ca51a37240231cfa95e2ac259271e56e60e32315
child 306106 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1222531 - turn off -Wextra-tokens on clang-cl in accessible/ directories; r=tbsaunde The Windows MIDL code generator creates things like: #endif !_MIDL_USE_GUIDDEF_ which clang-cl complains about. MSVC doesn't, so turn this warning off.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

GeckoSharedLibrary('IA2Marshal', linkage=None)

DEFINES['REGISTER_PROXY_DLL'] = True

DEFFILE = SRCDIR + '/IA2Marshal.def'

OS_LIBS += [
    'uuid',
    'kernel32',
    'rpcrt4',
    'ole32',
    'oleaut32',
]

# The Windows MIDL code generator creates things like:
#
#   #endif !_MIDL_USE_GUIDDEF_
#
# which clang-cl complains about.  MSVC doesn't, so turn this warning off.
if CONFIG['CLANG_CL']:
    CXXFLAGS += ['-Wno-extra-tokens']