aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp_skia
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-17 16:11:58 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-17 16:11:58 +0000
commitbf6f6ae2e25f3def5874674caa3c8552ee4b7313 (patch)
tree9483e84c2b066111a280ebbce510377bd83dc56b /gyp_skia
parentcc277b729b16c0d8d042f9ae1db6563fb4538d88 (diff)
allow gyp_skia to be run from any directory.
R=epoger@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/240383003 git-svn-id: http://skia.googlecode.com/svn/trunk@14239 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp_skia')
-rwxr-xr-xgyp_skia2
1 files changed, 1 insertions, 1 deletions
diff --git a/gyp_skia b/gyp_skia
index 7a4502684f..20bfd7901b 100755
--- a/gyp_skia
+++ b/gyp_skia
@@ -15,7 +15,7 @@ import platform
import shlex
import sys
-script_dir = os.path.dirname(__file__)
+script_dir = os.path.abspath(os.path.dirname(__file__))
# Directory within which we can find the gyp source.
gyp_source_dir = os.path.join(script_dir, 'third_party', 'externals', 'gyp')