Lei Zhang | e4bf834 | 2015-10-21 17:11:04 -0700 | [diff] [blame] | 1 | use_relative_paths = True |
| 2 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 3 | deps = { |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 4 | "build/gyp": |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 5 | "https://chromium.googlesource.com/external/gyp", |
| 6 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 7 | "buildtools": |
Lei Zhang | 8241df7 | 2015-11-06 14:38:48 -0800 | [diff] [blame] | 8 | "https://chromium.googlesource.com/chromium/buildtools.git@c2f259809d5ede3275df5ea0842f0431990c4f98", |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 9 | |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 10 | "testing/corpus": |
Lei Zhang | b1dde8b | 2016-02-05 01:23:35 -0800 | [diff] [blame] | 11 | "https://pdfium.googlesource.com/pdfium_tests@bafb069353f96d441c6a37786d18cd9f5407937f", |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 12 | |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 13 | "testing/gmock": |
| 14 | "https://chromium.googlesource.com/external/googlemock.git@29763965ab52f24565299976b936d1265cb6a271", |
| 15 | |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 16 | "testing/gtest": |
| 17 | "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038", |
| 18 | |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 19 | "tools/clang": |
| 20 | "https://chromium.googlesource.com/chromium/src/tools/clang", |
| 21 | |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 22 | "v8": |
Lei Zhang | 18d8521 | 2016-02-03 15:10:48 -0800 | [diff] [blame] | 23 | "https://chromium.googlesource.com/v8/v8.git@3c3d7e7be80f45eeea0dc74a71d7552e2afc2985", |
Lei Zhang | 0ef109f | 2016-01-11 12:24:16 -0800 | [diff] [blame] | 24 | |
| 25 | "v8/base/trace_event/common": |
| 26 | "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git@d83d44b13d07c2fd0a40101a7deef9b93b841732", |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 27 | |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 28 | "v8/third_party/icu": |
Lei Zhang | a669b27 | 2015-12-23 22:03:24 -0800 | [diff] [blame] | 29 | "https://chromium.googlesource.com/chromium/deps/icu.git@8d342a405be5ae8aacb1e16f0bc31c3a4fbf26a2", |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | deps_os = { |
| 33 | "win": { |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 34 | "v8/third_party/cygwin": |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 35 | "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df", |
| 36 | }, |
| 37 | } |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 38 | |
| 39 | include_rules = [ |
Lei Zhang | 8fec3e4 | 2015-11-04 15:32:02 -0800 | [diff] [blame] | 40 | # Basic stuff that everyone can use. |
| 41 | # Note: public is not here because core cannot depend on public. |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 42 | '+testing', |
| 43 | '+third_party/base', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 44 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 45 | |
| 46 | hooks = [ |
| 47 | { |
| 48 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 49 | 'name': 'gyp', |
| 50 | 'pattern': '.', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 51 | 'action': ['python', 'pdfium/build/gyp_pdfium'], |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 52 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 53 | # Pull clang-format binaries using checked-in hashes. |
| 54 | { |
| 55 | 'name': 'clang_format_win', |
| 56 | 'pattern': '.', |
| 57 | 'action': [ 'download_from_google_storage', |
| 58 | '--no_resume', |
| 59 | '--platform=win32', |
| 60 | '--no_auth', |
| 61 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 62 | '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 63 | ], |
| 64 | }, |
| 65 | { |
| 66 | 'name': 'clang_format_mac', |
| 67 | 'pattern': '.', |
| 68 | 'action': [ 'download_from_google_storage', |
| 69 | '--no_resume', |
| 70 | '--platform=darwin', |
| 71 | '--no_auth', |
| 72 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 73 | '-s', 'pdfium/buildtools/mac/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 74 | ], |
| 75 | }, |
| 76 | { |
| 77 | 'name': 'clang_format_linux', |
| 78 | 'pattern': '.', |
| 79 | 'action': [ 'download_from_google_storage', |
| 80 | '--no_resume', |
| 81 | '--platform=linux*', |
| 82 | '--no_auth', |
| 83 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 84 | '-s', 'pdfium/buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 85 | ], |
| 86 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 87 | { |
| 88 | # Pull clang if needed or requested via GYP_DEFINES. |
| 89 | 'name': 'clang', |
| 90 | 'pattern': '.', |
| 91 | 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], |
| 92 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 93 | ] |