moz.build (1158B)
1 # -*- Mode: python; c-basic-offset: 4; 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 = ("Toolkit", "Blocklist Implementation") 9 10 # These collections are referenced in toolkit/ or other core code. 11 FINAL_TARGET_FILES.defaults.settings.blocklists += [ 12 "gfx.json", 13 ] 14 15 # The addons blocklist data is not packaged on Android/iOS and will be downloaded 16 # after install. 17 # See https://bugzilla.mozilla.org/show_bug.cgi?id=1639050#c5 18 19 if not CONFIG["MOZ_BUILD_APP"].startswith("mobile/"): 20 FINAL_TARGET_FILES.defaults.settings.blocklists += [ 21 "addons-bloomfilters.json", 22 ] 23 24 FINAL_TARGET_FILES.defaults.settings.blocklists["addons-bloomfilters"] += [ 25 "addons-bloomfilters/addons-mlbf.bin", 26 "addons-bloomfilters/addons-mlbf.bin.meta.json", 27 "addons-bloomfilters/softblocks-addons-mlbf.bin", 28 "addons-bloomfilters/softblocks-addons-mlbf.bin.meta.json", 29 ]