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', |
| 4 | } |
| 5 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 6 | deps = { |
alokp@chromium.org | 416fcd3 | 2012-04-11 16:23:44 +0000 | [diff] [blame] | 7 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 8 | 'build': |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 9 | Var('chromium_git') + '/chromium/src/build.git' + '@' + '8a1537f019e55807420ae76c62e4ce8f56fedca1', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 10 | |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 11 | 'buildtools': |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 12 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + '461b345a815c1c745ac0534a6a4bd52d123abe68', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 13 | |
| 14 | 'testing': |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 15 | Var('chromium_git') + '/chromium/src/testing' + '@' + '6dfa36ab2e5143fa2f7353e3af5d2935af2e61f7', |
alokp@chromium.org | 5cd9c60 | 2012-05-16 23:37:50 +0000 | [diff] [blame] | 16 | |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 17 | # Cherry is a dEQP management GUI written in Go. We use it for viewing test results. |
Corentin Wallez | e76f55f | 2016-10-25 06:44:45 -0400 | [diff] [blame] | 18 | 'third_party/cherry': |
Jamie Madill | 4d14693 | 2017-11-15 16:31:43 -0500 | [diff] [blame] | 19 | Var('android_git') + '/platform/external/cherry' + '@' + '4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc', |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 20 | |
Corentin Wallez | e76f55f | 2016-10-25 06:44:45 -0400 | [diff] [blame] | 21 | 'third_party/deqp/src': |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 22 | Var('android_git') + '/platform/external/deqp' + '@' + '455d82c60b096e7bd83b6a2f5ed70c61e4bfa759', |
| 23 | |
| 24 | 'third_party/glslang-angle/src': |
Jamie Madill | 9af765d | 2017-12-13 15:02:23 -0500 | [diff] [blame] | 25 | Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '2edde6665d9a56ead5ea0e55b4e64d9a803e6164', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 26 | |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 27 | 'third_party/googletest/src': |
Jamie Madill | 4d14693 | 2017-11-15 16:31:43 -0500 | [diff] [blame] | 28 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + 'd175c8bf823e709d570772b038757fadf63bc632', |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 29 | |
Frank Henigman | cc8e273 | 2017-10-16 22:42:29 -0400 | [diff] [blame] | 30 | 'third_party/libpng/src': |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 31 | Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c', |
| 32 | |
| 33 | 'third_party/spirv-headers/src': |
Jamie Madill | 9af765d | 2017-12-13 15:02:23 -0500 | [diff] [blame] | 34 | Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + '98b01515724c428d0f0a5d01deffcce0f5f5e61c', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 35 | |
| 36 | 'third_party/spirv-tools-angle/src': |
Jamie Madill | 9af765d | 2017-12-13 15:02:23 -0500 | [diff] [blame] | 37 | Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '9996173f363729b3a97309685dbd4d78547a63a7', |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 38 | |
| 39 | 'third_party/vulkan-validation-layers/src': |
Jamie Madill | 9af765d | 2017-12-13 15:02:23 -0500 | [diff] [blame] | 40 | Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + '3f948b98f9bca965fecca1fb5b60f8787e959464', |
Jamie Madill | 3cd438d | 2015-03-17 11:25:27 -0400 | [diff] [blame] | 41 | |
Corentin Wallez | e76f55f | 2016-10-25 06:44:45 -0400 | [diff] [blame] | 42 | 'third_party/zlib': |
Corentin Wallez | 50a8d0e | 2017-04-20 10:55:28 -0400 | [diff] [blame] | 43 | Var('chromium_git') + '/chromium/src/third_party/zlib' + '@' + '24ab14872e8e068ba08cc31cc3d43bcc6d5cb832', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 44 | |
| 45 | 'tools/clang': |
Jamie Madill | 4d14693 | 2017-11-15 16:31:43 -0500 | [diff] [blame] | 46 | Var('chromium_git') + '/chromium/src/tools/clang.git' + '@' + 'e70074db10b27867e6c873adc3ac7e5f9ee0ff6e', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 47 | |
| 48 | 'tools/gyp': |
Jamie Madill | 4d14693 | 2017-11-15 16:31:43 -0500 | [diff] [blame] | 49 | Var('chromium_git') + '/external/gyp' + '@' + '5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f', |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 50 | } |
| 51 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 52 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 53 | # Pull clang-format binaries using checked-in hashes. |
| 54 | { |
| 55 | 'name': 'clang_format_win', |
| 56 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 57 | 'condition': 'host_os == "win"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 58 | 'action': [ 'download_from_google_storage', |
| 59 | '--no_resume', |
| 60 | '--platform=win32', |
| 61 | '--no_auth', |
| 62 | '--bucket', 'chromium-clang-format', |
| 63 | '-s', 'buildtools/win/clang-format.exe.sha1', |
| 64 | ], |
| 65 | }, |
| 66 | { |
| 67 | 'name': 'clang_format_mac', |
| 68 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 69 | 'condition': 'host_os == "mac"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 70 | 'action': [ 'download_from_google_storage', |
| 71 | '--no_resume', |
| 72 | '--platform=darwin', |
| 73 | '--no_auth', |
| 74 | '--bucket', 'chromium-clang-format', |
| 75 | '-s', 'buildtools/mac/clang-format.sha1', |
| 76 | ], |
| 77 | }, |
| 78 | { |
| 79 | 'name': 'clang_format_linux', |
| 80 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 81 | 'condition': 'host_os == "linux"', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 82 | 'action': [ 'download_from_google_storage', |
| 83 | '--no_resume', |
| 84 | '--platform=linux*', |
| 85 | '--no_auth', |
| 86 | '--bucket', 'chromium-clang-format', |
| 87 | '-s', 'buildtools/linux64/clang-format.sha1', |
| 88 | ], |
| 89 | }, |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 90 | # Pull GN binaries using checked-in hashes. |
| 91 | { |
| 92 | 'name': 'gn_win', |
| 93 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 94 | 'condition': 'host_os == "win"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 95 | 'action': [ 'download_from_google_storage', |
| 96 | '--no_resume', |
| 97 | '--platform=win32', |
| 98 | '--no_auth', |
| 99 | '--bucket', 'chromium-gn', |
| 100 | '-s', 'buildtools/win/gn.exe.sha1', |
| 101 | ], |
| 102 | }, |
| 103 | { |
| 104 | 'name': 'gn_mac', |
| 105 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 106 | 'condition': 'host_os == "mac"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 107 | 'action': [ 'download_from_google_storage', |
| 108 | '--no_resume', |
| 109 | '--platform=darwin', |
| 110 | '--no_auth', |
| 111 | '--bucket', 'chromium-gn', |
| 112 | '-s', 'buildtools/mac/gn.sha1', |
| 113 | ], |
| 114 | }, |
| 115 | { |
| 116 | 'name': 'gn_linux64', |
| 117 | 'pattern': '.', |
Jamie Madill | 4f407ce | 2017-11-21 11:52:12 -0500 | [diff] [blame] | 118 | 'condition': 'host_os == "linux"', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 119 | 'action': [ 'download_from_google_storage', |
| 120 | '--no_resume', |
| 121 | '--platform=linux*', |
| 122 | '--no_auth', |
| 123 | '--bucket', 'chromium-gn', |
| 124 | '-s', 'buildtools/linux64/gn.sha1', |
| 125 | ], |
| 126 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 127 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 128 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 129 | 'name': 'clang', |
| 130 | 'pattern': '.', |
| 131 | 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'], |
| 132 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 133 | |
| 134 | # Pull rc binaries using checked-in hashes. |
| 135 | { |
| 136 | 'name': 'rc_win', |
| 137 | 'pattern': '.', |
| 138 | 'condition': 'checkout_win and host_os == "win"', |
| 139 | 'action': [ 'download_from_google_storage', |
| 140 | '--no_resume', |
| 141 | '--no_auth', |
| 142 | '--bucket', 'chromium-browser-clang/rc', |
| 143 | '-s', 'build/toolchain/win/rc/win/rc.exe.sha1', |
| 144 | ], |
| 145 | }, |
| 146 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 147 | { |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 148 | # 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] | 149 | 'pattern': '.', |
Corentin Wallez | 7f07caa | 2016-10-25 07:43:33 -0400 | [diff] [blame] | 150 | 'action': ['python', 'gyp/gyp_angle'], |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 151 | }, |
| 152 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 153 | |
| 154 | recursedeps = [ |
| 155 | # buildtools provides clang_format. |
| 156 | 'buildtools', |
| 157 | ] |