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