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": |
| 8 | "https://chromium.googlesource.com/chromium/buildtools.git@46ce8cb60364e9e0b21a81136c7debdddfd063a8", |
| 9 | |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 10 | "testing/corpus": |
Tom Sepez | 5bba2b6 | 2015-06-11 15:24:26 -0700 | [diff] [blame] | 11 | "https://pdfium.googlesource.com/pdfium_tests@4b9a1d593e5a101d034a4f1195174a22c179a42d", |
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": |
Tom Sepez | bd7fabf | 2015-09-28 10:31:27 -0700 | [diff] [blame] | 23 | "https://chromium.googlesource.com/v8/v8.git@4d03c3aabad6517ff058124bb799ca6a4156e570", |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 24 | |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 25 | "v8/third_party/icu": |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 26 | "https://chromium.googlesource.com/chromium/deps/icu46", |
| 27 | } |
| 28 | |
| 29 | deps_os = { |
| 30 | "win": { |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 31 | "v8/third_party/cygwin": |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 32 | "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df", |
| 33 | }, |
| 34 | } |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 35 | |
| 36 | include_rules = [ |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 37 | '+testing', |
| 38 | '+third_party/base', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 39 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 40 | |
| 41 | hooks = [ |
| 42 | { |
| 43 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 44 | 'name': 'gyp', |
| 45 | 'pattern': '.', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 46 | 'action': ['python', 'pdfium/build/gyp_pdfium'], |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 47 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 48 | # Pull clang-format binaries using checked-in hashes. |
| 49 | { |
| 50 | 'name': 'clang_format_win', |
| 51 | 'pattern': '.', |
| 52 | 'action': [ 'download_from_google_storage', |
| 53 | '--no_resume', |
| 54 | '--platform=win32', |
| 55 | '--no_auth', |
| 56 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 57 | '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 58 | ], |
| 59 | }, |
| 60 | { |
| 61 | 'name': 'clang_format_mac', |
| 62 | 'pattern': '.', |
| 63 | 'action': [ 'download_from_google_storage', |
| 64 | '--no_resume', |
| 65 | '--platform=darwin', |
| 66 | '--no_auth', |
| 67 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 68 | '-s', 'pdfium/buildtools/mac/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 69 | ], |
| 70 | }, |
| 71 | { |
| 72 | 'name': 'clang_format_linux', |
| 73 | 'pattern': '.', |
| 74 | 'action': [ 'download_from_google_storage', |
| 75 | '--no_resume', |
| 76 | '--platform=linux*', |
| 77 | '--no_auth', |
| 78 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 79 | '-s', 'pdfium/buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 80 | ], |
| 81 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 82 | { |
| 83 | # Pull clang if needed or requested via GYP_DEFINES. |
| 84 | 'name': 'clang', |
| 85 | 'pattern': '.', |
| 86 | 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], |
| 87 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 88 | ] |