allow gyp_skia to be run from any directory.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 17 Apr 2014 16:11:58 +0000 (16:11 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 17 Apr 2014 16:11:58 +0000 (16:11 +0000)
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

gyp_skia

index 7a45026..20bfd79 100755 (executable)
--- 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')