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', |
Mirko Bonadei | cb2bc11 | 2017-10-10 13:28:18 +0200 | [diff] [blame^] | 5 | # By default, we should check out everything needed to run on the main |
| 6 | # chromium waterfalls. More info at: crbug.com/570091. |
| 7 | 'checkout_configuration': 'default', |
| 8 | 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"', |
Henrik Kjellander | a9d4da8 | 2017-09-14 07:28:10 +0200 | [diff] [blame] | 9 | 'webrtc_git': 'https://webrtc.googlesource.com', |
Autoroller | deeba1f | 2017-10-09 09:13:11 -0700 | [diff] [blame] | 10 | 'chromium_revision': 'c6405066cc384ad8a623c2e54fcee6d7ce3aebb9', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 11 | 'boringssl_git': 'https://boringssl.googlesource.com', |
| 12 | # Three lines of non-changing comments so that |
| 13 | # the commit queue can handle CLs rolling swarming_client |
| 14 | # and whatever else without interference from each other. |
buildbot | b600d87 | 2017-09-11 06:55:38 -0700 | [diff] [blame] | 15 | 'swarming_revision': '5e8001d9a710121ce7a68efd0804430a34b4f9e4', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 16 | # Three lines of non-changing comments so that |
| 17 | # the commit queue can handle CLs rolling openmax_dl |
| 18 | # and whatever else without interference from each other. |
| 19 | 'openmax_dl_revision': '7acede9c039ea5d14cf326f44aad1245b9e674a7', |
| 20 | # Three lines of non-changing comments so that |
| 21 | # the commit queue can handle CLs rolling BoringSSL |
| 22 | # and whatever else without interference from each other. |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 23 | 'boringssl_revision': '12fdd08a401d2ef562612638abd016f8b5794cc7', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 24 | # Three lines of non-changing comments so that |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 25 | # the commit queue can handle CLs rolling lss |
| 26 | # and whatever else without interference from each other. |
kjellander | 251eb27 | 2017-04-05 22:49:24 -0700 | [diff] [blame] | 27 | 'lss_revision': '63f24c8221a229f677d26ebe8f3d1528a9d787ac', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 28 | # Three lines of non-changing comments so that |
| 29 | # the commit queue can handle CLs rolling catapult |
| 30 | # and whatever else without interference from each other. |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 31 | 'catapult_revision': 'a48a6afde0ff7eeb1c847744192977e412107d6a', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 32 | # Three lines of non-changing comments so that |
| 33 | # the commit queue can handle CLs rolling libFuzzer |
| 34 | # and whatever else without interference from each other. |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 35 | 'libfuzzer_revision': '06fb50cc1f0197398c8a70658928a3b91912e68a', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 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': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 41 | Var('chromium_git') + '/chromium/src/base' + '@' + 'bb89059924fe115f70c9eee3034234db14c12c68', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 42 | 'src/build': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 43 | Var('chromium_git') + '/chromium/src/build' + '@' + 'adaf9e56105b814105e2d49bc4fa63e2cd4795f5', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 44 | 'src/buildtools': |
Autoroller | e10c01c | 2017-09-21 05:49:56 -0700 | [diff] [blame] | 45 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'f6d165d9d842ddd29056c127a5f3a3c5d8e0d2e3', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 46 | # Gradle 3.5.0. Used for testing Android Studio project generation for WebRTC. |
| 47 | 'src/examples/androidtests/third_party/gradle': { |
| 48 | 'url': Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' + |
| 49 | '941559e020f6c357ebb08d5c67acdb858a3defc2', |
| 50 | 'condition': 'checkout_android', |
| 51 | }, |
| 52 | 'src/ios': { |
| 53 | 'url': Var('chromium_git') + '/chromium/src/ios' + '@' + '537db2157252bb7a48172a1b68344c0c8a0214d5', |
| 54 | 'condition': 'checkout_ios', |
| 55 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 56 | 'src/testing': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 57 | Var('chromium_git') + '/chromium/src/testing' + '@' + '9ea2ef7b17229b6ae44a58985e5d15bc29126a45', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 58 | 'src/third_party': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 59 | Var('chromium_git') + '/chromium/src/third_party' + '@' + '637781b501f712a5d34a5fe11688d81f6157f524', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 60 | 'src/third_party/android_tools': { |
| 61 | 'url': Var('chromium_git') + '/android_tools.git' + '@' + 'ca9dc7245b888c75307f0619e4a39fb46a82de66', |
| 62 | 'condition': 'checkout_android', |
| 63 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 64 | 'src/third_party/boringssl/src': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 65 | Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'), |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 66 | 'src/third_party/catapult': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 67 | Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'), |
| 68 | 'src/third_party/ced/src': { |
| 69 | 'url': Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9', |
| 70 | 'condition': 'checkout_android', |
| 71 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 72 | 'src/third_party/colorama/src': |
| 73 | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
oprypin | 40e7ebd | 2017-07-27 01:40:18 -0700 | [diff] [blame] | 74 | 'src/third_party/depot_tools': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 75 | Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '8db10a6fb1d4b86909b8cb32e3b53e35624c8979', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 76 | 'src/third_party/ffmpeg': |
buildbot | d4d10f7 | 2017-08-28 21:19:01 -0700 | [diff] [blame] | 77 | Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '1e201feaa3260336aa63545c9471b76e5aef2e0a', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 78 | # WebRTC-only dependency (not present in Chromium). |
| 79 | 'src/third_party/gtest-parallel': |
| 80 | Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + 'ee2027381105650fb1c66b2b121ba00b79e84d5c', |
kjellander | 3dae705 | 2017-05-03 06:44:36 -0700 | [diff] [blame] | 81 | 'src/third_party/googletest/src': |
buildbot | 8f82e63 | 2017-08-30 21:18:15 -0700 | [diff] [blame] | 82 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 83 | 'src/third_party/icu': { |
| 84 | 'url': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '08cb956852a5ccdba7f9c941728bb833529ba3c6', |
| 85 | 'condition': 'checkout_android', |
| 86 | }, |
| 87 | 'src/third_party/jsr-305/src': { |
| 88 | 'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| 89 | 'condition': 'checkout_android', |
| 90 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 91 | 'src/third_party/jsoncpp/source': |
| 92 | Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248 |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 93 | 'src/third_party/junit/src': { |
| 94 | 'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481', |
| 95 | 'condition': 'checkout_android', |
| 96 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 97 | # Used for building libFuzzers (only supports Linux). |
| 98 | 'src/third_party/libFuzzer/src': |
oprypin | 801f722 | 2017-09-01 05:43:07 -0700 | [diff] [blame] | 99 | Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + Var('libfuzzer_revision'), |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 100 | 'src/third_party/libjpeg_turbo': |
buildbot | 1c23e94 | 2017-04-20 09:30:13 -0700 | [diff] [blame] | 101 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 102 | 'src/third_party/libsrtp': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 103 | Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 104 | 'src/third_party/libvpx/source/libvpx': |
Oleh Prypin | 4627a33 | 2017-10-06 01:11:00 +0200 | [diff] [blame] | 105 | Var('chromium_git') + '/webm/libvpx.git' + '@' + 'fe7b869104806752a26a262dc60923639d9a384f', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 106 | 'src/third_party/libyuv': |
Autoroller | aa0fe12 | 2017-09-20 17:49:57 -0700 | [diff] [blame] | 107 | Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '5b1af9a33545895ea12c52bf007f17914de19173', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 108 | 'src/third_party/lss': { |
| 109 | 'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), |
| 110 | 'condition': 'checkout_android or checkout_linux', |
| 111 | }, |
| 112 | 'src/third_party/mockito/src': { |
| 113 | 'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850', |
| 114 | 'condition': 'checkout_android', |
| 115 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 116 | 'src/third_party/openh264/src': |
ssilkin | 1440c9f | 2017-09-28 03:35:45 -0700 | [diff] [blame] | 117 | Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + 'a180c9d4d6f1a4830ca9eed9d159d54996bd63cb', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 118 | 'src/third_party/openmax_dl': |
Henrik Kjellander | a9d4da8 | 2017-09-14 07:28:10 +0200 | [diff] [blame] | 119 | Var('webrtc_git') + '/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'), |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 120 | 'src/third_party/requests/src': { |
| 121 | 'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
| 122 | 'condition': 'checkout_android', |
| 123 | }, |
| 124 | 'src/third_party/robolectric/robolectric': { |
| 125 | 'url': Var('chromium_git') + '/external/robolectric.git' + '@' + 'b02c65cc6d7465f58f0de48a39914aa905692afa', |
| 126 | 'condition': 'checkout_android', |
| 127 | }, |
| 128 | 'src/third_party/ub-uiautomator/lib': { |
| 129 | 'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434', |
| 130 | 'condition': 'checkout_android', |
| 131 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 132 | 'src/third_party/usrsctp/usrsctplib': |
buildbot | 1b20dc4 | 2017-08-07 12:55:14 -0700 | [diff] [blame] | 133 | Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + 'f4819e1b177f7bfdd761c147f5a649b9f1a78c06', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 134 | # WebRTC-only dependency (not present in Chromium). |
| 135 | 'src/third_party/winsdk_samples': { |
| 136 | 'url': Var('webrtc_git') + '/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073', |
| 137 | 'condition': 'checkout_win', |
| 138 | }, |
| 139 | # Dependency used by libjpeg-turbo. |
| 140 | 'src/third_party/yasm/binaries': { |
| 141 | 'url': Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881', |
| 142 | 'condition': 'checkout_win', |
| 143 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 144 | 'src/third_party/yasm/source/patched-yasm': |
buildbot | f3f7f62 | 2017-08-10 21:29:33 -0700 | [diff] [blame] | 145 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'b98114e18d8b9b84586b10d24353ab8616d4c5fc', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 146 | 'src/tools': |
Autoroller | e19d1ba | 2017-10-09 02:55:35 -0700 | [diff] [blame] | 147 | Var('chromium_git') + '/chromium/src/tools' + '@' + 'e9d5349db0f3f43ef1b82a62159e160b48b8fce0', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 148 | 'src/tools/gyp': |
buildbot | 2f0803c | 2017-07-25 11:40:43 -0700 | [diff] [blame] | 149 | Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', |
oprypin | 4ccd9c1 | 2017-08-30 00:42:43 -0700 | [diff] [blame] | 150 | 'src/tools/swarming_client': |
| 151 | Var('chromium_git') + '/infra/luci/client-py.git' + '@' + Var('swarming_revision'), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 152 | } |
kjellander | 200028f | 2017-08-17 09:54:12 -0700 | [diff] [blame] | 153 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 154 | hooks = [ |
| 155 | { |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 156 | # This clobbers when necessary (based on get_landmines.py). It should be |
| 157 | # an early hook but it will need to be run after syncing Chromium and |
| 158 | # setting up the links, so the script actually exists. |
| 159 | 'name': 'landmines', |
| 160 | 'pattern': '.', |
| 161 | 'action': [ |
| 162 | 'python', |
| 163 | 'src/build/landmines.py', |
| 164 | '--landmine-scripts', |
Henrik Kjellander | 90fd7d8 | 2017-05-09 08:30:10 +0200 | [diff] [blame] | 165 | 'src/tools_webrtc/get_landmines.py', |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 166 | '--src-dir', |
| 167 | 'src', |
| 168 | ], |
| 169 | }, |
oprypin | 40e7ebd | 2017-07-27 01:40:18 -0700 | [diff] [blame] | 170 | { |
| 171 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 172 | # disabled. |
| 173 | 'name': 'disable_depot_tools_selfupdate', |
| 174 | 'pattern': '.', |
| 175 | 'action': [ |
| 176 | 'python', |
| 177 | 'src/third_party/depot_tools/update_depot_tools_toggle.py', |
| 178 | '--disable', |
| 179 | ], |
| 180 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 181 | { |
| 182 | # Downloads the current stable linux sysroot to build/linux/ if needed. |
| 183 | # This sysroot updates at about the same rate that the chrome build deps |
| 184 | # change. This script is a no-op except for linux users who are doing |
| 185 | # official chrome builds or cross compiling. |
| 186 | 'name': 'sysroot', |
| 187 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 188 | 'condition': 'checkout_linux', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 189 | 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', |
| 190 | '--running-as-hook'], |
| 191 | }, |
| 192 | { |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 193 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 194 | 'name': 'win_toolchain', |
| 195 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 196 | # TODO(thakis): Put some condition here. Not just host_os == 'win', because |
| 197 | # we also need this for (mac|linux) -> win cross builds. |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 198 | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| 199 | }, |
kjellander | ec2c93e | 2017-09-08 10:52:17 -0700 | [diff] [blame] | 200 | { |
| 201 | # Update the Mac toolchain if necessary. |
| 202 | 'name': 'mac_toolchain', |
| 203 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 204 | 'condition': 'checkout_mac', |
kjellander | ec2c93e | 2017-09-08 10:52:17 -0700 | [diff] [blame] | 205 | 'action': ['python', 'src/build/mac_toolchain.py'], |
| 206 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 207 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 208 | # debugging when used with clang on Ubuntu Precise. |
| 209 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 210 | { |
| 211 | 'name': 'binutils', |
| 212 | 'pattern': 'src/third_party/binutils', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 213 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 214 | 'action': [ |
| 215 | 'python', |
| 216 | 'src/third_party/binutils/download.py', |
| 217 | ], |
| 218 | }, |
| 219 | { |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 220 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 221 | 'name': 'clang', |
| 222 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 223 | 'action': ['python', 'src/tools/clang/scripts/update.py'], |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 224 | }, |
ehmaldonado | 293bc2a | 2016-11-25 04:58:47 -0800 | [diff] [blame] | 225 | { |
| 226 | # Update LASTCHANGE. |
| 227 | 'name': 'lastchange', |
| 228 | 'pattern': '.', |
| 229 | 'action': ['python', 'src/build/util/lastchange.py', |
| 230 | '-o', 'src/build/util/LASTCHANGE'], |
| 231 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 232 | # Pull GN binaries. |
| 233 | { |
| 234 | 'name': 'gn_win', |
| 235 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 236 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 237 | 'action': [ 'download_from_google_storage', |
| 238 | '--no_resume', |
| 239 | '--platform=win32', |
| 240 | '--no_auth', |
| 241 | '--bucket', 'chromium-gn', |
| 242 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 243 | ], |
| 244 | }, |
| 245 | { |
| 246 | 'name': 'gn_mac', |
| 247 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 248 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 249 | 'action': [ 'download_from_google_storage', |
| 250 | '--no_resume', |
| 251 | '--platform=darwin', |
| 252 | '--no_auth', |
| 253 | '--bucket', 'chromium-gn', |
| 254 | '-s', 'src/buildtools/mac/gn.sha1', |
| 255 | ], |
| 256 | }, |
| 257 | { |
| 258 | 'name': 'gn_linux64', |
| 259 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 260 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 261 | 'action': [ 'download_from_google_storage', |
| 262 | '--no_resume', |
| 263 | '--platform=linux*', |
| 264 | '--no_auth', |
| 265 | '--bucket', 'chromium-gn', |
| 266 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 267 | ], |
| 268 | }, |
| 269 | # Pull clang-format binaries using checked-in hashes. |
| 270 | { |
| 271 | 'name': 'clang_format_win', |
| 272 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 273 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 274 | 'action': [ 'download_from_google_storage', |
| 275 | '--no_resume', |
| 276 | '--platform=win32', |
| 277 | '--no_auth', |
| 278 | '--bucket', 'chromium-clang-format', |
| 279 | '-s', 'src/buildtools/win/clang-format.exe.sha1', |
| 280 | ], |
| 281 | }, |
| 282 | { |
| 283 | 'name': 'clang_format_mac', |
| 284 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 285 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 286 | 'action': [ 'download_from_google_storage', |
| 287 | '--no_resume', |
| 288 | '--platform=darwin', |
| 289 | '--no_auth', |
| 290 | '--bucket', 'chromium-clang-format', |
| 291 | '-s', 'src/buildtools/mac/clang-format.sha1', |
| 292 | ], |
| 293 | }, |
| 294 | { |
| 295 | 'name': 'clang_format_linux', |
| 296 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 297 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 298 | 'action': [ 'download_from_google_storage', |
| 299 | '--no_resume', |
| 300 | '--platform=linux*', |
| 301 | '--no_auth', |
| 302 | '--bucket', 'chromium-clang-format', |
| 303 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 304 | ], |
| 305 | }, |
| 306 | # Pull luci-go binaries (isolate, swarming) using checked-in hashes. |
| 307 | { |
| 308 | 'name': 'luci-go_win', |
| 309 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 310 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 311 | 'action': [ 'download_from_google_storage', |
| 312 | '--no_resume', |
| 313 | '--platform=win32', |
| 314 | '--no_auth', |
| 315 | '--bucket', 'chromium-luci', |
| 316 | '-d', 'src/tools/luci-go/win64', |
| 317 | ], |
| 318 | }, |
| 319 | { |
| 320 | 'name': 'luci-go_mac', |
| 321 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 322 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 323 | 'action': [ 'download_from_google_storage', |
| 324 | '--no_resume', |
| 325 | '--platform=darwin', |
| 326 | '--no_auth', |
| 327 | '--bucket', 'chromium-luci', |
| 328 | '-d', 'src/tools/luci-go/mac64', |
| 329 | ], |
| 330 | }, |
| 331 | { |
| 332 | 'name': 'luci-go_linux', |
| 333 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 334 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 335 | 'action': [ 'download_from_google_storage', |
| 336 | '--no_resume', |
| 337 | '--platform=linux*', |
| 338 | '--no_auth', |
| 339 | '--bucket', 'chromium-luci', |
| 340 | '-d', 'src/tools/luci-go/linux64', |
| 341 | ], |
| 342 | }, |
Henrik Kjellander | 55dad1b | 2017-05-11 12:00:53 +0200 | [diff] [blame] | 343 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 344 | { |
| 345 | 'name': 'syzygy-binaries', |
| 346 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 347 | 'condition': 'host_os == "win"', |
Henrik Kjellander | 55dad1b | 2017-05-11 12:00:53 +0200 | [diff] [blame] | 348 | 'action': ['python', |
| 349 | 'src/build/get_syzygy_binaries.py', |
| 350 | '--output-dir=src/third_party/syzygy/binaries', |
| 351 | '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7', |
| 352 | '--overwrite', |
| 353 | ], |
| 354 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 355 | { |
Mirko Bonadei | cb2bc11 | 2017-10-10 13:28:18 +0200 | [diff] [blame^] | 356 | 'name': 'msan_chained_origins', |
| 357 | 'pattern': '.', |
| 358 | 'condition': 'checkout_instrumented_libraries', |
| 359 | 'action': [ 'python', |
| 360 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 361 | "--no_resume", |
| 362 | "--no_auth", |
| 363 | "--bucket", "chromium-instrumented-libraries", |
| 364 | "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1", |
| 365 | ], |
| 366 | }, |
| 367 | { |
| 368 | 'name': 'msan_no_origins', |
| 369 | 'pattern': '.', |
| 370 | 'condition': 'checkout_instrumented_libraries', |
| 371 | 'action': [ 'python', |
| 372 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 373 | "--no_resume", |
| 374 | "--no_auth", |
| 375 | "--bucket", "chromium-instrumented-libraries", |
| 376 | "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1", |
| 377 | ], |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 378 | }, |
| 379 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 380 | # 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] | 381 | 'pattern': '.', |
| 382 | 'action': ['download_from_google_storage', |
| 383 | '--directory', |
| 384 | '--recursive', |
| 385 | '--num_threads=10', |
| 386 | '--no_auth', |
kjellander | 4ff818e | 2015-12-18 12:29:28 -0800 | [diff] [blame] | 387 | '--quiet', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 388 | '--bucket', 'chromium-webrtc-resources', |
| 389 | 'src/resources'], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 390 | }, |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 391 | { |
| 392 | # This downloads SDK extras and puts them in the |
| 393 | # third_party/android_tools/sdk/extras directory. |
| 394 | 'name': 'sdkextras', |
| 395 | 'pattern': '.', |
| 396 | 'condition': 'checkout_android', |
| 397 | # When adding a new sdk extras package to download, add the package |
| 398 | # directory and zip file to .gitignore in third_party/android_tools. |
| 399 | 'action': ['python', |
| 400 | 'src/build/android/play_services/update.py', |
| 401 | 'download' |
| 402 | ], |
| 403 | }, |
| 404 | { |
| 405 | 'name': 'intellij', |
| 406 | 'pattern': '.', |
| 407 | 'condition': 'checkout_android', |
| 408 | 'action': ['python', |
| 409 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 410 | 'download', |
| 411 | '-b', 'chromium-intellij', |
| 412 | '-l', 'third_party/intellij' |
| 413 | ], |
| 414 | }, |
| 415 | { |
| 416 | 'name': 'javax_inject', |
| 417 | 'pattern': '.', |
| 418 | 'condition': 'checkout_android', |
| 419 | 'action': ['python', |
| 420 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 421 | 'download', |
| 422 | '-b', 'chromium-javax-inject', |
| 423 | '-l', 'third_party/javax_inject' |
| 424 | ], |
| 425 | }, |
| 426 | { |
| 427 | 'name': 'hamcrest', |
| 428 | 'pattern': '.', |
| 429 | 'condition': 'checkout_android', |
| 430 | 'action': ['python', |
| 431 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 432 | 'download', |
| 433 | '-b', 'chromium-hamcrest', |
| 434 | '-l', 'third_party/hamcrest' |
| 435 | ], |
| 436 | }, |
| 437 | { |
| 438 | 'name': 'guava', |
| 439 | 'pattern': '.', |
| 440 | 'condition': 'checkout_android', |
| 441 | 'action': ['python', |
| 442 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 443 | 'download', |
| 444 | '-b', 'chromium-guava', |
| 445 | '-l', 'third_party/guava' |
| 446 | ], |
| 447 | }, |
| 448 | { |
| 449 | 'name': 'android_support_test_runner', |
| 450 | 'pattern': '.', |
| 451 | 'condition': 'checkout_android', |
| 452 | 'action': ['python', |
| 453 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 454 | 'download', |
| 455 | '-b', 'chromium-android-support-test-runner', |
| 456 | '-l', 'third_party/android_support_test_runner' |
| 457 | ], |
| 458 | }, |
| 459 | { |
| 460 | 'name': 'byte_buddy', |
| 461 | 'pattern': '.', |
| 462 | 'condition': 'checkout_android', |
| 463 | 'action': ['python', |
| 464 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 465 | 'download', |
| 466 | '-b', 'chromium-byte-buddy', |
| 467 | '-l', 'third_party/byte_buddy' |
| 468 | ], |
| 469 | }, |
| 470 | { |
| 471 | 'name': 'espresso', |
| 472 | 'pattern': '.', |
| 473 | 'condition': 'checkout_android', |
| 474 | 'action': ['python', |
| 475 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 476 | 'download', |
| 477 | '-b', 'chromium-espresso', |
| 478 | '-l', 'third_party/espresso' |
| 479 | ], |
| 480 | }, |
| 481 | { |
| 482 | 'name': 'robolectric_libs', |
| 483 | 'pattern': '.', |
| 484 | 'condition': 'checkout_android', |
| 485 | 'action': ['python', |
| 486 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 487 | 'download', |
| 488 | '-b', 'chromium-robolectric', |
| 489 | '-l', 'third_party/robolectric' |
| 490 | ], |
| 491 | }, |
| 492 | { |
| 493 | 'name': 'apache_velocity', |
| 494 | 'pattern': '.', |
| 495 | 'condition': 'checkout_android', |
| 496 | 'action': ['python', |
| 497 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 498 | 'download', |
| 499 | '-b', 'chromium-apache-velocity', |
| 500 | '-l', 'third_party/apache_velocity' |
| 501 | ], |
| 502 | }, |
| 503 | { |
| 504 | 'name': 'ow2_asm', |
| 505 | 'pattern': '.', |
| 506 | 'condition': 'checkout_android', |
| 507 | 'action': ['python', |
| 508 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 509 | 'download', |
| 510 | '-b', 'chromium-ow2-asm', |
| 511 | '-l', 'third_party/ow2_asm' |
| 512 | ], |
| 513 | }, |
| 514 | { |
| 515 | 'name': 'desugar', |
| 516 | 'pattern': '.', |
| 517 | 'condition': 'checkout_android', |
| 518 | 'action': ['python', |
| 519 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 520 | 'download', |
| 521 | '-b', 'chromium-android-tools/bazel/desugar', |
| 522 | '-l', 'third_party/bazel/desugar' |
| 523 | ], |
| 524 | }, |
| 525 | { |
| 526 | 'name': 'icu4j', |
| 527 | 'pattern': '.', |
| 528 | 'condition': 'checkout_android', |
| 529 | 'action': ['python', |
| 530 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 531 | 'download', |
| 532 | '-b', 'chromium-icu4j', |
| 533 | '-l', 'third_party/icu4j' |
| 534 | ], |
| 535 | }, |
| 536 | { |
| 537 | 'name': 'accessibility_test_framework', |
| 538 | 'pattern': '.', |
| 539 | 'condition': 'checkout_android', |
| 540 | 'action': ['python', |
| 541 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 542 | 'download', |
| 543 | '-b', 'chromium-accessibility-test-framework', |
| 544 | '-l', 'third_party/accessibility_test_framework' |
| 545 | ], |
| 546 | }, |
| 547 | { |
| 548 | 'name': 'bouncycastle', |
| 549 | 'pattern': '.', |
| 550 | 'condition': 'checkout_android', |
| 551 | 'action': ['python', |
| 552 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 553 | 'download', |
| 554 | '-b', 'chromium-bouncycastle', |
| 555 | '-l', 'third_party/bouncycastle' |
| 556 | ], |
| 557 | }, |
| 558 | { |
| 559 | 'name': 'sqlite4java', |
| 560 | 'pattern': '.', |
| 561 | 'condition': 'checkout_android', |
| 562 | 'action': ['python', |
| 563 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 564 | 'download', |
| 565 | '-b', 'chromium-sqlite4java', |
| 566 | '-l', 'third_party/sqlite4java' |
| 567 | ], |
| 568 | }, |
| 569 | { |
| 570 | 'name': 'xstream', |
| 571 | 'pattern': '.', |
| 572 | 'condition': 'checkout_android', |
| 573 | 'action': ['python', |
| 574 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 575 | 'download', |
| 576 | '-b', 'chromium-robolectric', |
| 577 | '-l', 'third_party/xstream' |
| 578 | ], |
| 579 | }, |
| 580 | { |
| 581 | 'name': 'objenesis', |
| 582 | 'pattern': '.', |
| 583 | 'condition': 'checkout_android', |
| 584 | 'action': ['python', |
| 585 | 'src/build/android/update_deps/update_third_party_deps.py', |
| 586 | 'download', |
| 587 | '-b', 'chromium-objenesis', |
| 588 | '-l', 'third_party/objenesis' |
| 589 | ], |
| 590 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 591 | ] |
kjellander | 200028f | 2017-08-17 09:54:12 -0700 | [diff] [blame] | 592 | |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 593 | recursedeps = [ |
| 594 | # buildtools provides clang_format, libc++, and libc++abi. |
| 595 | 'src/buildtools', |
| 596 | # android_tools manages the NDK. |
| 597 | 'src/third_party/android_tools', |
| 598 | ] |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 599 | |
| 600 | # Define rules for which include paths are allowed in our source. |
| 601 | include_rules = [ |
| 602 | # Base is only used to build Android APK tests and may not be referenced by |
| 603 | # WebRTC production code. |
| 604 | "-base", |
| 605 | "-chromium", |
| 606 | "+external/webrtc/webrtc", # Android platform build. |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 607 | "+libyuv", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 608 | # Individual headers that will be moved out of here, see webrtc:4243. |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 609 | "+call/rtp_config.h", |
| 610 | "+common_types.h", |
| 611 | "+transport.h", |
| 612 | "+typedefs.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 613 | |
| 614 | "+WebRTC", |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 615 | "+api", |
| 616 | "+modules/include", |
| 617 | "+rtc_base", |
| 618 | "+test", |
| 619 | "+rtc_tools", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 620 | ] |
| 621 | |
| 622 | # The below rules will be removed when webrtc:4243 is fixed. |
| 623 | specific_include_rules = { |
| 624 | "video_receive_stream\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 625 | "+call/video_receive_stream.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 626 | ], |
| 627 | "video_send_stream\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 628 | "+call/video_send_stream.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 629 | ], |
| 630 | } |