blob: f02ac6892a970f5613b9539ae272f9f445adbc1b [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
Oliver Changafaa98e2015-10-21 15:29:47 -070017 "tools/clang":
18 "https://chromium.googlesource.com/chromium/src/tools/clang",
19
John Abd-El-Malekfe453722014-10-16 15:32:26 -070020 "v8":
Tom Sepezbd7fabf2015-09-28 10:31:27 -070021 "https://chromium.googlesource.com/v8/v8.git@4d03c3aabad6517ff058124bb799ca6a4156e570",
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070022
John Abd-El-Malekfe453722014-10-16 15:32:26 -070023 "v8/third_party/icu":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070024 "https://chromium.googlesource.com/chromium/deps/icu46",
25}
26
27deps_os = {
28 "win": {
John Abd-El-Malekfe453722014-10-16 15:32:26 -070029 "v8/third_party/cygwin":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070030 "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
31 },
32}
Tom Sepez4c0e2752015-06-05 13:46:08 -070033
34include_rules = [
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070035 '+testing',
36 '+third_party/base',
Tom Sepez4c0e2752015-06-05 13:46:08 -070037]
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070038
39hooks = [
40 {
41 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
42 'name': 'gyp',
43 'pattern': '.',
Oliver Chang5a21e142015-10-21 15:19:20 -070044 'action': ['python', 'pdfium/build/gyp_pdfium'],
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070045 },
Tom Sepeze9446f82015-08-13 15:51:43 -070046 # Pull clang-format binaries using checked-in hashes.
47 {
48 'name': 'clang_format_win',
49 'pattern': '.',
50 'action': [ 'download_from_google_storage',
51 '--no_resume',
52 '--platform=win32',
53 '--no_auth',
54 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070055 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070056 ],
57 },
58 {
59 'name': 'clang_format_mac',
60 'pattern': '.',
61 'action': [ 'download_from_google_storage',
62 '--no_resume',
63 '--platform=darwin',
64 '--no_auth',
65 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070066 '-s', 'pdfium/buildtools/mac/clang-format.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070067 ],
68 },
69 {
70 'name': 'clang_format_linux',
71 'pattern': '.',
72 'action': [ 'download_from_google_storage',
73 '--no_resume',
74 '--platform=linux*',
75 '--no_auth',
76 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070077 '-s', 'pdfium/buildtools/linux64/clang-format.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070078 ],
79 },
Oliver Changafaa98e2015-10-21 15:29:47 -070080 {
81 # Pull clang if needed or requested via GYP_DEFINES.
82 'name': 'clang',
83 'pattern': '.',
84 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'],
85 },
Tom Sepeze9446f82015-08-13 15:51:43 -070086]