summaryrefslogtreecommitdiffstats
path: root/mobile/android/components/geckoview/moz.build
blob: 7b115ed03b529a97d113e0f1b5dbc2598c410ca1 (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
# -*- 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/.

SOURCES += [
    "GeckoViewContentChannel.cpp",
    "GeckoViewContentProtocolHandler.cpp",
    "GeckoViewExternalAppService.cpp",
    "GeckoViewInputStream.cpp",
    "GeckoViewOutputStream.cpp",
    "GeckoViewStreamListener.cpp",
]

EXPORTS += [
    "GeckoViewContentChannel.h",
    "GeckoViewContentProtocolHandler.h",
    "GeckoViewExternalAppService.h",
    "GeckoViewInputStream.h",
    "GeckoViewOutputStream.h",
    "GeckoViewStreamListener.h",
]

if CONFIG["MOZ_ANDROID_HISTORY"]:
    EXPORTS += [
        "GeckoViewHistory.h",
    ]
    SOURCES += [
        "GeckoViewHistory.cpp",
    ]
    include("/ipc/chromium/chromium-config.mozbuild")

XPCOM_MANIFESTS += [
    "components.conf",
]

EXTRA_COMPONENTS += [
    "GeckoView.manifest",
]

EXTRA_JS_MODULES += [
    "ColorPickerDelegate.sys.mjs",
    "FilePickerDelegate.sys.mjs",
    "GeckoViewPermission.sys.mjs",
    "GeckoViewPrompt.sys.mjs",
    "GeckoViewPrompter.sys.mjs",
    "GeckoViewPush.sys.mjs",
    "GeckoViewStartup.sys.mjs",
    "LoginStorageDelegate.sys.mjs",
    "PromptCollection.sys.mjs",
    "ShareDelegate.sys.mjs",
]

FINAL_LIBRARY = "xul"