blob: 75427b605a38f26d96a6f530a56b73ed1b0bf680 (
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
|
# Resolve root directories for sources
QTWEBENGINE_ROOT = $$replace(PWD, /build/qmake/mkspecs/features$,)
QTWEBENGINEPROCESS_NAME = QtWebEngineProcess
# Fetched from environment for now
CHROMIUM_SRC_DIR = $$(CHROMIUM_SRC_DIR)
isEmpty(CHROMIUM_SRC_DIR): CHROMIUM_SRC_DIR=$$QTWEBENGINE_ROOT/3rdparty/chromium
INCLUDEPATH += $$CHROMIUM_SRC_DIR
# Used for our export macros
!contains(_PRO_FILE_PWD_, $$QTWEBENGINE_ROOT/examples): DEFINES += BUILDING_CHROMIUM
# Location of sync.profile
MODULE_BASE_DIR = $$QTWEBENGINE_ROOT
# We have to disable RTTI for now since that's how chromium builds on linux
unix:QMAKE_CXXFLAGS += -fno-rtti
load(functions)
# Call the original default_pre.
load(default_pre)
|