moz.build (897B)
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/. 6 7 DIRS += ["resources"] 8 9 UNIFIED_SOURCES += [ 10 "nsNSSDialogHelper.cpp", 11 "nsNSSDialogs.cpp", 12 ] 13 14 XPCOM_MANIFESTS += [ 15 "components.conf", 16 ] 17 18 EXTRA_JS_MODULES.psm += [ 19 "pippki.sys.mjs", 20 ] 21 22 LOCAL_INCLUDES += [ 23 "!/dist/public/nss", 24 ] 25 26 FINAL_LIBRARY = "xul" 27 28 if CONFIG["CC_TYPE"] in ("clang", "gcc"): 29 CXXFLAGS += [ 30 "-Wextra", 31 # -Wextra enables this warning, but it's too noisy to be useful. 32 "-Wno-missing-field-initializers", 33 ] 34 35 # Gecko headers aren't warning-free enough for us to enable these warnings. 36 CXXFLAGS += [ 37 "-Wno-unused-parameter", 38 ]