no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / toolkit / crashreporter / crashreporter.mozbuild
blob56918ae9007558537259ca2c4bb6b08591f0cb59
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 LOCAL_INCLUDES += [
8     "/toolkit/crashreporter/breakpad-client",
9     "/toolkit/crashreporter/google-breakpad/src",
12 # Suppress warnings in third-party code.
13 if CONFIG["CC_TYPE"] == "clang-cl":
14     CXXFLAGS += [
15         "-Wno-macro-redefined",
16     ]
17 elif CONFIG["CC_TYPE"] in ("clang", "gcc"):
18     CXXFLAGS += [
19         "-Wno-unused-local-typedefs",
20         "-Wno-deprecated-declarations",
21         "-Wno-bool-compare",
22         "-Wno-unused-but-set-variable",
23     ]
25 if CONFIG["CC_TYPE"] in ("clang", "clang-cl"):
26     CXXFLAGS += [
27         "-Wno-c++11-narrowing",
28     ]
30 CXXFLAGS += [
31     "-Wno-implicit-fallthrough",
34 DEFINES["NO_STABS_SUPPORT"] = True