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