Source code

Revision control

Copy as Markdown

Other Tools

# 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/.
with Files("**"):
BUG_COMPONENT = ("Firefox", "New Tab Page")
SPHINX_TREES["docs"] = "docs"
BROWSER_CHROME_MANIFESTS += [
"test/browser/browser.toml",
]
PYTHON_UNITTEST_MANIFESTS += ["test/pytest/python.toml"]
XPCSHELL_TESTS_MANIFESTS += [
"test/xpcshell/xpcshell.toml",
]
JAR_MANIFESTS += ["addon-jar.mn"]
if CONFIG["NODEJS"]:
GeneratedFile(
"newtab-sources.stamp",
script="build-newtab-bundles.py",
entry_point="hash_sources",
force=True,
)
GeneratedFile(
"data/content/vendor.bundle.js",
"data/content/activity-stream.bundle.js",
script="build-newtab-bundles.py",
entry_point="generate_js",
inputs=["!newtab-sources.stamp"],
)
GeneratedFile(
"css/activity-stream.css",
"css/nova/activity-stream.css",
script="build-newtab-bundles.py",
entry_point="generate_css",
inputs=["!newtab-sources.stamp"],
)
DIRS += ["webext-glue"]