moz.build 1008 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
# -*- 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", "Enterprise Policies")

XPIDL_SOURCES += [
11
    "nsIEnterprisePolicies.idl",
12
13
]

14
XPIDL_MODULE = "enterprisepolicies"
15

16
TEST_DIRS += ["tests"]
17

18
if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
19
    EXTRA_JS_MODULES += [
20
21
        "EnterprisePolicies.jsm",
        "EnterprisePoliciesContent.jsm",
22
23
24
    ]

    EXTRA_PP_JS_MODULES += [
25
        "EnterprisePoliciesParent.jsm",
26
27
28
    ]

    XPCOM_MANIFESTS += [
29
        "components.conf",
30
31
    ]

32
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
33
    EXTRA_JS_MODULES.policies += [
34
35
        "WindowsGPOParser.jsm",
    ]
36

37
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
38
    EXTRA_JS_MODULES.policies += [
39
40
        "macOSPoliciesParser.jsm",
    ]