kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 1 | # This file contains dependencies for WebRTC. |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 2 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 3 | vars = { |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 4 | 'chromium_git': 'https://chromium.googlesource.com', |
buildbot | 1b3ce86 | 2017-01-18 05:56:01 -0800 | [diff] [blame] | 5 | 'chromium_revision': 'd9e076c4780e0bcb4af6a257407f006c44a3a976', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 | e1082ca | 2017-01-12 12:28:11 -0800 | [diff] [blame] | 18 | 'boringssl_revision': '8b8d22c961413c1ae465719d8252bea50587ed3f', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 | f3d5d89 | 2017-01-17 20:58:16 -0800 | [diff] [blame] | 30 | 'catapult_revision': 'cfcae9b972f24e331a8ed0110b5afc96e75919a0', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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. |
buildbot | 300765d | 2017-01-07 08:42:53 -0800 | [diff] [blame] | 34 | 'libfuzzer_revision': 'e6cbbd6ba1cd57e52cb3a237974c89911b08b5d7', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 35 | } |
| 36 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 37 | deps = { |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 | b308b03 | 2017-01-17 18:01:02 -0800 | [diff] [blame] | 41 | Var('chromium_git') + '/chromium/src/base' + '@' + '12a3a619d49e3aeca2011cabad91f44ca5c083fa', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 42 | 'src/build': |
buildbot | b308b03 | 2017-01-17 18:01:02 -0800 | [diff] [blame] | 43 | Var('chromium_git') + '/chromium/src/build' + '@' + 'c94e6d2c61a3ab7b77afa13eda40d57ba8c05dd1', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 44 | 'src/buildtools': |
buildbot | 5561b4c | 2017-01-14 23:31:47 -0800 | [diff] [blame] | 45 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'cb12d6e8641f0c9b0fbbfa4bf17c55c6c0d3c38f', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 46 | 'src/testing': |
buildbot | c0370ef | 2017-01-17 23:44:05 -0800 | [diff] [blame] | 47 | Var('chromium_git') + '/chromium/src/testing' + '@' + 'fdb3e896feac8fbc788dc7687325bc094e967a51', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 | 1b3ce86 | 2017-01-18 05:56:01 -0800 | [diff] [blame] | 53 | Var('chromium_git') + '/chromium/src/third_party' + '@' + '36d6bdd23012473659c24ec1de5499573bc6c0e4', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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': |
buildbot | a4eb298 | 2017-01-11 12:06:48 -0800 | [diff] [blame] | 74 | Var('chromium_git') + '/webm/libvpx.git' + '@' + '5b1a8ca5e846f838062becaec9ed6b5ecef306e5', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 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': |
buildbot | 6969c56 | 2017-01-10 03:36:00 -0800 | [diff] [blame] | 84 | Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '8679f2b0bf063ac894dc473debefd61dbbebf622', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 85 | 'src/third_party/yasm/source/patched-yasm': |
| 86 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '7da28c6c7c6a1387217352ce02b31754deb54d2a', |
| 87 | 'src/tools': |
buildbot | 1b3ce86 | 2017-01-18 05:56:01 -0800 | [diff] [blame] | 88 | Var('chromium_git') + '/chromium/src/tools' + '@' + 'f67da8f45bd9c04fef395d7ab90af07d1f783331', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 01:36:35 -0800 | [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 +0000 | [diff] [blame] | 97 | 'src/third_party/gflags/src': |
kjellander | 0012d18 | 2016-12-20 01:36:35 -0800 | [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 +0000 | [diff] [blame] | 101 | } |
| 102 | |
| 103 | deps_os = { |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 104 | 'android': { |
| 105 | 'src/third_party/android_tools': |
| 106 | Var('chromium_git') + '/android_tools.git' + '@' + 'b43a6a289a7588b1769814f04dd6c7d7176974cc', |
| 107 | 'src/third_party/ced/src': |
buildbot | 3838616 | 2017-01-04 11:46:39 -0800 | [diff] [blame] | 108 | Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '368a9cc09ad868a3d28f0b5ad4a733f263c46409', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 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 +0000 | [diff] [blame] | 130 | 'win': { |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 01:36:35 -0800 | [diff] [blame] | 136 | 'src/third_party/winsdk_samples': |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [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 +0000 | [diff] [blame] | 138 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 139 | } |
| 140 | |
kjellander | e3b11aa | 2017-01-04 05:35:25 -0800 | [diff] [blame] | 141 | pre_deps_hooks = [ |
| 142 | { |
| 143 | # Remove any symlinks from before 177567c518b121731e507e9b9c4049c4dc96e4c8. |
| 144 | # TODO(kjellander): Remove this in March 2017. |
| 145 | 'name': 'cleanup_links', |
| 146 | 'pattern': '.', |
| 147 | 'action': ['python', 'src/cleanup_links.py'], |
| 148 | }, |
| 149 | ] |
| 150 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 151 | hooks = [ |
| 152 | { |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 +0000 | [diff] [blame] | 153 | # Check for legacy named top-level dir (named 'trunk'). |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 154 | 'name': 'check_root_dir_name', |
| 155 | 'pattern': '.', |
| 156 | 'action': ['python','-c', |
| 157 | ('import os,sys;' |
| 158 | 'script = os.path.join("trunk","check_root_dir.py");' |
| 159 | '_ = os.system("%s %s" % (sys.executable,script)) ' |
| 160 | 'if os.path.exists(script) else 0')], |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 +0000 | [diff] [blame] | 161 | }, |
| 162 | { |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 163 | # This clobbers when necessary (based on get_landmines.py). It should be |
| 164 | # an early hook but it will need to be run after syncing Chromium and |
| 165 | # setting up the links, so the script actually exists. |
| 166 | 'name': 'landmines', |
| 167 | 'pattern': '.', |
| 168 | 'action': [ |
| 169 | 'python', |
| 170 | 'src/build/landmines.py', |
| 171 | '--landmine-scripts', |
| 172 | 'src/webrtc/build/get_landmines.py', |
| 173 | '--src-dir', |
| 174 | 'src', |
| 175 | ], |
| 176 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 177 | # Android dependencies. Many are downloaded using Google Storage these days. |
| 178 | # They're copied from https://cs.chromium.org/chromium/src/DEPS for all |
| 179 | # such dependencies we share with Chromium. |
| 180 | { |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 181 | # This downloads SDK extras and puts them in the |
| 182 | # third_party/android_tools/sdk/extras directory. |
| 183 | 'name': 'sdkextras', |
| 184 | 'pattern': '.', |
| 185 | # When adding a new sdk extras package to download, add the package |
| 186 | # directory and zip file to .gitignore in third_party/android_tools. |
| 187 | 'action': ['python', |
| 188 | 'src/build/android/play_services/update.py', |
| 189 | 'download' |
| 190 | ], |
| 191 | }, |
| 192 | { |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 193 | 'name': 'intellij', |
| 194 | 'pattern': '.', |
| 195 | 'action': ['python', |
| 196 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 197 | 'download', |
| 198 | '-b', 'chromium-intellij', |
| 199 | '-l', 'third_party/intellij' |
| 200 | ], |
| 201 | }, |
| 202 | { |
| 203 | 'name': 'javax_inject', |
| 204 | 'pattern': '.', |
| 205 | 'action': ['python', |
| 206 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 207 | 'download', |
| 208 | '-b', 'chromium-javax-inject', |
| 209 | '-l', 'third_party/javax_inject' |
| 210 | ], |
| 211 | }, |
| 212 | { |
| 213 | 'name': 'hamcrest', |
| 214 | 'pattern': '.', |
| 215 | 'action': ['python', |
| 216 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 217 | 'download', |
| 218 | '-b', 'chromium-hamcrest', |
| 219 | '-l', 'third_party/hamcrest' |
| 220 | ], |
| 221 | }, |
| 222 | { |
| 223 | 'name': 'guava', |
| 224 | 'pattern': '.', |
| 225 | 'action': ['python', |
| 226 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 227 | 'download', |
| 228 | '-b', 'chromium-guava', |
| 229 | '-l', 'third_party/guava' |
| 230 | ], |
| 231 | }, |
| 232 | { |
| 233 | 'name': 'android_support_test_runner', |
| 234 | 'pattern': '.', |
| 235 | 'action': ['python', |
| 236 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 237 | 'download', |
| 238 | '-b', 'chromium-android-support-test-runner', |
| 239 | '-l', 'third_party/android_support_test_runner' |
| 240 | ], |
| 241 | }, |
| 242 | { |
| 243 | 'name': 'byte_buddy', |
| 244 | 'pattern': '.', |
| 245 | 'action': ['python', |
| 246 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 247 | 'download', |
| 248 | '-b', 'chromium-byte-buddy', |
| 249 | '-l', 'third_party/byte_buddy' |
| 250 | ], |
| 251 | }, |
| 252 | { |
| 253 | 'name': 'espresso', |
| 254 | 'pattern': '.', |
| 255 | 'action': ['python', |
| 256 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 257 | 'download', |
| 258 | '-b', 'chromium-espresso', |
| 259 | '-l', 'third_party/espresso' |
| 260 | ], |
| 261 | }, |
| 262 | { |
| 263 | 'name': 'robolectric_libs', |
| 264 | 'pattern': '.', |
| 265 | 'action': ['python', |
| 266 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 267 | 'download', |
| 268 | '-b', 'chromium-robolectric', |
| 269 | '-l', 'third_party/robolectric' |
| 270 | ], |
| 271 | }, |
| 272 | { |
| 273 | 'name': 'apache_velocity', |
| 274 | 'pattern': '.', |
| 275 | 'action': ['python', |
| 276 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 277 | 'download', |
| 278 | '-b', 'chromium-apache-velocity', |
| 279 | '-l', 'third_party/apache_velocity' |
| 280 | ], |
| 281 | }, |
| 282 | { |
| 283 | 'name': 'ow2_asm', |
| 284 | 'pattern': '.', |
| 285 | 'action': ['python', |
| 286 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 287 | 'download', |
| 288 | '-b', 'chromium-ow2-asm', |
| 289 | '-l', 'third_party/ow2_asm' |
| 290 | ], |
| 291 | }, |
| 292 | { |
| 293 | 'name': 'icu4j', |
| 294 | 'pattern': '.', |
| 295 | 'action': ['python', |
| 296 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 297 | 'download', |
| 298 | '-b', 'chromium-icu4j', |
| 299 | '-l', 'third_party/icu4j' |
| 300 | ], |
| 301 | }, |
| 302 | { |
| 303 | 'name': 'accessibility_test_framework', |
| 304 | 'pattern': '.', |
| 305 | 'action': ['python', |
| 306 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 307 | 'download', |
| 308 | '-b', 'chromium-accessibility-test-framework', |
| 309 | '-l', 'third_party/accessibility_test_framework' |
| 310 | ], |
| 311 | }, |
| 312 | { |
| 313 | 'name': 'bouncycastle', |
| 314 | 'pattern': '.', |
| 315 | 'action': ['python', |
| 316 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 317 | 'download', |
| 318 | '-b', 'chromium-bouncycastle', |
| 319 | '-l', 'third_party/bouncycastle' |
| 320 | ], |
| 321 | }, |
| 322 | { |
| 323 | 'name': 'sqlite4java', |
| 324 | 'pattern': '.', |
| 325 | 'action': ['python', |
| 326 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 327 | 'download', |
| 328 | '-b', 'chromium-sqlite4java', |
| 329 | '-l', 'third_party/sqlite4java' |
| 330 | ], |
| 331 | }, |
| 332 | { |
| 333 | 'name': 'objenesis', |
| 334 | 'pattern': '.', |
| 335 | 'action': ['python', |
| 336 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 337 | 'download', |
| 338 | '-b', 'chromium-objenesis', |
| 339 | '-l', 'third_party/objenesis' |
| 340 | ], |
| 341 | }, |
| 342 | { |
| 343 | # Downloads the current stable linux sysroot to build/linux/ if needed. |
| 344 | # This sysroot updates at about the same rate that the chrome build deps |
| 345 | # change. This script is a no-op except for linux users who are doing |
| 346 | # official chrome builds or cross compiling. |
| 347 | 'name': 'sysroot', |
| 348 | 'pattern': '.', |
| 349 | 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', |
| 350 | '--running-as-hook'], |
| 351 | }, |
| 352 | { |
| 353 | # Update the Windows toolchain if necessary. |
| 354 | 'name': 'win_toolchain', |
| 355 | 'pattern': '.', |
| 356 | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| 357 | }, |
| 358 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 359 | # debugging when used with clang on Ubuntu Precise. |
| 360 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 361 | { |
| 362 | 'name': 'binutils', |
| 363 | 'pattern': 'src/third_party/binutils', |
| 364 | 'action': [ |
| 365 | 'python', |
| 366 | 'src/third_party/binutils/download.py', |
| 367 | ], |
| 368 | }, |
| 369 | { |
| 370 | # Pull clang if needed or requested via GYP_DEFINES. |
| 371 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 372 | 'name': 'clang', |
| 373 | 'pattern': '.', |
| 374 | 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
| 375 | }, |
ehmaldonado | 293bc2a | 2016-11-25 04:58:47 -0800 | [diff] [blame] | 376 | { |
| 377 | # Update LASTCHANGE. |
| 378 | 'name': 'lastchange', |
| 379 | 'pattern': '.', |
| 380 | 'action': ['python', 'src/build/util/lastchange.py', |
| 381 | '-o', 'src/build/util/LASTCHANGE'], |
| 382 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 383 | # Pull GN binaries. |
| 384 | { |
| 385 | 'name': 'gn_win', |
| 386 | 'pattern': '.', |
| 387 | 'action': [ 'download_from_google_storage', |
| 388 | '--no_resume', |
| 389 | '--platform=win32', |
| 390 | '--no_auth', |
| 391 | '--bucket', 'chromium-gn', |
| 392 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 393 | ], |
| 394 | }, |
| 395 | { |
| 396 | 'name': 'gn_mac', |
| 397 | 'pattern': '.', |
| 398 | 'action': [ 'download_from_google_storage', |
| 399 | '--no_resume', |
| 400 | '--platform=darwin', |
| 401 | '--no_auth', |
| 402 | '--bucket', 'chromium-gn', |
| 403 | '-s', 'src/buildtools/mac/gn.sha1', |
| 404 | ], |
| 405 | }, |
| 406 | { |
| 407 | 'name': 'gn_linux64', |
| 408 | 'pattern': '.', |
| 409 | 'action': [ 'download_from_google_storage', |
| 410 | '--no_resume', |
| 411 | '--platform=linux*', |
| 412 | '--no_auth', |
| 413 | '--bucket', 'chromium-gn', |
| 414 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 415 | ], |
| 416 | }, |
| 417 | # Pull clang-format binaries using checked-in hashes. |
| 418 | { |
| 419 | 'name': 'clang_format_win', |
| 420 | 'pattern': '.', |
| 421 | 'action': [ 'download_from_google_storage', |
| 422 | '--no_resume', |
| 423 | '--platform=win32', |
| 424 | '--no_auth', |
| 425 | '--bucket', 'chromium-clang-format', |
| 426 | '-s', 'src/buildtools/win/clang-format.exe.sha1', |
| 427 | ], |
| 428 | }, |
| 429 | { |
| 430 | 'name': 'clang_format_mac', |
| 431 | 'pattern': '.', |
| 432 | 'action': [ 'download_from_google_storage', |
| 433 | '--no_resume', |
| 434 | '--platform=darwin', |
| 435 | '--no_auth', |
| 436 | '--bucket', 'chromium-clang-format', |
| 437 | '-s', 'src/buildtools/mac/clang-format.sha1', |
| 438 | ], |
| 439 | }, |
| 440 | { |
| 441 | 'name': 'clang_format_linux', |
| 442 | 'pattern': '.', |
| 443 | 'action': [ 'download_from_google_storage', |
| 444 | '--no_resume', |
| 445 | '--platform=linux*', |
| 446 | '--no_auth', |
| 447 | '--bucket', 'chromium-clang-format', |
| 448 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 449 | ], |
| 450 | }, |
| 451 | # Pull luci-go binaries (isolate, swarming) using checked-in hashes. |
| 452 | { |
| 453 | 'name': 'luci-go_win', |
| 454 | 'pattern': '.', |
| 455 | 'action': [ 'download_from_google_storage', |
| 456 | '--no_resume', |
| 457 | '--platform=win32', |
| 458 | '--no_auth', |
| 459 | '--bucket', 'chromium-luci', |
| 460 | '-d', 'src/tools/luci-go/win64', |
| 461 | ], |
| 462 | }, |
| 463 | { |
| 464 | 'name': 'luci-go_mac', |
| 465 | 'pattern': '.', |
| 466 | 'action': [ 'download_from_google_storage', |
| 467 | '--no_resume', |
| 468 | '--platform=darwin', |
| 469 | '--no_auth', |
| 470 | '--bucket', 'chromium-luci', |
| 471 | '-d', 'src/tools/luci-go/mac64', |
| 472 | ], |
| 473 | }, |
| 474 | { |
| 475 | 'name': 'luci-go_linux', |
| 476 | 'pattern': '.', |
| 477 | 'action': [ 'download_from_google_storage', |
| 478 | '--no_resume', |
| 479 | '--platform=linux*', |
| 480 | '--no_auth', |
| 481 | '--bucket', 'chromium-luci', |
| 482 | '-d', 'src/tools/luci-go/linux64', |
| 483 | ], |
| 484 | }, |
| 485 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 486 | { |
| 487 | 'name': 'syzygy-binaries', |
| 488 | 'pattern': '.', |
| 489 | 'action': ['python', |
| 490 | 'src/build/get_syzygy_binaries.py', |
| 491 | '--output-dir=src/third_party/syzygy/binaries', |
| 492 | '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7', |
| 493 | '--overwrite', |
| 494 | ], |
| 495 | }, |
| 496 | { |
| 497 | # Pull sanitizer-instrumented third-party libraries if requested via |
| 498 | # GYP_DEFINES. |
| 499 | # See src/third_party/instrumented_libraries/scripts/download_binaries.py. |
| 500 | # TODO(kjellander): Update comment when GYP is completely cleaned up. |
| 501 | 'name': 'instrumented_libraries', |
| 502 | 'pattern': '\\.sha1', |
| 503 | 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'], |
| 504 | }, |
| 505 | { |
| 506 | 'name': 'clang_format_merge_driver', |
| 507 | 'pattern': '.', |
| 508 | 'action': [ 'python', |
| 509 | 'src/tools/clang_format_merge_driver/install_git_hook.py', |
| 510 | ], |
| 511 | }, |
Henrik Kjellander | a49f515 | 2015-03-25 13:48:55 +0100 | [diff] [blame] | 512 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 513 | # Download test resources, i.e. video and audio files from Google Storage. |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 514 | 'pattern': '.', |
| 515 | 'action': ['download_from_google_storage', |
| 516 | '--directory', |
| 517 | '--recursive', |
| 518 | '--num_threads=10', |
| 519 | '--no_auth', |
kjellander | 4ff818e | 2015-12-18 12:29:28 -0800 | [diff] [blame] | 520 | '--quiet', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 521 | '--bucket', 'chromium-webrtc-resources', |
| 522 | 'src/resources'], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 523 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 524 | ] |
| 525 | |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 526 | recursedeps = [ |
| 527 | # buildtools provides clang_format, libc++, and libc++abi. |
| 528 | 'src/buildtools', |
| 529 | # android_tools manages the NDK. |
| 530 | 'src/third_party/android_tools', |
| 531 | ] |
| 532 | |