summaryrefslogtreecommitdiff
path: root/qbs/pluginspec
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@nokia.com>2012-04-25 11:57:06 +0200
committerDaniel Teske <daniel.teske@nokia.com>2012-04-25 15:57:48 +0200
commitf3b2ca7d1971ce4cd3eeb1c47c8a492fabe02e2e (patch)
tree65f4c42168301375c7114f841392934ac1e0fdf8 /qbs/pluginspec
parent232af02fab9a3f00a2b003fa687c484690a38a0b (diff)
downloadqt-creator-f3b2ca7d1971ce4cd3eeb1c47c8a492fabe02e2e.tar.gz
Add qbs files for android
Change-Id: I1739879579245303795fc7c6d5bc2206ffb44bcb Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qbs/pluginspec')
-rw-r--r--qbs/pluginspec/pluginspec.qbs8
1 files changed, 7 insertions, 1 deletions
diff --git a/qbs/pluginspec/pluginspec.qbs b/qbs/pluginspec/pluginspec.qbs
index 5dac760880..f587382506 100644
--- a/qbs/pluginspec/pluginspec.qbs
+++ b/qbs/pluginspec/pluginspec.qbs
@@ -11,6 +11,9 @@ Module {
property string qtcreator_version: ide_version_major + '.' + ide_version_minor + '.' + ide_version_release
property string destdir: product.destination
+ property var pluginspecreplacements: product.pluginspecreplacements
+
+
FileTagger {
pattern: "*.in"
fileTags: ["pluginSpecIn"]
@@ -37,9 +40,12 @@ Module {
cmd.ide_version_major = product.module.ide_version_major;
cmd.ide_version_minor = product.module.ide_version_minor;
cmd.ide_version_release = product.module.ide_version_release;
+
+ cmd.pluginspecreplacements = product.module.pluginspecreplacements;
+
cmd.sourceCode = function() {
var i;
- var vars = {};
+ var vars = pluginspecreplacements || {};
var inf = new TextFile(input.fileName);
var all = inf.readAll();
// replace quoted quotes