summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pictureinpicture/moz.build
blob: 9ab6a1a37de1391158fa8fb4258561f09f959493 (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
61
# -*- 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/.

DEFINES["MOZ_APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
DEFINES["MOZ_APP_MAXVERSION"] = CONFIG["MOZ_APP_MAXVERSION"]

FINAL_TARGET_FILES.features["pictureinpicture@mozilla.org"] += [
    "manifest.json",
    "run.js",
]

FINAL_TARGET_FILES.features["pictureinpicture@mozilla.org"]["data"] += [
    "data/picture_in_picture_overrides.js",
]

FINAL_TARGET_FILES.features["pictureinpicture@mozilla.org"]["experiment-apis"] += [
    "experiment-apis/aboutConfigPipPrefs.js",
    "experiment-apis/aboutConfigPipPrefs.json",
    "experiment-apis/pictureInPicture.js",
    "experiment-apis/pictureInPicture.json",
]

FINAL_TARGET_FILES.features["pictureinpicture@mozilla.org"]["lib"] += [
    "lib/picture_in_picture_overrides.js",
]

FINAL_TARGET_FILES.features["pictureinpicture@mozilla.org"]["video-wrappers"] += [
    "video-wrappers/airmozilla.js",
    "video-wrappers/bbc.js",
    "video-wrappers/cbc.js",
    "video-wrappers/dailymotion.js",
    "video-wrappers/disneyplus.js",
    "video-wrappers/edx.js",
    "video-wrappers/hbomax.js",
    "video-wrappers/hotstar.js",
    "video-wrappers/hulu.js",
    "video-wrappers/mock-wrapper.js",
    "video-wrappers/netflix.js",
    "video-wrappers/nytimes.js",
    "video-wrappers/piped.js",
    "video-wrappers/primeVideo.js",
    "video-wrappers/radiocanada.js",
    "video-wrappers/sonyliv.js",
    "video-wrappers/tubi.js",
    "video-wrappers/tubilive.js",
    "video-wrappers/twitch.js",
    "video-wrappers/udemy.js",
    "video-wrappers/videojsWrapper.js",
    "video-wrappers/voot.js",
    "video-wrappers/washingtonpost.js",
    "video-wrappers/yahoo.js",
    "video-wrappers/youtube.js",
]

BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"]

with Files("**"):
    BUG_COMPONENT = ("Toolkit", "Picture-in-Picture")