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.