blob: 69618a79761cb110b8c11be422330897323ca8f5 [file] [log] [blame]
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -07001deps = {
John Abd-El-Malekfe453722014-10-16 15:32:26 -07002 "build/gyp":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -07003 "https://chromium.googlesource.com/external/gyp",
4
Tom Sepez4c0e2752015-06-05 13:46:08 -07005 "buildtools":
6 "https://chromium.googlesource.com/chromium/buildtools.git@46ce8cb60364e9e0b21a81136c7debdddfd063a8",
7
Tom Sepez9519ab22015-03-16 15:27:19 -07008 "testing/corpus":
Tom Sepez5bba2b62015-06-11 15:24:26 -07009 "https://pdfium.googlesource.com/pdfium_tests@4b9a1d593e5a101d034a4f1195174a22c179a42d",
Tom Sepez9519ab22015-03-16 15:27:19 -070010
Tom Sepeza310e002015-02-27 13:03:07 -080011 "testing/gmock":
12 "https://chromium.googlesource.com/external/googlemock.git@29763965ab52f24565299976b936d1265cb6a271",
13
Tom Sepez22ee2482015-01-07 10:04:16 -080014 "testing/gtest":
15 "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038",
16
John Abd-El-Malekfe453722014-10-16 15:32:26 -070017 "v8":
Tom Sepezbd7fabf2015-09-28 10:31:27 -070018 "https://chromium.googlesource.com/v8/v8.git@4d03c3aabad6517ff058124bb799ca6a4156e570",
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070019
John Abd-El-Malekfe453722014-10-16 15:32:26 -070020 "v8/third_party/icu":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070021 "https://chromium.googlesource.com/chromium/deps/icu46",
22}
23
24deps_os = {
25 "win": {
John Abd-El-Malekfe453722014-10-16 15:32:26 -070026 "v8/third_party/cygwin":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070027 "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
28 },
29}
Tom Sepez4c0e2752015-06-05 13:46:08 -070030
31include_rules = [
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070032 '+testing',
33 '+third_party/base',
Tom Sepez4c0e2752015-06-05 13:46:08 -070034]
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070035
36hooks = [
37 {
38 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
39 'name': 'gyp',
40 'pattern': '.',
41 'action': ['python', 'build/gyp_pdfium'],
42 },
Tom Sepeze9446f82015-08-13 15:51:43 -070043 # Pull clang-format binaries using checked-in hashes.
44 {
45 'name': 'clang_format_win',
46 'pattern': '.',
47 'action': [ 'download_from_google_storage',
48 '--no_resume',
49 '--platform=win32',
50 '--no_auth',
51 '--bucket', 'chromium-clang-format',
52 '-s', 'buildtools/win/clang-format.exe.sha1',
53 ],
54 },
55 {
56 'name': 'clang_format_mac',
57 'pattern': '.',
58 'action': [ 'download_from_google_storage',
59 '--no_resume',
60 '--platform=darwin',
61 '--no_auth',
62 '--bucket', 'chromium-clang-format',
63 '-s', 'buildtools/mac/clang-format.sha1',
64 ],
65 },
66 {
67 'name': 'clang_format_linux',
68 'pattern': '.',
69 'action': [ 'download_from_google_storage',
70 '--no_resume',
71 '--platform=linux*',
72 '--no_auth',
73 '--bucket', 'chromium-clang-format',
74 '-s', 'buildtools/linux64/clang-format.sha1',
75 ],
76 },
77]