summaryrefslogtreecommitdiff
path: root/build_gyp/gyp_pdfium
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-04-29 20:14:55 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-29 20:14:55 -0700
commit5593bb8573c1deb1c649083d51963348adf972da (patch)
tree05f003cba1946a5b96a38de362eac4eec678b883 /build_gyp/gyp_pdfium
parent8c32dfa88b9deedb5add135301a0f6b1128882ed (diff)
downloadpdfium-5593bb8573c1deb1c649083d51963348adf972da.tar.xz
Use utilities from build directory instead of own copies
GYP and GN builds share some common utilities. GYP has three utilities in its own directory which are also synced in build directory now. We will use utilities from build directory instead of keeping our own copies. Compared to our own copies, utilities in build directory are either same or newer. find_depot_tools.py is identical; vs_toolchain.py and find_sdk.py have some minor updates. Review-Url: https://codereview.chromium.org/1933843002
Diffstat (limited to 'build_gyp/gyp_pdfium')
-rwxr-xr-xbuild_gyp/gyp_pdfium2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_gyp/gyp_pdfium b/build_gyp/gyp_pdfium
index 23b1c719c2..6a2540391c 100755
--- a/build_gyp/gyp_pdfium
+++ b/build_gyp/gyp_pdfium
@@ -17,7 +17,9 @@ output_rel_dir = 'out'
sys.path.insert(0, os.path.join(pdfium_root, 'tools', 'gyp', 'pylib'))
import gyp
+
# vs_toolchain needs to be after gyp path setting since it also uses gyp.
+sys.path.insert(0, os.path.join(pdfium_root, 'build'))
import vs_toolchain
def run_gyp(args):