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/.
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':
15 '-Wno-macro-redefined',
17 elif CONFIG['CC_TYPE'] in ('clang', 'gcc'):
19 '-Wno-unused-local-typedefs',
20 '-Wno-deprecated-declarations',
22 '-Wno-unused-but-set-variable',
25 if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
27 '-Wno-c++11-narrowing',
31 '-Wno-implicit-fallthrough',
34 DEFINES['NO_STABS_SUPPORT'] = True