summaryrefslogtreecommitdiffstats
path: root/browser/tools/mozscreenshots/mozscreenshots/extension/moz.build
blob: 173f6e6dae65e6ab4fd69c01e8e3817cb779cfff (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
# -*- 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/.

XPI_NAME = "mozscreenshots"

USE_EXTENSION_MANIFEST = True

FINAL_TARGET_FILES += [
    "api.js",
    "manifest.json",
    "schema.json",
]

FINAL_TARGET_FILES.resources += [
    "Screenshot.sys.mjs",
    "TestRunner.sys.mjs",
]

FINAL_TARGET_FILES.resources.configurations += [
    "configurations/AppMenu.sys.mjs",
    "configurations/Buttons.sys.mjs",
    "configurations/ControlCenter.sys.mjs",
    "configurations/CustomizeMode.sys.mjs",
    "configurations/DevTools.sys.mjs",
    "configurations/LightweightThemes.sys.mjs",
    "configurations/PermissionPrompts.sys.mjs",
    "configurations/Preferences.sys.mjs",
    "configurations/Tabs.sys.mjs",
    "configurations/TabsInTitlebar.sys.mjs",
    "configurations/Toolbars.sys.mjs",
    "configurations/UIDensities.sys.mjs",
    "configurations/WindowSize.sys.mjs",
]

FINAL_TARGET_FILES.resources.lib += [
    "lib/borderify.xpi",
    "lib/mozscreenshots-script.js",
    "lib/mozscreenshots-style.css",
    "lib/mozscreenshots.html",
    "lib/permissionPrompts.html",
    "lib/robot.png",
    "lib/robot_center.png",
    "lib/robot_cropped_diagonal.png",
    "lib/robot_diagonal.png",
    "lib/robot_uncropped.png",
    "lib/robot_upperleft.png",
]

FINAL_TARGET_FILES.resources.lib.controlCenter += [
    "lib/controlCenter/mixed.html",
    "lib/controlCenter/mixed_active.html",
    "lib/controlCenter/mixed_passive.html",
    "lib/controlCenter/password.html",
    "lib/controlCenter/tracking.html",
]