From c91fe34fbeb8b7c03c6d3a86e32020ea5f7ad88d Mon Sep 17 00:00:00 2001 From: Kongqun Yang Date: Thu, 8 Sep 2016 10:43:54 -0700 Subject: [PATCH] Add packager/third_party/binutils with build utils Fixes clang build failure in #140 Change-Id: Iccab0f9792cb03a6bc513aa7c573e00089a82604 --- .gitignore | 1 + DEPS | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 18bcb412a7..030f6e65c7 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ /packager/docs/ /packager/testing/gmock/ /packager/testing/gtest/ +/packager/third_party/binutils/ /packager/third_party/boringssl/src/ /packager/third_party/curl/source/ /packager/third_party/gflags/src/ diff --git a/DEPS b/DEPS index 045af3f3dd..dc917af8b4 100644 --- a/DEPS +++ b/DEPS @@ -31,6 +31,9 @@ deps = { "src/packager/testing/gtest": Var("chromium_git") + "/external/github.com/google/googletest@6f8a66431cb592dad629028a50b3dd418a408c87", + "src/packager/third_party/binutils": + Var("chromium_git") + "/chromium/src/third_party/binutils@8d77853bc9415bcb7bb4206fa2901de7603387db", + # Make sure the version matches the one in # src/packager/third_party/boringssl, which contains perl generated files. "src/packager/third_party/boringssl/src": @@ -96,6 +99,15 @@ hooks = [ 'pattern': '.', 'action': ['python', 'src/packager/build/mac_toolchain.py'], }, + # Pull binutils for linux. + { + 'name': 'binutils', + 'pattern': 'src/packager/third_party/binutils', + 'action': [ + 'python', + 'src/packager/third_party/binutils/download.py', + ], + }, { # Pull clang if needed or requested via GYP_DEFINES (GYP_DEFINES="clang=1"). # Note: On Win, this should run after win_toolchain, as it may use it.