moz.build (984B)
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 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Security") 9 10 TEST_DIRS += ["test/gtest"] 11 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] 12 BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"] 13 14 EXPORTS.mozilla.dom += [ 15 "Feature.h", 16 "FeaturePolicy.h", 17 "FeaturePolicyParser.h", 18 "FeaturePolicyUtils.h", 19 ] 20 21 UNIFIED_SOURCES += [ 22 "Feature.cpp", 23 "FeaturePolicy.cpp", 24 "FeaturePolicyParser.cpp", 25 "FeaturePolicyUtils.cpp", 26 ] 27 28 LOCAL_INCLUDES += [ 29 "/netwerk/base", 30 ] 31 include("/ipc/chromium/chromium-config.mozbuild") 32 include("/tools/fuzzing/libfuzzer-config.mozbuild") 33 34 FINAL_LIBRARY = "xul" 35 36 if CONFIG["FUZZING_INTERFACES"]: 37 TEST_DIRS += ["fuzztest"]