fune/toolkit/components/reader/moz.build
Fred Chasen 466576038b Bug 1871140 - Vendor Readability Library. r=cmkm
- Adds a moz.yaml to vendor the files from the Readability library on Github to `toolkit/components/reader/readability`.
- Updates includes to point to the new library location.

Differential Revision: https://phabricator.services.mozilla.com/D196998
2024-01-11 21:47:21 +00:00

28 lines
717 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
JAR_MANIFESTS += ["jar.mn"]
EXTRA_JS_MODULES += [
"AboutReader.sys.mjs",
"ReaderMode.sys.mjs",
]
EXTRA_PP_JS_MODULES += [
"Readerable.sys.mjs",
]
EXTRA_JS_MODULES.reader = [
"readability/JSDOMParser.js",
"readability/Readability.js",
"Reader.worker.js",
"ReaderWorker.sys.mjs",
]
BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
with Files("**"):
BUG_COMPONENT = ("Toolkit", "Reader Mode")