From 5593bb8573c1deb1c649083d51963348adf972da Mon Sep 17 00:00:00 2001 From: weili Date: Fri, 29 Apr 2016 20:14:55 -0700 Subject: 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 --- build_gyp/gyp_pdfium | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build_gyp/gyp_pdfium') 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): -- cgit v1.2.3