summaryrefslogtreecommitdiffstats
path: root/build/isolate.gypi
diff options
context:
space:
mode:
authorkjellander@chromium.org <kjellander@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 14:29:01 +0000
committerkjellander@chromium.org <kjellander@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 14:29:01 +0000
commit820fb1ed762a001b82ecc227f24d6dbde8ea6b17 (patch)
treea22fdf75223efc4567684cc9ad1b91de850fc318 /build/isolate.gypi
parenta15b88f934cbebbbb04bd788cc74f01ab04d31f7 (diff)
downloadchromium_src-820fb1ed762a001b82ecc227f24d6dbde8ea6b17.zip
chromium_src-820fb1ed762a001b82ecc227f24d6dbde8ea6b17.tar.gz
chromium_src-820fb1ed762a001b82ecc227f24d6dbde8ea6b17.tar.bz2
Pass GYP DEPTH variable to isolate.
This should make it possible to get rid of the ugly relative paths in the isolate files. I'm including an example for base_unittests.isolate for demonstrative purposes only. I can remove it (or convert all .isolate files in Chromium) before landing. BUG=343106 TEST=Successful compile+test on Linux using: ninja -C out/Release base_unittests_run xdisplaycheck tools/swarming_client/isolate.py run -s out/Release/base_unittests.isolated Review URL: https://codereview.chromium.org/322403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/isolate.gypi')
-rw-r--r--build/isolate.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/isolate.gypi b/build/isolate.gypi
index 6267441..0b9dd34 100644
--- a/build/isolate.gypi
+++ b/build/isolate.gypi
@@ -82,6 +82,7 @@
# Path variables are used to replace file paths when loading a .isolate
# file
+ '--path-variable', 'DEPTH', '<(DEPTH)',
'--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ',
# Extra variables are replaced on the 'command' entry and on paths in