summaryrefslogtreecommitdiffstats
path: root/src/manager-lib/manager-lib.pro
blob: f00a968d4afe79fdacf3aa9287c11ef17dfa6fef (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
TEMPLATE = lib
TARGET = QtAppManManager
MODULE = appman_manager

load(am-config)

QT = core network qml
!headless:QT *= gui gui-private quick qml-private quick-private
QT_FOR_PRIVATE *= \
    appman_common-private \
    appman_application-private \
    appman_notification-private \
    appman_plugininterfaces-private \
    appman_intent_server-private \
    appman_intent_client-private \
    appman_monitor-private \

CONFIG *= static internal_module
CONFIG -= create_cmake

multi-process {
    QT *= dbus
    LIBS *= -ldl

    HEADERS += \
        nativeruntime.h \
        nativeruntime_p.h \
        processcontainer.h \

    SOURCES += \
        nativeruntime.cpp \
        processcontainer.cpp \

    CONFIG = dbus-adaptors-xml $$CONFIG

    ADAPTORS_XML = \
        ../dbus-lib/io.qt.applicationmanager.intentinterface.xml
}

HEADERS += \
    application.h \
    applicationmanager.h \
    applicationmodel.h \
    asynchronoustask.h \
    notificationmanager.h \
    abstractcontainer.h \
    containerfactory.h \
    plugincontainer.h \
    abstractruntime.h \
    runtimefactory.h \
    quicklauncher.h \
    applicationipcmanager.h \
    applicationipcinterface.h \
    applicationipcinterface_p.h \
    applicationmanager_p.h \
    debugwrapper.h \
    amnamespace.h \
    intentaminterface.h \
    processstatus.h \
    package.h \
    packagemanager.h \
    packagemanager_p.h \

!headless:HEADERS += \
    qmlinprocessapplicationmanagerwindow.h \
    inprocesssurfaceitem.h

qtHaveModule(qml):HEADERS += \
    qmlinprocessruntime.h \
    qmlinprocessapplicationinterface.h \

SOURCES += \
    application.cpp \
    applicationmanager.cpp \
    applicationmodel.cpp \
    asynchronoustask.cpp \
    notificationmanager.cpp \
    abstractcontainer.cpp \
    containerfactory.cpp \
    plugincontainer.cpp \
    abstractruntime.cpp \
    runtimefactory.cpp \
    quicklauncher.cpp \
    applicationipcmanager.cpp \
    applicationipcinterface.cpp \
    debugwrapper.cpp \
    intentaminterface.cpp \
    processstatus.cpp \
    packagemanager.cpp \
    package.cpp \

!headless:SOURCES += \
    qmlinprocessapplicationmanagerwindow.cpp \
    inprocesssurfaceitem.cpp

qtHaveModule(qml):SOURCES += \
    qmlinprocessruntime.cpp \
    qmlinprocessapplicationinterface.cpp \

qtHaveModule(waylandcompositor)|!disable-installer {
    HEADERS += \
        sudo.h \

    SOURCES += \
        sudo.cpp \
}

# we have an external plugin interface with signals, so we need to
# compile the moc-data into the exporting binary (appman itself)
HEADERS += ../plugin-interfaces/containerinterface.h


!disable-installer {

    QT_FOR_PRIVATE *= \
        appman_package-private \
        appman_crypto-private \

    HEADERS += \
        deinstallationtask.h \
        installationtask.h \
        scopeutilities.h \

    SOURCES += \
        installationtask.cpp \
        deinstallationtask.cpp \
        scopeutilities.cpp \
}

load(qt_module)