summaryrefslogtreecommitdiffstats
path: root/build/build.pro
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2013-04-30 08:31:31 +0200
committerPierre Rossi <pierre.rossi@digia.com>2013-05-02 20:02:21 +0200
commit259a919a30cbdf867d7e2fef9c7e0ecf7056661e (patch)
tree2a66215985536c4ff924f5873a329a9ea861c832 /build/build.pro
parent0a07a8e761ba628095e3301b7d7b671b87e49a0f (diff)
Define blinq_process path at compile time
This way we won't have to define the BLINQ_PROCESS_PATH environment variable except in the case where we want to override that value. Refactored some of the output dir logic in the process
Diffstat (limited to 'build/build.pro')
-rw-r--r--build/build.pro4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/build.pro b/build/build.pro
index f869aee89..83c074d60 100644
--- a/build/build.pro
+++ b/build/build.pro
@@ -13,9 +13,7 @@ GYP_OUTPUT = $$system(./gyp_blinq)
message($$GYP_OUTPUT)
ninja.target = ninja
-ninja.commands = $$CHROMIUM_SRC_DIR/../depot_tools/ninja -C
-CONFIG(debug, debug|release): ninja.commands += $$BLINQ_ROOT/out/Debug
-else: ninja.commands += $$BLINQ_ROOT/out/Release
+ninja.commands = $$CHROMIUM_SRC_DIR/../depot_tools/ninja -C $$getOutDir()
ninja.depends: qmake
QMAKE_EXTRA_TARGETS += ninja