X-Git-Url: http://downloads.foxitsoftware.com/web/?p=pdfium.git;a=blobdiff_plain;f=DEPS;h=e1c4fa3653b44d9a841d588707cb3380b76c58e2;hp=6bde04d7e16a9ed064d96d0c82d26e06a6b28bda;hb=fb3c41e5324671bce0b0ec025f4e94ae0b20906e;hpb=3d25502adc5ae37d1c3c74d367f16f770c465109 diff --git a/DEPS b/DEPS index 6bde04d..e1c4fa3 100644 --- a/DEPS +++ b/DEPS @@ -4,6 +4,12 @@ deps = { "build/gyp": "https://chromium.googlesource.com/external/gyp", + "buildtools": + "https://chromium.googlesource.com/chromium/buildtools.git@46ce8cb60364e9e0b21a81136c7debdddfd063a8", + + "testing/corpus": + "https://pdfium.googlesource.com/pdfium_tests@2ddcfbd23aa7ef0a7424ef24a3fac7acdfb39ee5", + "testing/gmock": "https://chromium.googlesource.com/external/googlemock.git@29763965ab52f24565299976b936d1265cb6a271", @@ -11,7 +17,7 @@ deps = { "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038", "v8": - "https://chromium.googlesource.com/external/v8", + "https://chromium.googlesource.com/v8/v8.git@d3f97a972ffe37989fed2794d07e33f7c25f651c", "v8/third_party/icu": "https://chromium.googlesource.com/chromium/deps/icu46", @@ -23,3 +29,53 @@ deps_os = { "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df", }, } + +include_rules = [ + '+public', + '+testing', + '+third_party/base', + '+v8', +] + +hooks = [ + { + # A change to a .gyp, .gypi, or to GYP itself should run the generator. + 'name': 'gyp', + 'pattern': '.', + 'action': ['python', 'build/gyp_pdfium'], + }, + # Pull clang-format binaries using checked-in hashes. + { + 'name': 'clang_format_win', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=win32', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'buildtools/win/clang-format.exe.sha1', + ], + }, + { + 'name': 'clang_format_mac', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=darwin', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'buildtools/mac/clang-format.sha1', + ], + }, + { + 'name': 'clang_format_linux', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=linux*', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'buildtools/linux64/clang-format.sha1', + ], + }, +]