Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 1 | vars = { |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 2 | 'android_git': 'https://android.googlesource.com', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 3 | 'chromium_git': 'https://chromium.googlesource.com', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 4 | |
| 5 | # This variable is set on the Chrome infra for compatiblity with gclient. |
| 6 | 'root': '.', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 7 | } |
| 8 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 9 | deps = { |
alokp@chromium.org | 416fcd3 | 2012-04-11 16:23:44 +0000 | [diff] [blame] | 10 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 11 | '{root}/build': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 12 | '{chromium_git}/chromium/src/build.git@b944b99e72923c5a6699235ed858e725db21f81f', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 13 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 14 | '{root}/buildtools': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 15 | '{chromium_git}/chromium/buildtools.git@94288c26d2ffe3aec9848c147839afee597acefd', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 16 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 17 | '{root}/testing': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 18 | '{chromium_git}/chromium/src/testing@4d706fd80be9e8989aec5235540e7b46d0672826', |
alokp@chromium.org | 5cd9c60 | 2012-05-16 23:37:50 +0000 | [diff] [blame] | 19 | |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 20 | # Cherry is a dEQP management GUI written in Go. We use it for viewing test results. |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 21 | '{root}/third_party/cherry': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 22 | '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc', |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 23 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 24 | '{root}/third_party/deqp/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 25 | '{android_git}/platform/external/deqp@5bc346ba2d5465a2e6094e254f12b1586fd0097f', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 26 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 27 | '{root}/third_party/glslang/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 28 | '{android_git}/platform/external/shaderc/glslang@2edde6665d9a56ead5ea0e55b4e64d9a803e6164', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 29 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 30 | '{root}/third_party/googletest/src': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 31 | '{chromium_git}/external/github.com/google/googletest.git@145d05750b15324899473340c8dd5af50d125d33', |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 32 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 33 | '{root}/third_party/libpng/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 34 | '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 35 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 36 | '{root}/third_party/spirv-headers/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 37 | '{android_git}/platform/external/shaderc/spirv-headers@98b01515724c428d0f0a5d01deffcce0f5f5e61c', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 38 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 39 | '{root}/third_party/spirv-tools/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 40 | '{android_git}/platform/external/shaderc/spirv-tools@9996173f363729b3a97309685dbd4d78547a63a7', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 41 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 42 | '{root}/third_party/vulkan-validation-layers/src': |
Jamie Madill | f3135da | 2018-04-25 08:04:39 -0400 | [diff] [blame] | 43 | '{android_git}/platform/external/vulkan-validation-layers@88e43c8f9a750839a5d6d3f90098505bad3a98a1', |
Jamie Madill | 3cd438d | 2015-03-17 11:25:27 -0400 | [diff] [blame] | 44 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 45 | '{root}/third_party/zlib': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 46 | '{chromium_git}/chromium/src/third_party/zlib@da0819d6c816a61be6fcb2fcf9b74246f0f8b808', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 47 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 48 | '{root}/tools/clang': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 49 | '{chromium_git}/chromium/src/tools/clang.git@c893c7eec4706f8c7fc244ee254b1dadd8f8d158', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 50 | |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 51 | '{root}/tools/gyp': |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 52 | '{chromium_git}/external/gyp@4d467626b0b9f59a85fb81ca4d7ea9eca99b9d8f', |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 53 | } |
| 54 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 55 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 56 | # Pull clang-format binaries using checked-in hashes. |
| 57 | { |
| 58 | 'name': 'clang_format_win', |
| 59 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 60 | 'condition': 'host_os == "win"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 61 | 'action': [ 'download_from_google_storage', |
| 62 | '--no_resume', |
| 63 | '--platform=win32', |
| 64 | '--no_auth', |
| 65 | '--bucket', 'chromium-clang-format', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 66 | '-s', '{root}/buildtools/win/clang-format.exe.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 67 | ], |
| 68 | }, |
| 69 | { |
| 70 | 'name': 'clang_format_mac', |
| 71 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 72 | 'condition': 'host_os == "mac"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 73 | 'action': [ 'download_from_google_storage', |
| 74 | '--no_resume', |
| 75 | '--platform=darwin', |
| 76 | '--no_auth', |
| 77 | '--bucket', 'chromium-clang-format', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 78 | '-s', '{root}/buildtools/mac/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 79 | ], |
| 80 | }, |
| 81 | { |
| 82 | 'name': 'clang_format_linux', |
| 83 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 84 | 'condition': 'host_os == "linux"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 85 | 'action': [ 'download_from_google_storage', |
| 86 | '--no_resume', |
| 87 | '--platform=linux*', |
| 88 | '--no_auth', |
| 89 | '--bucket', 'chromium-clang-format', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 90 | '-s', '{root}/buildtools/linux64/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 91 | ], |
| 92 | }, |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 93 | # Pull GN binaries using checked-in hashes. |
| 94 | { |
| 95 | 'name': 'gn_win', |
| 96 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 97 | 'condition': 'host_os == "win"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 98 | 'action': [ 'download_from_google_storage', |
| 99 | '--no_resume', |
| 100 | '--platform=win32', |
| 101 | '--no_auth', |
| 102 | '--bucket', 'chromium-gn', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 103 | '-s', '{root}/buildtools/win/gn.exe.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 104 | ], |
| 105 | }, |
| 106 | { |
| 107 | 'name': 'gn_mac', |
| 108 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 109 | 'condition': 'host_os == "mac"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 110 | 'action': [ 'download_from_google_storage', |
| 111 | '--no_resume', |
| 112 | '--platform=darwin', |
| 113 | '--no_auth', |
| 114 | '--bucket', 'chromium-gn', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 115 | '-s', '{root}/buildtools/mac/gn.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 116 | ], |
| 117 | }, |
| 118 | { |
| 119 | 'name': 'gn_linux64', |
| 120 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 121 | 'condition': 'host_os == "linux"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 122 | 'action': [ 'download_from_google_storage', |
| 123 | '--no_resume', |
| 124 | '--platform=linux*', |
| 125 | '--no_auth', |
| 126 | '--bucket', 'chromium-gn', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 127 | '-s', '{root}/buildtools/linux64/gn.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 128 | ], |
| 129 | }, |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame^] | 130 | { |
| 131 | 'name': 'sysroot_x86', |
| 132 | 'pattern': '.', |
| 133 | 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', |
| 134 | 'action': ['python', '{root}/build/linux/sysroot_scripts/install-sysroot.py', |
| 135 | '--arch=x86'], |
| 136 | }, |
| 137 | { |
| 138 | 'name': 'sysroot_x64', |
| 139 | 'pattern': '.', |
| 140 | 'condition': 'checkout_linux and checkout_x64', |
| 141 | 'action': ['python', '{root}/build/linux/sysroot_scripts/install-sysroot.py', |
| 142 | '--arch=x64'], |
| 143 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 144 | { |
| 145 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 146 | 'name': 'win_toolchain', |
| 147 | 'pattern': '.', |
| 148 | 'condition': 'checkout_win', |
| 149 | 'action': ['python', '{root}/build/vs_toolchain.py', 'update', '--force'], |
| 150 | }, |
| 151 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 152 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 153 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 154 | 'name': 'clang', |
| 155 | 'pattern': '.', |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 156 | 'action': ['python', '{root}/tools/clang/scripts/update.py'], |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 157 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 158 | |
| 159 | # Pull rc binaries using checked-in hashes. |
| 160 | { |
| 161 | 'name': 'rc_win', |
| 162 | 'pattern': '.', |
| 163 | 'condition': 'checkout_win and host_os == "win"', |
| 164 | 'action': [ 'download_from_google_storage', |
| 165 | '--no_resume', |
| 166 | '--no_auth', |
| 167 | '--bucket', 'chromium-browser-clang/rc', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 168 | '-s', '{root}/build/toolchain/win/rc/win/rc.exe.sha1', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 169 | ], |
| 170 | }, |
| 171 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 172 | { |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 173 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
Corentin Wallez | e76f55f | 2016-10-25 06:44:45 -0400 | [diff] [blame] | 174 | 'pattern': '.', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 175 | 'action': ['python', '{root}/gyp/gyp_angle'], |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 176 | }, |
| 177 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 178 | |
| 179 | recursedeps = [ |
| 180 | # buildtools provides clang_format. |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 181 | '{root}/buildtools', |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 182 | ] |