blob: 3103fff06b7de0fd937328deabde109c9c36a2b0 [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 Sepezd2cc1b92015-04-30 15:19:03 -070018 "https://chromium.googlesource.com/v8/v8.git",
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 '+public',
33 '+testing',
34 '+third_party/base',
Tom Sepezc52710c2015-07-14 16:21:49 -070035 '+v8',
Tom Sepez4c0e2752015-06-05 13:46:08 -070036]
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070037
38hooks = [
39 {
40 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
41 'name': 'gyp',
42 'pattern': '.',
43 'action': ['python', 'build/gyp_pdfium'],
44 },
Tom Sepeze9446f82015-08-13 15:51:43 -070045 # Pull clang-format binaries using checked-in hashes.
46 {
47 'name': 'clang_format_win',
48 'pattern': '.',
49 'action': [ 'download_from_google_storage',
50 '--no_resume',
51 '--platform=win32',
52 '--no_auth',
53 '--bucket', 'chromium-clang-format',
54 '-s', 'buildtools/win/clang-format.exe.sha1',
55 ],
56 },
57 {
58 'name': 'clang_format_mac',
59 'pattern': '.',
60 'action': [ 'download_from_google_storage',
61 '--no_resume',
62 '--platform=darwin',
63 '--no_auth',
64 '--bucket', 'chromium-clang-format',
65 '-s', 'buildtools/mac/clang-format.sha1',
66 ],
67 },
68 {
69 'name': 'clang_format_linux',
70 'pattern': '.',
71 'action': [ 'download_from_google_storage',
72 '--no_resume',
73 '--platform=linux*',
74 '--no_auth',
75 '--bucket', 'chromium-clang-format',
76 '-s', 'buildtools/linux64/clang-format.sha1',
77 ],
78 },
79]