kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 1 | # This file contains dependencies for WebRTC. |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 | [diff] [blame] | 2 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 3 | vars = { |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 4 | 'chromium_git': 'https://chromium.googlesource.com', |
buildbot | 33985e1 | 2017-01-02 20:07:31 | [diff] [blame] | 5 | 'chromium_revision': '61be4cf0015eb2c0fb50cd58de61939423eab618', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 6 | 'boringssl_git': 'https://boringssl.googlesource.com', |
| 7 | # Three lines of non-changing comments so that |
| 8 | # the commit queue can handle CLs rolling swarming_client |
| 9 | # and whatever else without interference from each other. |
| 10 | 'swarming_revision': 'ebc8dab6f8b8d79ec221c94de39a921145abd404', |
| 11 | # Three lines of non-changing comments so that |
| 12 | # the commit queue can handle CLs rolling openmax_dl |
| 13 | # and whatever else without interference from each other. |
| 14 | 'openmax_dl_revision': '7acede9c039ea5d14cf326f44aad1245b9e674a7', |
| 15 | # Three lines of non-changing comments so that |
| 16 | # the commit queue can handle CLs rolling BoringSSL |
| 17 | # and whatever else without interference from each other. |
buildbot | f2e540d | 2016-12-29 19:44:51 | [diff] [blame] | 18 | 'boringssl_revision': 'a81967b47c5eba78aedccd2bc3cb3fb95fe80bd0', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 19 | # Three lines of non-changing comments so that |
| 20 | # the commit queue can handle CLs rolling nss |
| 21 | # and whatever else without interference from each other. |
| 22 | 'nss_revision': 'db89506ac363956b4b253db881219eb5d6246781', |
| 23 | # Three lines of non-changing comments so that |
| 24 | # the commit queue can handle CLs rolling lss |
| 25 | # and whatever else without interference from each other. |
| 26 | 'lss_revision': '3f6478ac95edf86cd3da300c2c0d34a438f5dbeb', |
| 27 | # Three lines of non-changing comments so that |
| 28 | # the commit queue can handle CLs rolling catapult |
| 29 | # and whatever else without interference from each other. |
buildbot | 80f49c3 | 2016-12-29 22:38:19 | [diff] [blame] | 30 | 'catapult_revision': '9ddf24882ea3083cf0f9d02df57318baf035f75c', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 31 | # Three lines of non-changing comments so that |
| 32 | # the commit queue can handle CLs rolling libFuzzer |
| 33 | # and whatever else without interference from each other. |
| 34 | 'libfuzzer_revision': '2d19afdbadb1f20d4254f8a5447fceb30f616157', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 35 | } |
| 36 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 37 | deps = { |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 38 | # TODO(kjellander): Move this to be Android-only once the libevent dependency |
| 39 | # in base/third_party/libevent is solved. |
| 40 | 'src/base': |
buildbot | a7fae08 | 2016-12-30 10:47:40 | [diff] [blame] | 41 | Var('chromium_git') + '/chromium/src/base' + '@' + '0a830d49ce78f7cd51082d10fdecafcc3eee0490', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 42 | 'src/build': |
buildbot | 42701c6 | 2016-12-24 22:45:14 | [diff] [blame] | 43 | Var('chromium_git') + '/chromium/src/build' + '@' + 'bdc04ca095549fc9f1e27210d8e36c58a7b40600', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 44 | 'src/buildtools': |
| 45 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + '0ef801087682b271e9ace93cfa93e9d3dea98079', |
| 46 | 'src/testing': |
buildbot | a7fae08 | 2016-12-30 10:47:40 | [diff] [blame] | 47 | Var('chromium_git') + '/chromium/src/testing' + '@' + '54b5e1ed5588d9a39013fffdfad9071b11dd7db8', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 48 | 'src/testing/gtest': |
| 49 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87', |
| 50 | 'src/testing/gmock': |
| 51 | Var('chromium_git') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', # from svn revision 566 |
| 52 | 'src/third_party': |
buildbot | 33985e1 | 2017-01-02 20:07:31 | [diff] [blame] | 53 | Var('chromium_git') + '/chromium/src/third_party' + '@' + '47ac2747eee208ef6ec1c9c43eabbab61ecd7e8c', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 54 | 'src/third_party/boringssl/src': |
| 55 | Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'), |
| 56 | 'src/third_party/catapult': |
| 57 | Var('chromium_git') + '/external/github.com/catapult-project/catapult.git' + '@' + Var('catapult_revision'), |
| 58 | 'src/third_party/colorama/src': |
| 59 | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
| 60 | 'src/third_party/ffmpeg': |
| 61 | Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'f309edd7828e3ea500c2891187d15926690ddd27', |
| 62 | 'src/third_party/jsoncpp/source': |
| 63 | Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248 |
| 64 | |
| 65 | # Used for building libFuzzers (only supports Linux). |
| 66 | 'src/third_party/libFuzzer/src': |
| 67 | Var('chromium_git') + '/chromium/llvm-project/llvm/lib/Fuzzer.git' + '@' + Var('libfuzzer_revision'), |
| 68 | |
| 69 | 'src/third_party/libjpeg_turbo': |
| 70 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '7260e4d8b8e1e40b17f03fafdf1cd83296900f76', |
| 71 | 'src/third_party/libsrtp': |
| 72 | Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '0e0936f3013fe5884eac82f95e370c8d460a179f', |
| 73 | 'src/third_party/libvpx/source/libvpx': |
| 74 | Var('chromium_git') + '/webm/libvpx.git' + '@' + 'd1eca240fb04fae3039ac28510ba0992eb03248d', |
| 75 | 'src/third_party/libyuv': |
| 76 | Var('chromium_git') + '/libyuv/libyuv.git' + '@' + 'b18fd21d3c27fce69b5c1ed44b89131dedc87284', |
| 77 | 'src/third_party/nss': |
| 78 | Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'), |
| 79 | 'src/third_party/openh264/src': |
| 80 | Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '0fd88df93c5dcaf858c57eb7892bd27763f0f0ac', |
| 81 | 'src/third_party/openmax_dl': |
| 82 | Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'), |
| 83 | 'src/third_party/usrsctp/usrsctplib': |
| 84 | Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '7f9228152ab3d70e6848cc9c67389a0d4218740e', |
| 85 | 'src/third_party/yasm/source/patched-yasm': |
| 86 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '7da28c6c7c6a1387217352ce02b31754deb54d2a', |
| 87 | 'src/tools': |
buildbot | 33985e1 | 2017-01-02 20:07:31 | [diff] [blame] | 88 | Var('chromium_git') + '/chromium/src/tools' + '@' + '3197fa64d34cb003d2f85cfd78cf2934fab2e651', |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 89 | 'src/tools/gyp': |
| 90 | Var('chromium_git') + '/external/gyp.git' + '@' + 'e7079f0e0e14108ab0dba58728ff219637458563', |
| 91 | 'src/tools/swarming_client': |
| 92 | Var('chromium_git') + '/external/swarming.client.git' + '@' + Var('swarming_revision'), |
| 93 | |
| 94 | # WebRTC-only dependencies (not present in Chromium). |
kjellander | 0012d18 | 2016-12-20 09:36:35 | [diff] [blame] | 95 | 'src/third_party/gflags': |
| 96 | Var('chromium_git') + '/external/webrtc/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 97 | 'src/third_party/gflags/src': |
kjellander | 0012d18 | 2016-12-20 09:36:35 | [diff] [blame] | 98 | Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca', |
| 99 | 'src/third_party/gtest-parallel': |
| 100 | Var('chromium_git') + '/external/webrtc/deps/third_party/gtest-parallel' + '@' + '8768563f5c580f8fc416a13c35c8f23b8a602821', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 101 | } |
| 102 | |
| 103 | deps_os = { |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 104 | 'android': { |
| 105 | 'src/third_party/android_tools': |
| 106 | Var('chromium_git') + '/android_tools.git' + '@' + 'b43a6a289a7588b1769814f04dd6c7d7176974cc', |
| 107 | 'src/third_party/ced/src': |
| 108 | Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + 'e57cdc44bd541d10669312a6fdc59fc4bf52d2b9', |
| 109 | 'src/third_party/icu': |
| 110 | Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '9cd2828740572ba6f694b9365236a8356fd06147', |
| 111 | 'src/third_party/jsr-305/src': |
| 112 | Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| 113 | 'src/third_party/junit/src': |
| 114 | Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481', |
| 115 | 'src/third_party/lss': |
| 116 | Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), |
| 117 | 'src/third_party/mockito/src': |
| 118 | Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850', |
| 119 | 'src/third_party/requests/src': |
| 120 | Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
| 121 | 'src/third_party/robolectric/robolectric': |
| 122 | Var('chromium_git') + '/external/robolectric.git' + '@' + 'e38b49a12fdfa17a94f0382cc8ffaf69132fd09b', |
| 123 | 'src/third_party/ub-uiautomator/lib': |
| 124 | Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434', |
| 125 | }, |
| 126 | 'unix': { |
| 127 | 'src/third_party/lss': |
| 128 | Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), |
| 129 | }, |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 130 | 'win': { |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 131 | # Dependencies used by libjpeg-turbo |
| 132 | 'src/third_party/yasm/binaries': |
| 133 | Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881', |
| 134 | |
| 135 | # WebRTC-only dependency (not present in Chromium). |
kjellander | 0012d18 | 2016-12-20 09:36:35 | [diff] [blame] | 136 | 'src/third_party/winsdk_samples': |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 137 | Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71' + '@' + '6e4f93cc0c2f597547449cbaa80a6af629215a63', |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 | [diff] [blame] | 138 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 139 | } |
| 140 | |
| 141 | hooks = [ |
| 142 | { |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 | [diff] [blame] | 143 | # Check for legacy named top-level dir (named 'trunk'). |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 144 | 'name': 'check_root_dir_name', |
| 145 | 'pattern': '.', |
| 146 | 'action': ['python','-c', |
| 147 | ('import os,sys;' |
| 148 | 'script = os.path.join("trunk","check_root_dir.py");' |
| 149 | '_ = os.system("%s %s" % (sys.executable,script)) ' |
| 150 | 'if os.path.exists(script) else 0')], |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 | [diff] [blame] | 151 | }, |
| 152 | { |
Henrik Kjellander | 27576e0 | 2015-10-15 12:24:09 | [diff] [blame] | 153 | # This clobbers when necessary (based on get_landmines.py). It should be |
| 154 | # an early hook but it will need to be run after syncing Chromium and |
| 155 | # setting up the links, so the script actually exists. |
| 156 | 'name': 'landmines', |
| 157 | 'pattern': '.', |
| 158 | 'action': [ |
| 159 | 'python', |
| 160 | 'src/build/landmines.py', |
| 161 | '--landmine-scripts', |
| 162 | 'src/webrtc/build/get_landmines.py', |
| 163 | '--src-dir', |
| 164 | 'src', |
| 165 | ], |
| 166 | }, |
kjellander | 24d812d | 2016-11-22 15:02:11 | [diff] [blame] | 167 | # Android dependencies. Many are downloaded using Google Storage these days. |
| 168 | # They're copied from https://cs.chromium.org/chromium/src/DEPS for all |
| 169 | # such dependencies we share with Chromium. |
| 170 | { |
kjellander@webrtc.org | 177567c | 2016-12-22 09:40:28 | [diff] [blame] | 171 | # This downloads SDK extras and puts them in the |
| 172 | # third_party/android_tools/sdk/extras directory. |
| 173 | 'name': 'sdkextras', |
| 174 | 'pattern': '.', |
| 175 | # When adding a new sdk extras package to download, add the package |
| 176 | # directory and zip file to .gitignore in third_party/android_tools. |
| 177 | 'action': ['python', |
| 178 | 'src/build/android/play_services/update.py', |
| 179 | 'download' |
| 180 | ], |
| 181 | }, |
| 182 | { |
kjellander | 24d812d | 2016-11-22 15:02:11 | [diff] [blame] | 183 | 'name': 'intellij', |
| 184 | 'pattern': '.', |
| 185 | 'action': ['python', |
| 186 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 187 | 'download', |
| 188 | '-b', 'chromium-intellij', |
| 189 | '-l', 'third_party/intellij' |
| 190 | ], |
| 191 | }, |
| 192 | { |
| 193 | 'name': 'javax_inject', |
| 194 | 'pattern': '.', |
| 195 | 'action': ['python', |
| 196 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 197 | 'download', |
| 198 | '-b', 'chromium-javax-inject', |
| 199 | '-l', 'third_party/javax_inject' |
| 200 | ], |
| 201 | }, |
| 202 | { |
| 203 | 'name': 'hamcrest', |
| 204 | 'pattern': '.', |
| 205 | 'action': ['python', |
| 206 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 207 | 'download', |
| 208 | '-b', 'chromium-hamcrest', |
| 209 | '-l', 'third_party/hamcrest' |
| 210 | ], |
| 211 | }, |
| 212 | { |
| 213 | 'name': 'guava', |
| 214 | 'pattern': '.', |
| 215 | 'action': ['python', |
| 216 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 217 | 'download', |
| 218 | '-b', 'chromium-guava', |
| 219 | '-l', 'third_party/guava' |
| 220 | ], |
| 221 | }, |
| 222 | { |
| 223 | 'name': 'android_support_test_runner', |
| 224 | 'pattern': '.', |
| 225 | 'action': ['python', |
| 226 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 227 | 'download', |
| 228 | '-b', 'chromium-android-support-test-runner', |
| 229 | '-l', 'third_party/android_support_test_runner' |
| 230 | ], |
| 231 | }, |
| 232 | { |
| 233 | 'name': 'byte_buddy', |
| 234 | 'pattern': '.', |
| 235 | 'action': ['python', |
| 236 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 237 | 'download', |
| 238 | '-b', 'chromium-byte-buddy', |
| 239 | '-l', 'third_party/byte_buddy' |
| 240 | ], |
| 241 | }, |
| 242 | { |
| 243 | 'name': 'espresso', |
| 244 | 'pattern': '.', |
| 245 | 'action': ['python', |
| 246 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 247 | 'download', |
| 248 | '-b', 'chromium-espresso', |
| 249 | '-l', 'third_party/espresso' |
| 250 | ], |
| 251 | }, |
| 252 | { |
| 253 | 'name': 'robolectric_libs', |
| 254 | 'pattern': '.', |
| 255 | 'action': ['python', |
| 256 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 257 | 'download', |
| 258 | '-b', 'chromium-robolectric', |
| 259 | '-l', 'third_party/robolectric' |
| 260 | ], |
| 261 | }, |
| 262 | { |
| 263 | 'name': 'apache_velocity', |
| 264 | 'pattern': '.', |
| 265 | 'action': ['python', |
| 266 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 267 | 'download', |
| 268 | '-b', 'chromium-apache-velocity', |
| 269 | '-l', 'third_party/apache_velocity' |
| 270 | ], |
| 271 | }, |
| 272 | { |
| 273 | 'name': 'ow2_asm', |
| 274 | 'pattern': '.', |
| 275 | 'action': ['python', |
| 276 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 277 | 'download', |
| 278 | '-b', 'chromium-ow2-asm', |
| 279 | '-l', 'third_party/ow2_asm' |
| 280 | ], |
| 281 | }, |
| 282 | { |
| 283 | 'name': 'icu4j', |
| 284 | 'pattern': '.', |
| 285 | 'action': ['python', |
| 286 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 287 | 'download', |
| 288 | '-b', 'chromium-icu4j', |
| 289 | '-l', 'third_party/icu4j' |
| 290 | ], |
| 291 | }, |
| 292 | { |
| 293 | 'name': 'accessibility_test_framework', |
| 294 | 'pattern': '.', |
| 295 | 'action': ['python', |
| 296 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 297 | 'download', |
| 298 | '-b', 'chromium-accessibility-test-framework', |
| 299 | '-l', 'third_party/accessibility_test_framework' |
| 300 | ], |
| 301 | }, |
| 302 | { |
| 303 | 'name': 'bouncycastle', |
| 304 | 'pattern': '.', |
| 305 | 'action': ['python', |
| 306 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 307 | 'download', |
| 308 | '-b', 'chromium-bouncycastle', |
| 309 | '-l', 'third_party/bouncycastle' |
| 310 | ], |
| 311 | }, |
| 312 | { |
| 313 | 'name': 'sqlite4java', |
| 314 | 'pattern': '.', |
| 315 | 'action': ['python', |
| 316 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 317 | 'download', |
| 318 | '-b', 'chromium-sqlite4java', |
| 319 | '-l', 'third_party/sqlite4java' |
| 320 | ], |
| 321 | }, |
| 322 | { |
| 323 | 'name': 'objenesis', |
| 324 | 'pattern': '.', |
| 325 | 'action': ['python', |
| 326 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 327 | 'download', |
| 328 | '-b', 'chromium-objenesis', |
| 329 | '-l', 'third_party/objenesis' |
| 330 | ], |
| 331 | }, |
| 332 | { |
| 333 | # Downloads the current stable linux sysroot to build/linux/ if needed. |
| 334 | # This sysroot updates at about the same rate that the chrome build deps |
| 335 | # change. This script is a no-op except for linux users who are doing |
| 336 | # official chrome builds or cross compiling. |
| 337 | 'name': 'sysroot', |
| 338 | 'pattern': '.', |
| 339 | 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', |
| 340 | '--running-as-hook'], |
| 341 | }, |
| 342 | { |
| 343 | # Update the Windows toolchain if necessary. |
| 344 | 'name': 'win_toolchain', |
| 345 | 'pattern': '.', |
| 346 | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| 347 | }, |
| 348 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 349 | # debugging when used with clang on Ubuntu Precise. |
| 350 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 351 | { |
| 352 | 'name': 'binutils', |
| 353 | 'pattern': 'src/third_party/binutils', |
| 354 | 'action': [ |
| 355 | 'python', |
| 356 | 'src/third_party/binutils/download.py', |
| 357 | ], |
| 358 | }, |
| 359 | { |
| 360 | # Pull clang if needed or requested via GYP_DEFINES. |
| 361 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 362 | 'name': 'clang', |
| 363 | 'pattern': '.', |
| 364 | 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
| 365 | }, |
ehmaldonado | 293bc2a | 2016-11-25 12:58:47 | [diff] [blame] | 366 | { |
| 367 | # Update LASTCHANGE. |
| 368 | 'name': 'lastchange', |
| 369 | 'pattern': '.', |
| 370 | 'action': ['python', 'src/build/util/lastchange.py', |
| 371 | '-o', 'src/build/util/LASTCHANGE'], |
| 372 | }, |
kjellander | 24d812d | 2016-11-22 15:02:11 | [diff] [blame] | 373 | # Pull GN binaries. |
| 374 | { |
| 375 | 'name': 'gn_win', |
| 376 | 'pattern': '.', |
| 377 | 'action': [ 'download_from_google_storage', |
| 378 | '--no_resume', |
| 379 | '--platform=win32', |
| 380 | '--no_auth', |
| 381 | '--bucket', 'chromium-gn', |
| 382 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 383 | ], |
| 384 | }, |
| 385 | { |
| 386 | 'name': 'gn_mac', |
| 387 | 'pattern': '.', |
| 388 | 'action': [ 'download_from_google_storage', |
| 389 | '--no_resume', |
| 390 | '--platform=darwin', |
| 391 | '--no_auth', |
| 392 | '--bucket', 'chromium-gn', |
| 393 | '-s', 'src/buildtools/mac/gn.sha1', |
| 394 | ], |
| 395 | }, |
| 396 | { |
| 397 | 'name': 'gn_linux64', |
| 398 | 'pattern': '.', |
| 399 | 'action': [ 'download_from_google_storage', |
| 400 | '--no_resume', |
| 401 | '--platform=linux*', |
| 402 | '--no_auth', |
| 403 | '--bucket', 'chromium-gn', |
| 404 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 405 | ], |
| 406 | }, |
| 407 | # Pull clang-format binaries using checked-in hashes. |
| 408 | { |
| 409 | 'name': 'clang_format_win', |
| 410 | 'pattern': '.', |
| 411 | 'action': [ 'download_from_google_storage', |
| 412 | '--no_resume', |
| 413 | '--platform=win32', |
| 414 | '--no_auth', |
| 415 | '--bucket', 'chromium-clang-format', |
| 416 | '-s', 'src/buildtools/win/clang-format.exe.sha1', |
| 417 | ], |
| 418 | }, |
| 419 | { |
| 420 | 'name': 'clang_format_mac', |
| 421 | 'pattern': '.', |
| 422 | 'action': [ 'download_from_google_storage', |
| 423 | '--no_resume', |
| 424 | '--platform=darwin', |
| 425 | '--no_auth', |
| 426 | '--bucket', 'chromium-clang-format', |
| 427 | '-s', 'src/buildtools/mac/clang-format.sha1', |
| 428 | ], |
| 429 | }, |
| 430 | { |
| 431 | 'name': 'clang_format_linux', |
| 432 | 'pattern': '.', |
| 433 | 'action': [ 'download_from_google_storage', |
| 434 | '--no_resume', |
| 435 | '--platform=linux*', |
| 436 | '--no_auth', |
| 437 | '--bucket', 'chromium-clang-format', |
| 438 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 439 | ], |
| 440 | }, |
| 441 | # Pull luci-go binaries (isolate, swarming) using checked-in hashes. |
| 442 | { |
| 443 | 'name': 'luci-go_win', |
| 444 | 'pattern': '.', |
| 445 | 'action': [ 'download_from_google_storage', |
| 446 | '--no_resume', |
| 447 | '--platform=win32', |
| 448 | '--no_auth', |
| 449 | '--bucket', 'chromium-luci', |
| 450 | '-d', 'src/tools/luci-go/win64', |
| 451 | ], |
| 452 | }, |
| 453 | { |
| 454 | 'name': 'luci-go_mac', |
| 455 | 'pattern': '.', |
| 456 | 'action': [ 'download_from_google_storage', |
| 457 | '--no_resume', |
| 458 | '--platform=darwin', |
| 459 | '--no_auth', |
| 460 | '--bucket', 'chromium-luci', |
| 461 | '-d', 'src/tools/luci-go/mac64', |
| 462 | ], |
| 463 | }, |
| 464 | { |
| 465 | 'name': 'luci-go_linux', |
| 466 | 'pattern': '.', |
| 467 | 'action': [ 'download_from_google_storage', |
| 468 | '--no_resume', |
| 469 | '--platform=linux*', |
| 470 | '--no_auth', |
| 471 | '--bucket', 'chromium-luci', |
| 472 | '-d', 'src/tools/luci-go/linux64', |
| 473 | ], |
| 474 | }, |
| 475 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 476 | { |
| 477 | 'name': 'syzygy-binaries', |
| 478 | 'pattern': '.', |
| 479 | 'action': ['python', |
| 480 | 'src/build/get_syzygy_binaries.py', |
| 481 | '--output-dir=src/third_party/syzygy/binaries', |
| 482 | '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7', |
| 483 | '--overwrite', |
| 484 | ], |
| 485 | }, |
| 486 | { |
| 487 | # Pull sanitizer-instrumented third-party libraries if requested via |
| 488 | # GYP_DEFINES. |
| 489 | # See src/third_party/instrumented_libraries/scripts/download_binaries.py. |
| 490 | # TODO(kjellander): Update comment when GYP is completely cleaned up. |
| 491 | 'name': 'instrumented_libraries', |
| 492 | 'pattern': '\\.sha1', |
| 493 | 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'], |
| 494 | }, |
| 495 | { |
| 496 | 'name': 'clang_format_merge_driver', |
| 497 | 'pattern': '.', |
| 498 | 'action': [ 'python', |
| 499 | 'src/tools/clang_format_merge_driver/install_git_hook.py', |
| 500 | ], |
| 501 | }, |
Henrik Kjellander | a49f515 | 2015-03-25 12:48:55 | [diff] [blame] | 502 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 | [diff] [blame] | 503 | # Download test resources, i.e. video and audio files from Google Storage. |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 504 | 'pattern': '.', |
| 505 | 'action': ['download_from_google_storage', |
| 506 | '--directory', |
| 507 | '--recursive', |
| 508 | '--num_threads=10', |
| 509 | '--no_auth', |
kjellander | 4ff818e | 2015-12-18 20:29:28 | [diff] [blame] | 510 | '--quiet', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 | [diff] [blame] | 511 | '--bucket', 'chromium-webrtc-resources', |
| 512 | 'src/resources'], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 513 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 | [diff] [blame] | 514 | ] |
| 515 | |
kjellander | 24d812d | 2016-11-22 15:02:11 | [diff] [blame] | 516 | recursedeps = [ |
| 517 | # buildtools provides clang_format, libc++, and libc++abi. |
| 518 | 'src/buildtools', |
| 519 | # android_tools manages the NDK. |
| 520 | 'src/third_party/android_tools', |
| 521 | ] |
| 522 | |