build/clang-plugin/moz.build
author Sylvestre Ledru <sledru@mozilla.com>
Mon, 14 Nov 2016 15:42:55 +0100
changeset 892664 9f9e3ba9227879d0b85ecb0e6456a3dcac0d0d0b
parent 805990 3ec6380fca8207fa199693206a3ca24975bf9833
child 916072 5fd28b638019c8595b2714fece9206f48595564d
child 1489916 19545120490da48aaf901abb052ba53cb57ab466
permissions -rw-r--r--
Bug 1313040 - Update the list of ignored directories/files with clang-format r=mystor MozReview-Commit-ID: ByV08Oryu6h

# -*- Mode: python; 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/.

SharedLibrary('clang-plugin')

SOURCES += [
    'clang-plugin.cpp',
]

DISABLE_STL_WRAPPING = True
NO_VISIBILITY_FLAGS = True

# libc++ is required to build plugins against clang on OS X.
if CONFIG['HOST_OS_ARCH'] == 'Darwin':
    CXXFLAGS += ['-stdlib=libc++']
    LDFLAGS += ['-lc++']

DIRS += [
    'tests',
]