Bug 1861751 Part 4: Add tests of invalid buffers in various usages. r=webgpu-reviewer...
[gecko.git] / toolkit / crashreporter / crashreporter.mozbuild
blob8d94b5a179fd98e9ecb713b5ef9e2860a6e71cad
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