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 | 138cf5e | 2017-10-23 22:52:12 -0400 | [diff] [blame] | 9 | Var('chromium_git') + '/chromium/src/build.git' + '@' + 'f2dd2d1ca74ded8339c6fd458dc9de9d98059f9e', |
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': |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 12 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'e043d81e9185a2445fa3ec3fc34a4f69b58d4969', |
| 13 | |
| 14 | 'testing': |
| 15 | Var('chromium_git') + '/chromium/src/testing' + '@' + 'd57c35d68320b906c43ad3f0ea5d84da3d06f45d', |
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 | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 19 | Var('android_git') + '/platform/external/cherry' + '@' + 'd2e26b4d864ec2a6757e7f1174e464949ca5bf73', |
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': |
| 25 | Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '1e275c8486325aaab34734ad9a650c0121c5efdb', |
| 26 | |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 27 | 'third_party/googletest/src': |
| 28 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b', |
| 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': |
| 34 | Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + 'c470b68225a04965bf87d35e143ae92f831e8110', |
| 35 | |
| 36 | 'third_party/spirv-tools-angle/src': |
| 37 | Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '68c5f0436f1d4f1f137e608780190865d0b193ca', |
| 38 | |
| 39 | 'third_party/vulkan-validation-layers/src': |
Jamie Madill | 4063e20 | 2017-03-23 11:38:22 -0400 | [diff] [blame] | 40 | Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + 'f47c534fee2f26f6b783209d56e0ade48e30eb8d', |
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': |
| 46 | Var('chromium_git') + '/chromium/src/tools/clang.git' + '@' + 'dce401419c4281e2aad72a9bafb885a9fb9aec59', |
| 47 | |
| 48 | 'tools/gyp': |
| 49 | Var('chromium_git') + '/external/gyp' + '@' + 'c6f471687407bf28ddfc63f1a8f47aeb7bf54edc', |
| 50 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 51 | } |
| 52 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 53 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 54 | # Pull clang-format binaries using checked-in hashes. |
| 55 | { |
| 56 | 'name': 'clang_format_win', |
| 57 | 'pattern': '.', |
| 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': '.', |
| 69 | 'action': [ 'download_from_google_storage', |
| 70 | '--no_resume', |
| 71 | '--platform=darwin', |
| 72 | '--no_auth', |
| 73 | '--bucket', 'chromium-clang-format', |
| 74 | '-s', 'buildtools/mac/clang-format.sha1', |
| 75 | ], |
| 76 | }, |
| 77 | { |
| 78 | 'name': 'clang_format_linux', |
| 79 | 'pattern': '.', |
| 80 | 'action': [ 'download_from_google_storage', |
| 81 | '--no_resume', |
| 82 | '--platform=linux*', |
| 83 | '--no_auth', |
| 84 | '--bucket', 'chromium-clang-format', |
| 85 | '-s', 'buildtools/linux64/clang-format.sha1', |
| 86 | ], |
| 87 | }, |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 88 | # Pull GN binaries using checked-in hashes. |
| 89 | { |
| 90 | 'name': 'gn_win', |
| 91 | 'pattern': '.', |
| 92 | 'action': [ 'download_from_google_storage', |
| 93 | '--no_resume', |
| 94 | '--platform=win32', |
| 95 | '--no_auth', |
| 96 | '--bucket', 'chromium-gn', |
| 97 | '-s', 'buildtools/win/gn.exe.sha1', |
| 98 | ], |
| 99 | }, |
| 100 | { |
| 101 | 'name': 'gn_mac', |
| 102 | 'pattern': '.', |
| 103 | 'action': [ 'download_from_google_storage', |
| 104 | '--no_resume', |
| 105 | '--platform=darwin', |
| 106 | '--no_auth', |
| 107 | '--bucket', 'chromium-gn', |
| 108 | '-s', 'buildtools/mac/gn.sha1', |
| 109 | ], |
| 110 | }, |
| 111 | { |
| 112 | 'name': 'gn_linux64', |
| 113 | 'pattern': '.', |
| 114 | 'action': [ 'download_from_google_storage', |
| 115 | '--no_resume', |
| 116 | '--platform=linux*', |
| 117 | '--no_auth', |
| 118 | '--bucket', 'chromium-gn', |
| 119 | '-s', 'buildtools/linux64/gn.sha1', |
| 120 | ], |
| 121 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 122 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 123 | # Pull clang if needed or requested via GYP_DEFINES. |
| 124 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 125 | 'name': 'clang', |
| 126 | 'pattern': '.', |
| 127 | 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'], |
| 128 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame^] | 129 | |
| 130 | # Pull rc binaries using checked-in hashes. |
| 131 | { |
| 132 | 'name': 'rc_win', |
| 133 | 'pattern': '.', |
| 134 | 'condition': 'checkout_win and host_os == "win"', |
| 135 | 'action': [ 'download_from_google_storage', |
| 136 | '--no_resume', |
| 137 | '--no_auth', |
| 138 | '--bucket', 'chromium-browser-clang/rc', |
| 139 | '-s', 'build/toolchain/win/rc/win/rc.exe.sha1', |
| 140 | ], |
| 141 | }, |
| 142 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 143 | { |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 144 | # 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] | 145 | 'pattern': '.', |
Corentin Wallez | 7f07caa | 2016-10-25 07:43:33 -0400 | [diff] [blame] | 146 | 'action': ['python', 'gyp/gyp_angle'], |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 147 | }, |
| 148 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 149 | |
| 150 | recursedeps = [ |
| 151 | # buildtools provides clang_format. |
| 152 | 'buildtools', |
| 153 | ] |