diff options
author | dan sinclair <dsinclair@chromium.org> | 2016-03-22 19:42:29 -0400 |
---|---|---|
committer | dan sinclair <dsinclair@chromium.org> | 2016-03-22 19:42:29 -0400 |
commit | 0ac525005e15a6a67b04e8ab1553f4a1e18b0da7 (patch) | |
tree | da4c4f899e2e2a49b3e0ddeafba085148380abfe | |
parent | 3523c1f23e4c48850fcba5b1cb1bd8f311407e00 (diff) | |
download | pdfium-0ac525005e15a6a67b04e8ab1553f4a1e18b0da7.tar.xz |
Add gn to DEPS file
Pull the gn binary from google source. This is needed inorder to get git cl
format to work correctly on mac. Added other platforms for completness.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1826663002 .
-rw-r--r-- | DEPS | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -69,6 +69,40 @@ hooks = [ 'pattern': '.', 'action': ['python', 'pdfium/build/gyp_pdfium'], }, + # Pull GN binaries. This needs to be before running GYP below. + { + 'name': 'gn_win', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=win32', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'pdfium/buildtools/win/gn.exe.sha1', + ], + }, + { + 'name': 'gn_mac', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=darwin', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'pdfium/buildtools/mac/gn.sha1', + ], + }, + { + 'name': 'gn_linux64', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=linux*', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'pdfium/buildtools/linux64/gn.sha1', + ], + }, # Pull clang-format binaries using checked-in hashes. { 'name': 'clang_format_win', |