Add packager/third_party/binutils with build utils

Fixes clang build failure in #140

Change-Id: Iccab0f9792cb03a6bc513aa7c573e00089a82604
This commit is contained in:
Kongqun Yang 2016-09-08 10:43:54 -07:00 committed by KongQun Yang
parent 28828b8a15
commit c91fe34fbe
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -14,6 +14,7 @@
/packager/docs/ /packager/docs/
/packager/testing/gmock/ /packager/testing/gmock/
/packager/testing/gtest/ /packager/testing/gtest/
/packager/third_party/binutils/
/packager/third_party/boringssl/src/ /packager/third_party/boringssl/src/
/packager/third_party/curl/source/ /packager/third_party/curl/source/
/packager/third_party/gflags/src/ /packager/third_party/gflags/src/

12
DEPS
View File

@ -31,6 +31,9 @@ deps = {
"src/packager/testing/gtest": "src/packager/testing/gtest":
Var("chromium_git") + "/external/github.com/google/googletest@6f8a66431cb592dad629028a50b3dd418a408c87", 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 # Make sure the version matches the one in
# src/packager/third_party/boringssl, which contains perl generated files. # src/packager/third_party/boringssl, which contains perl generated files.
"src/packager/third_party/boringssl/src": "src/packager/third_party/boringssl/src":
@ -96,6 +99,15 @@ hooks = [
'pattern': '.', 'pattern': '.',
'action': ['python', 'src/packager/build/mac_toolchain.py'], '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"). # 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. # Note: On Win, this should run after win_toolchain, as it may use it.