blob: 6736ada1174006a9d53872393ef80655199bfc31 [file] [log] [blame]
Jamie Madill2fdd3da2015-07-20 10:14:54 -04001vars = {
2 'chromium_git': 'https://chromium.googlesource.com',
3}
4
alokp@chromium.org29d56fb2010-04-06 15:42:22 +00005deps = {
Corentin Walleze76f55f2016-10-25 06:44:45 -04006 'third_party/gyp':
7 Var('chromium_git') + '/external/gyp' + '@' + '81c2e5ff92af29bab61c982808076ddce3d200a2',
alokp@chromium.org416fcd32012-04-11 16:23:44 +00008
Corentin Walleze76f55f2016-10-25 06:44:45 -04009 'testing/gtest':
10 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87',
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000011
Corentin Walleze76f55f2016-10-25 06:44:45 -040012 'testing/gmock':
13 Var('chromium_git') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', # from svn revision 566
Jamie Madill3cd438d2015-03-17 11:25:27 -040014
Jamie Madill9e76f562015-10-02 08:57:14 -040015 # Cherry is a dEQP management GUI written in Go. We use it for viewing test results.
Corentin Walleze76f55f2016-10-25 06:44:45 -040016 'third_party/cherry':
17 'https://android.googlesource.com/platform/external/cherry' + '@' + 'd2e26b4d864ec2a6757e7f1174e464949ca5bf73',
Jamie Madill9e76f562015-10-02 08:57:14 -040018
Corentin Walleze76f55f2016-10-25 06:44:45 -040019 'third_party/deqp/src':
20 'https://android.googlesource.com/platform/external/deqp' + '@' + 'f4f3d8079e7a37d7675ab93583e6438d0bca0e58',
Jamie Madill3cd438d2015-03-17 11:25:27 -040021
Corentin Walleze76f55f2016-10-25 06:44:45 -040022 'third_party/libpng':
23 'https://android.googlesource.com/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c',
Jamie Madill3cd438d2015-03-17 11:25:27 -040024
Corentin Walleze76f55f2016-10-25 06:44:45 -040025 'third_party/zlib':
26 Var('chromium_git') + '/chromium/src/third_party/zlib' + '@' + 'afd8c4593c010c045902f6c0501718f1823064a3',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040027
Corentin Walleze76f55f2016-10-25 06:44:45 -040028 'buildtools':
29 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa',
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000030}
31
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000032hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040033 # Pull clang-format binaries using checked-in hashes.
34 {
35 'name': 'clang_format_win',
36 'pattern': '.',
37 'action': [ 'download_from_google_storage',
38 '--no_resume',
39 '--platform=win32',
40 '--no_auth',
41 '--bucket', 'chromium-clang-format',
42 '-s', 'buildtools/win/clang-format.exe.sha1',
43 ],
44 },
45 {
46 'name': 'clang_format_mac',
47 'pattern': '.',
48 'action': [ 'download_from_google_storage',
49 '--no_resume',
50 '--platform=darwin',
51 '--no_auth',
52 '--bucket', 'chromium-clang-format',
53 '-s', 'buildtools/mac/clang-format.sha1',
54 ],
55 },
56 {
57 'name': 'clang_format_linux',
58 'pattern': '.',
59 'action': [ 'download_from_google_storage',
60 '--no_resume',
61 '--platform=linux*',
62 '--no_auth',
63 '--bucket', 'chromium-clang-format',
64 '-s', 'buildtools/linux64/clang-format.sha1',
65 ],
66 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050067 # Pull GN binaries using checked-in hashes.
68 {
69 'name': 'gn_win',
70 'pattern': '.',
71 'action': [ 'download_from_google_storage',
72 '--no_resume',
73 '--platform=win32',
74 '--no_auth',
75 '--bucket', 'chromium-gn',
76 '-s', 'buildtools/win/gn.exe.sha1',
77 ],
78 },
79 {
80 'name': 'gn_mac',
81 'pattern': '.',
82 'action': [ 'download_from_google_storage',
83 '--no_resume',
84 '--platform=darwin',
85 '--no_auth',
86 '--bucket', 'chromium-gn',
87 '-s', 'buildtools/mac/gn.sha1',
88 ],
89 },
90 {
91 'name': 'gn_linux64',
92 'pattern': '.',
93 'action': [ 'download_from_google_storage',
94 '--no_resume',
95 '--platform=linux*',
96 '--no_auth',
97 '--bucket', 'chromium-gn',
98 '-s', 'buildtools/linux64/gn.sha1',
99 ],
100 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000101 {
102 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400103 'pattern': '.',
104 'action': ['python', 'build/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000105 },
106]
Jamie Madill20789312016-10-28 14:05:26 -0400107
108recursedeps = [
109 # buildtools provides clang_format.
110 'buildtools',
111]