summaryrefslogtreecommitdiffstats
path: root/browser/extensions/screenshots/moz.build
blob: 96f56822f268131b83c8af9dfa7c79ec130b15c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# -*- 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/.

with Files("**"):
    BUG_COMPONENT = ("Firefox", "Screenshots")

# This file list is automatically generated by Screenshots' export scripts.
# AUTOMATIC INSERTION START
FINAL_TARGET_FILES.features["screenshots@mozilla.org"] += [
    "assertIsBlankDocument.js",
    "assertIsTrusted.js",
    "blank.html",
    "blobConverters.js",
    "catcher.js",
    "clipboard.js",
    "domainFromUrl.js",
    "log.js",
    "manifest.json",
    "moz.build",
    "randomString.js",
    "sitehelper.js",
]

FINAL_TARGET_FILES.features["screenshots@mozilla.org"]["background"] += [
    "background/analytics.js",
    "background/communication.js",
    "background/deviceInfo.js",
    "background/main.js",
    "background/selectorLoader.js",
    "background/senderror.js",
    "background/startBackground.js",
    "background/takeshot.js",
]

FINAL_TARGET_FILES.features["screenshots@mozilla.org"]["build"] += [
    "build/inlineSelectionCss.js",
    "build/selection.js",
    "build/shot.js",
    "build/thumbnailGenerator.js",
]

FINAL_TARGET_FILES.features["screenshots@mozilla.org"]["experiments"][
    "screenshots"
] += ["experiments/screenshots/api.js", "experiments/screenshots/schema.json"]

FINAL_TARGET_FILES.features["screenshots@mozilla.org"]["selector"] += [
    "selector/callBackground.js",
    "selector/documentMetadata.js",
    "selector/shooter.js",
    "selector/ui.js",
    "selector/uicontrol.js",
    "selector/util.js",
]

# AUTOMATIC INSERTION END

BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]