blob: a6be649a0df22eec95a3c9bad49579f3c27eeabc [file] [log] [blame]
Lei Zhange4bf8342015-10-21 17:11:04 -07001use_relative_paths = True
2
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -07003deps = {
John Abd-El-Malekfe453722014-10-16 15:32:26 -07004 "build/gyp":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -07005 "https://chromium.googlesource.com/external/gyp",
6
Tom Sepez4c0e2752015-06-05 13:46:08 -07007 "buildtools":
Lei Zhang8241df72015-11-06 14:38:48 -08008 "https://chromium.googlesource.com/chromium/buildtools.git@c2f259809d5ede3275df5ea0842f0431990c4f98",
Tom Sepez4c0e2752015-06-05 13:46:08 -07009
Tom Sepez9519ab22015-03-16 15:27:19 -070010 "testing/corpus":
Oliver Changcec3f682015-11-05 16:00:40 -080011 "https://pdfium.googlesource.com/pdfium_tests@45f88c6914fcac26ad930bb0ebbfa468c21db0a5",
Tom Sepez9519ab22015-03-16 15:27:19 -070012
Tom Sepeza310e002015-02-27 13:03:07 -080013 "testing/gmock":
14 "https://chromium.googlesource.com/external/googlemock.git@29763965ab52f24565299976b936d1265cb6a271",
15
Tom Sepez22ee2482015-01-07 10:04:16 -080016 "testing/gtest":
17 "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038",
18
Oliver Changafaa98e2015-10-21 15:29:47 -070019 "tools/clang":
20 "https://chromium.googlesource.com/chromium/src/tools/clang",
21
John Abd-El-Malekfe453722014-10-16 15:32:26 -070022 "v8":
Lei Zhang5a2374a2015-11-20 14:58:59 -080023 "https://chromium.googlesource.com/v8/v8.git@cf7614d5fe34c529c4e49ed98f62fac311204674",
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070024
John Abd-El-Malekfe453722014-10-16 15:32:26 -070025 "v8/third_party/icu":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070026 "https://chromium.googlesource.com/chromium/deps/icu46",
27}
28
29deps_os = {
30 "win": {
John Abd-El-Malekfe453722014-10-16 15:32:26 -070031 "v8/third_party/cygwin":
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -070032 "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
33 },
34}
Tom Sepez4c0e2752015-06-05 13:46:08 -070035
36include_rules = [
Lei Zhang8fec3e42015-11-04 15:32:02 -080037 # Basic stuff that everyone can use.
38 # Note: public is not here because core cannot depend on public.
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070039 '+testing',
40 '+third_party/base',
Tom Sepez4c0e2752015-06-05 13:46:08 -070041]
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070042
43hooks = [
44 {
45 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
46 'name': 'gyp',
47 'pattern': '.',
Oliver Chang5a21e142015-10-21 15:19:20 -070048 'action': ['python', 'pdfium/build/gyp_pdfium'],
Tom Sepez0c1bd7c2015-06-17 15:56:43 -070049 },
Tom Sepeze9446f82015-08-13 15:51:43 -070050 # Pull clang-format binaries using checked-in hashes.
51 {
52 'name': 'clang_format_win',
53 'pattern': '.',
54 'action': [ 'download_from_google_storage',
55 '--no_resume',
56 '--platform=win32',
57 '--no_auth',
58 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070059 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070060 ],
61 },
62 {
63 'name': 'clang_format_mac',
64 'pattern': '.',
65 'action': [ 'download_from_google_storage',
66 '--no_resume',
67 '--platform=darwin',
68 '--no_auth',
69 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070070 '-s', 'pdfium/buildtools/mac/clang-format.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070071 ],
72 },
73 {
74 'name': 'clang_format_linux',
75 'pattern': '.',
76 'action': [ 'download_from_google_storage',
77 '--no_resume',
78 '--platform=linux*',
79 '--no_auth',
80 '--bucket', 'chromium-clang-format',
Oliver Chang5a21e142015-10-21 15:19:20 -070081 '-s', 'pdfium/buildtools/linux64/clang-format.sha1',
Tom Sepeze9446f82015-08-13 15:51:43 -070082 ],
83 },
Oliver Changafaa98e2015-10-21 15:29:47 -070084 {
85 # Pull clang if needed or requested via GYP_DEFINES.
86 'name': 'clang',
87 'pattern': '.',
88 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'],
89 },
Tom Sepeze9446f82015-08-13 15:51:43 -070090]