Once qmake supports dynamic spec selection (QTBUG-23447), we can
tell it to build mkv8snapshot as a host tool, and then remove the
cross_compile guards from tools.pro and v8.pro.
Change-Id: I016227e80ba8c5832bcca718b08a2b14dc3805e6
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
TEMPLATE = subdirs
-SUBDIRS = v8
+CONFIG += ordered
+SUBDIRS = tools v8
--- /dev/null
+TEMPLATE = subdirs
+SUBDIRS =
+!cross_compile:contains(QT_CONFIG, v8snapshot): SUBDIRS += mkv8snapshot
include(v8.pri)
-false:contains(QT_CONFIG, v8snapshot) {
+!cross_compile:contains(QT_CONFIG, v8snapshot) {
mkv8snapshot.commands = ../../bin/mkv8snapshot$$qtPlatformTargetSuffix() ${QMAKE_FILE_OUT}
DUMMY_FILE = v8.pro
mkv8snapshot.input = DUMMY_FILE