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