summaryrefslogtreecommitdiffstats
path: root/lib/lib.pro
blob: 45d8675fd0a2665ef482748ded42007f0f4129ad (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
# This is a dummy .pro file used to extract some aspects of the used configuration and feed them to gyp
# We want the gyp generation step to happen after all the other config steps. For that we need to prepend
# our gyp_generator.prf feature to the CONFIG variable since it is processed backwards
CONFIG = gyp_generator $$CONFIG
GYPDEPENDENCIES += ../shared/shared.gyp:qtwebengine_shared
GYPDEPENDENCIES += ../chromium/net/net.gyp:net_resources
GYPINCLUDES += ../qtwebengine.gypi

TEMPLATE = lib

TARGET = Qt5WebEngine

# Defining keywords such as 'signal' clashes with the chromium code base.
DEFINES += QT_NO_KEYWORDS

# We need a way to tap into gyp´s Debug vs. Release configuration
PER_CONFIG_DEFINES = QTWEBENGINEPROCESS_PATH=\\\"$$getOutDir()/%config/$$QTWEBENGINEPROCESS_NAME\\\"

# Keep Skia happy
CONFIG(release, debug|release): DEFINES += NDEBUG

QT += widgets quick

RESOURCES += lib_resources.qrc

SOURCES = \
        backing_store_qt.cpp \
        content_browser_client_qt.cpp \
        qquickwebcontentsview.cpp \
        qwebcontentsview.cpp \
        render_widget_host_view_qt.cpp \
        render_widget_host_view_qt_delegate_quick.cpp \
        render_widget_host_view_qt_delegate_widget.cpp \
        resource_context_qt.cpp \
        resource_bundle_qt.cpp \
        url_request_context_getter_qt.cpp \
        web_contents_delegate_qt.cpp \
        web_contents_view_qt.cpp \
        web_engine_context.cpp \
        web_event_factory.cpp

HEADERS = \
        backing_store_qt.h \
        browser_context_qt.h \
        content_browser_client_qt.h \
        qquickwebcontentsview.h \
        qquickwebcontentsview_p.h \
        qwebcontentsview.h \
        qwebcontentsview_p.h \
        render_widget_host_view_qt.h \
        render_widget_host_view_qt_delegate.h \
        render_widget_host_view_qt_delegate_quick.h \
        render_widget_host_view_qt_delegate_widget.h \
        resource_context_qt.h \
        url_request_context_getter_qt.h \
        web_contents_delegate_qt.h \
        web_contents_view_qt.h \
        web_engine_context.h \
        web_event_factory.h