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 | 07020db | 2017-11-08 17:46:08 -0800 | [diff] [blame^] | 10 | 'chromium_revision': 'fd1e89557fa78a467061f732a8473fd863a89b1a', |
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. |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 15 | 'swarming_revision': '6fd3c7b6eb7c60f89e83f8ab1f93c133488f984e', |
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. |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 23 | 'boringssl_revision': '6cc352e216938d78b65fb8ccbeebfc1f7f7486c4', |
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. |
Oleh Prypin | 3ebed36 | 2017-10-27 10:14:45 +0200 | [diff] [blame] | 27 | 'lss_revision': 'e6527b0cd469e3ff5764785dadcb39bf7d787154', |
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. |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 31 | 'catapult_revision': 'af046c52f16840247004247b8063c61dcaef410b', |
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 | 1815237 | 2017-11-08 15:56:40 -0800 | [diff] [blame] | 41 | Var('chromium_git') + '/chromium/src/base' + '@' + 'e3d82067d3d835240b25ae94038ae55eb6153c8f', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 42 | 'src/build': |
Autoroller | 042b65d | 2017-11-08 16:35:48 -0800 | [diff] [blame] | 43 | Var('chromium_git') + '/chromium/src/build' + '@' + 'edf9a6d5a0039b346eaae69fc862a40b4e5d8fc3', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 44 | 'src/buildtools': |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 45 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + '73ddd64be624a6f935f312a72d2da7f0ed70daa5', |
Sami Kalliomäki | ce50239 | 2017-10-30 09:11:57 +0100 | [diff] [blame] | 46 | # Gradle 4.3-rc4. Used for testing Android Studio project generation for WebRTC. |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 47 | 'src/examples/androidtests/third_party/gradle': { |
| 48 | 'url': Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' + |
Sami Kalliomäki | ce50239 | 2017-10-30 09:11:57 +0100 | [diff] [blame] | 49 | '89af43c4d0506f69980f00dde78c97b2f81437f8', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 50 | 'condition': 'checkout_android', |
| 51 | }, |
| 52 | 'src/ios': { |
Autoroller | 07020db | 2017-11-08 17:46:08 -0800 | [diff] [blame^] | 53 | 'url': Var('chromium_git') + '/chromium/src/ios' + '@' + '21acd5f41885bb8559340948ecf4975a1da0d650', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 54 | 'condition': 'checkout_ios', |
| 55 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 56 | 'src/testing': |
Autoroller | 07020db | 2017-11-08 17:46:08 -0800 | [diff] [blame^] | 57 | Var('chromium_git') + '/chromium/src/testing' + '@' + '731cf206f6521c9b66e4fe1b8314bc1a946b4635', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 58 | 'src/third_party': |
Autoroller | 07020db | 2017-11-08 17:46:08 -0800 | [diff] [blame^] | 59 | Var('chromium_git') + '/chromium/src/third_party' + '@' + 'd708e7c280e5482ba91c4c2817e450d182f66462', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 60 | 'src/third_party/android_tools': { |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 61 | 'url': Var('chromium_git') + '/android_tools.git' + '@' + '4a9623af577555a8dab891c8789cc3dfe80addae', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 62 | 'condition': 'checkout_android', |
| 63 | }, |
Mirko Bonadei | 969d4a9 | 2017-11-05 15:57:38 -0800 | [diff] [blame] | 64 | 'src/third_party/auto/src': { |
| 65 | 'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '71802f2ae74dae2744abd999f8434e13055c4ee3', |
| 66 | 'condition': 'checkout_android', |
| 67 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 68 | 'src/third_party/boringssl/src': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 69 | Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'), |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 70 | 'src/third_party/catapult': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 71 | Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'), |
| 72 | 'src/third_party/ced/src': { |
| 73 | 'url': Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9', |
| 74 | 'condition': 'checkout_android', |
| 75 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 76 | 'src/third_party/colorama/src': |
| 77 | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
oprypin | 40e7ebd | 2017-07-27 01:40:18 -0700 | [diff] [blame] | 78 | 'src/third_party/depot_tools': |
Autoroller | 042b65d | 2017-11-08 16:35:48 -0800 | [diff] [blame] | 79 | Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '1413d75bc71561db4dd2f9085650c6b58a77161f', |
Mirko Bonadei | 65ceb66 | 2017-10-13 09:45:37 +0200 | [diff] [blame] | 80 | 'src/third_party/errorprone/lib': { |
Oleh Prypin | 3ebed36 | 2017-10-27 10:14:45 +0200 | [diff] [blame] | 81 | 'url': Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + '16b8b7298b183312a2fcac99fb1b594ccf7749d0', |
Mirko Bonadei | 65ceb66 | 2017-10-13 09:45:37 +0200 | [diff] [blame] | 82 | 'condition': 'checkout_android', |
| 83 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 84 | 'src/third_party/ffmpeg': |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 85 | Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'c33a5ee8e7b013b43e7fa9e0224857abc21564c2', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 86 | # WebRTC-only dependency (not present in Chromium). |
| 87 | 'src/third_party/gtest-parallel': |
Autoroller | 30fa063 | 2017-10-30 20:05:14 -0700 | [diff] [blame] | 88 | Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '89ab65d56d3c76e552f59adabbaf8b0cf80d55ea', |
kjellander | 3dae705 | 2017-05-03 06:44:36 -0700 | [diff] [blame] | 89 | 'src/third_party/googletest/src': |
buildbot | 8f82e63 | 2017-08-30 21:18:15 -0700 | [diff] [blame] | 90 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 91 | 'src/third_party/icu': { |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 92 | 'url': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'b31896655a701874d13e70cc24bca95e3e66a991', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 93 | }, |
| 94 | 'src/third_party/jsr-305/src': { |
| 95 | 'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| 96 | 'condition': 'checkout_android', |
| 97 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 98 | 'src/third_party/jsoncpp/source': |
| 99 | 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] | 100 | 'src/third_party/junit/src': { |
| 101 | 'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481', |
| 102 | 'condition': 'checkout_android', |
| 103 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 104 | # Used for building libFuzzers (only supports Linux). |
| 105 | 'src/third_party/libFuzzer/src': |
oprypin | 801f722 | 2017-09-01 05:43:07 -0700 | [diff] [blame] | 106 | 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] | 107 | 'src/third_party/libjpeg_turbo': |
buildbot | 1c23e94 | 2017-04-20 09:30:13 -0700 | [diff] [blame] | 108 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 109 | 'src/third_party/libsrtp': |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 110 | Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 111 | 'src/third_party/libvpx/source/libvpx': |
Autoroller | 0d6609d | 2017-11-01 14:05:05 -0700 | [diff] [blame] | 112 | Var('chromium_git') + '/webm/libvpx.git' + '@' + '3ba9a2c8b2341430b001ed531f1eedf7c9b0384f', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 113 | 'src/third_party/libyuv': |
Oleh Prypin | 3ebed36 | 2017-10-27 10:14:45 +0200 | [diff] [blame] | 114 | Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '8fa02df3c0591754958a50cc2896aafae319f3bc', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 115 | 'src/third_party/lss': { |
| 116 | 'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), |
| 117 | 'condition': 'checkout_android or checkout_linux', |
| 118 | }, |
| 119 | 'src/third_party/mockito/src': { |
| 120 | 'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850', |
| 121 | 'condition': 'checkout_android', |
| 122 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 123 | 'src/third_party/openh264/src': |
ssilkin | 1440c9f | 2017-09-28 03:35:45 -0700 | [diff] [blame] | 124 | Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + 'a180c9d4d6f1a4830ca9eed9d159d54996bd63cb', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 125 | 'src/third_party/openmax_dl': |
Henrik Kjellander | a9d4da8 | 2017-09-14 07:28:10 +0200 | [diff] [blame] | 126 | Var('webrtc_git') + '/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'), |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 127 | 'src/third_party/requests/src': { |
| 128 | 'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
| 129 | 'condition': 'checkout_android', |
| 130 | }, |
| 131 | 'src/third_party/robolectric/robolectric': { |
| 132 | 'url': Var('chromium_git') + '/external/robolectric.git' + '@' + 'b02c65cc6d7465f58f0de48a39914aa905692afa', |
| 133 | 'condition': 'checkout_android', |
| 134 | }, |
| 135 | 'src/third_party/ub-uiautomator/lib': { |
| 136 | 'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434', |
| 137 | 'condition': 'checkout_android', |
| 138 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 139 | 'src/third_party/usrsctp/usrsctplib': |
buildbot | 1b20dc4 | 2017-08-07 12:55:14 -0700 | [diff] [blame] | 140 | Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + 'f4819e1b177f7bfdd761c147f5a649b9f1a78c06', |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 141 | # WebRTC-only dependency (not present in Chromium). |
| 142 | 'src/third_party/winsdk_samples': { |
| 143 | 'url': Var('webrtc_git') + '/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073', |
| 144 | 'condition': 'checkout_win', |
| 145 | }, |
| 146 | # Dependency used by libjpeg-turbo. |
| 147 | 'src/third_party/yasm/binaries': { |
| 148 | 'url': Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881', |
| 149 | 'condition': 'checkout_win', |
| 150 | }, |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 151 | 'src/third_party/yasm/source/patched-yasm': |
buildbot | f3f7f62 | 2017-08-10 21:29:33 -0700 | [diff] [blame] | 152 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'b98114e18d8b9b84586b10d24353ab8616d4c5fc', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 153 | 'src/tools': |
Autoroller | 042b65d | 2017-11-08 16:35:48 -0800 | [diff] [blame] | 154 | Var('chromium_git') + '/chromium/src/tools' + '@' + 'a99f4556eb21006993afc20aec850564f6a50c09', |
kjellander@webrtc.org | 177567c | 2016-12-22 10:40:28 +0100 | [diff] [blame] | 155 | 'src/tools/gyp': |
buildbot | 2f0803c | 2017-07-25 11:40:43 -0700 | [diff] [blame] | 156 | Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', |
oprypin | 4ccd9c1 | 2017-08-30 00:42:43 -0700 | [diff] [blame] | 157 | 'src/tools/swarming_client': |
| 158 | Var('chromium_git') + '/infra/luci/client-py.git' + '@' + Var('swarming_revision'), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 159 | } |
kjellander | 200028f | 2017-08-17 09:54:12 -0700 | [diff] [blame] | 160 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 161 | hooks = [ |
| 162 | { |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 163 | # This clobbers when necessary (based on get_landmines.py). It should be |
| 164 | # an early hook but it will need to be run after syncing Chromium and |
| 165 | # setting up the links, so the script actually exists. |
| 166 | 'name': 'landmines', |
| 167 | 'pattern': '.', |
| 168 | 'action': [ |
| 169 | 'python', |
| 170 | 'src/build/landmines.py', |
| 171 | '--landmine-scripts', |
Henrik Kjellander | 90fd7d8 | 2017-05-09 08:30:10 +0200 | [diff] [blame] | 172 | 'src/tools_webrtc/get_landmines.py', |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 173 | '--src-dir', |
| 174 | 'src', |
| 175 | ], |
| 176 | }, |
oprypin | 40e7ebd | 2017-07-27 01:40:18 -0700 | [diff] [blame] | 177 | { |
| 178 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 179 | # disabled. |
| 180 | 'name': 'disable_depot_tools_selfupdate', |
| 181 | 'pattern': '.', |
| 182 | 'action': [ |
| 183 | 'python', |
| 184 | 'src/third_party/depot_tools/update_depot_tools_toggle.py', |
| 185 | '--disable', |
| 186 | ], |
| 187 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 188 | { |
| 189 | # Downloads the current stable linux sysroot to build/linux/ if needed. |
| 190 | # This sysroot updates at about the same rate that the chrome build deps |
| 191 | # change. This script is a no-op except for linux users who are doing |
| 192 | # official chrome builds or cross compiling. |
| 193 | 'name': 'sysroot', |
| 194 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 195 | 'condition': 'checkout_linux', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 196 | 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', |
| 197 | '--running-as-hook'], |
| 198 | }, |
| 199 | { |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 200 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 201 | 'name': 'win_toolchain', |
| 202 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 203 | # TODO(thakis): Put some condition here. Not just host_os == 'win', because |
| 204 | # we also need this for (mac|linux) -> win cross builds. |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 205 | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| 206 | }, |
kjellander | ec2c93e | 2017-09-08 10:52:17 -0700 | [diff] [blame] | 207 | { |
| 208 | # Update the Mac toolchain if necessary. |
| 209 | 'name': 'mac_toolchain', |
| 210 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 211 | 'condition': 'checkout_mac', |
kjellander | ec2c93e | 2017-09-08 10:52:17 -0700 | [diff] [blame] | 212 | 'action': ['python', 'src/build/mac_toolchain.py'], |
| 213 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 214 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 215 | # debugging when used with clang on Ubuntu Precise. |
| 216 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 217 | { |
| 218 | 'name': 'binutils', |
| 219 | 'pattern': 'src/third_party/binutils', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 220 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 221 | 'action': [ |
| 222 | 'python', |
| 223 | 'src/third_party/binutils/download.py', |
| 224 | ], |
| 225 | }, |
| 226 | { |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 227 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 228 | 'name': 'clang', |
| 229 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 230 | 'action': ['python', 'src/tools/clang/scripts/update.py'], |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 231 | }, |
ehmaldonado | 293bc2a | 2016-11-25 04:58:47 -0800 | [diff] [blame] | 232 | { |
| 233 | # Update LASTCHANGE. |
| 234 | 'name': 'lastchange', |
| 235 | 'pattern': '.', |
| 236 | 'action': ['python', 'src/build/util/lastchange.py', |
| 237 | '-o', 'src/build/util/LASTCHANGE'], |
| 238 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 239 | # Pull GN binaries. |
| 240 | { |
| 241 | 'name': 'gn_win', |
| 242 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 243 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 244 | 'action': [ 'download_from_google_storage', |
| 245 | '--no_resume', |
| 246 | '--platform=win32', |
| 247 | '--no_auth', |
| 248 | '--bucket', 'chromium-gn', |
| 249 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 250 | ], |
| 251 | }, |
| 252 | { |
| 253 | 'name': 'gn_mac', |
| 254 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 255 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 256 | 'action': [ 'download_from_google_storage', |
| 257 | '--no_resume', |
| 258 | '--platform=darwin', |
| 259 | '--no_auth', |
| 260 | '--bucket', 'chromium-gn', |
| 261 | '-s', 'src/buildtools/mac/gn.sha1', |
| 262 | ], |
| 263 | }, |
| 264 | { |
| 265 | 'name': 'gn_linux64', |
| 266 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 267 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 268 | 'action': [ 'download_from_google_storage', |
| 269 | '--no_resume', |
| 270 | '--platform=linux*', |
| 271 | '--no_auth', |
| 272 | '--bucket', 'chromium-gn', |
| 273 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 274 | ], |
| 275 | }, |
| 276 | # Pull clang-format binaries using checked-in hashes. |
| 277 | { |
| 278 | 'name': 'clang_format_win', |
| 279 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 280 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 281 | 'action': [ 'download_from_google_storage', |
| 282 | '--no_resume', |
| 283 | '--platform=win32', |
| 284 | '--no_auth', |
| 285 | '--bucket', 'chromium-clang-format', |
| 286 | '-s', 'src/buildtools/win/clang-format.exe.sha1', |
| 287 | ], |
| 288 | }, |
| 289 | { |
| 290 | 'name': 'clang_format_mac', |
| 291 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 292 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 293 | 'action': [ 'download_from_google_storage', |
| 294 | '--no_resume', |
| 295 | '--platform=darwin', |
| 296 | '--no_auth', |
| 297 | '--bucket', 'chromium-clang-format', |
| 298 | '-s', 'src/buildtools/mac/clang-format.sha1', |
| 299 | ], |
| 300 | }, |
| 301 | { |
| 302 | 'name': 'clang_format_linux', |
| 303 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 304 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 305 | 'action': [ 'download_from_google_storage', |
| 306 | '--no_resume', |
| 307 | '--platform=linux*', |
| 308 | '--no_auth', |
| 309 | '--bucket', 'chromium-clang-format', |
| 310 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 311 | ], |
| 312 | }, |
Oleh Prypin | 3ebed36 | 2017-10-27 10:14:45 +0200 | [diff] [blame] | 313 | # Pull rc binaries using checked-in hashes. |
| 314 | { |
| 315 | 'name': 'rc_win', |
| 316 | 'pattern': '.', |
| 317 | 'condition': 'checkout_win and host_os == "win"', |
| 318 | 'action': [ 'python', |
| 319 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 320 | '--no_resume', |
| 321 | '--no_auth', |
| 322 | '--bucket', 'chromium-browser-clang/rc', |
| 323 | '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1', |
| 324 | ], |
| 325 | }, |
| 326 | { |
| 327 | 'name': 'rc_mac', |
| 328 | 'pattern': '.', |
| 329 | 'condition': 'checkout_win and host_os == "mac"', |
| 330 | 'action': [ 'python', |
| 331 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 332 | '--no_resume', |
| 333 | '--no_auth', |
| 334 | '--bucket', 'chromium-browser-clang/rc', |
| 335 | '-s', 'src/build/toolchain/win/rc/mac/rc.sha1', |
| 336 | ], |
| 337 | }, |
| 338 | { |
| 339 | 'name': 'rc_linux', |
| 340 | 'pattern': '.', |
| 341 | 'condition': 'checkout_win and host_os == "linux"', |
| 342 | 'action': [ 'python', |
| 343 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 344 | '--no_resume', |
| 345 | '--no_auth', |
| 346 | '--bucket', 'chromium-browser-clang/rc', |
| 347 | '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1', |
| 348 | ], |
| 349 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 350 | # Pull luci-go binaries (isolate, swarming) using checked-in hashes. |
| 351 | { |
| 352 | 'name': 'luci-go_win', |
| 353 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 354 | 'condition': 'host_os == "win"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 355 | 'action': [ 'download_from_google_storage', |
| 356 | '--no_resume', |
| 357 | '--platform=win32', |
| 358 | '--no_auth', |
| 359 | '--bucket', 'chromium-luci', |
| 360 | '-d', 'src/tools/luci-go/win64', |
| 361 | ], |
| 362 | }, |
| 363 | { |
| 364 | 'name': 'luci-go_mac', |
| 365 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 366 | 'condition': 'host_os == "mac"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 367 | 'action': [ 'download_from_google_storage', |
| 368 | '--no_resume', |
| 369 | '--platform=darwin', |
| 370 | '--no_auth', |
| 371 | '--bucket', 'chromium-luci', |
| 372 | '-d', 'src/tools/luci-go/mac64', |
| 373 | ], |
| 374 | }, |
| 375 | { |
| 376 | 'name': 'luci-go_linux', |
| 377 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 378 | 'condition': 'host_os == "linux"', |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 379 | 'action': [ 'download_from_google_storage', |
| 380 | '--no_resume', |
| 381 | '--platform=linux*', |
| 382 | '--no_auth', |
| 383 | '--bucket', 'chromium-luci', |
| 384 | '-d', 'src/tools/luci-go/linux64', |
| 385 | ], |
| 386 | }, |
Henrik Kjellander | 55dad1b | 2017-05-11 12:00:53 +0200 | [diff] [blame] | 387 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 388 | { |
| 389 | 'name': 'syzygy-binaries', |
| 390 | 'pattern': '.', |
Henrik Kjellander | 6b26975 | 2017-10-09 13:00:41 +0200 | [diff] [blame] | 391 | 'condition': 'host_os == "win"', |
Henrik Kjellander | 55dad1b | 2017-05-11 12:00:53 +0200 | [diff] [blame] | 392 | 'action': ['python', |
| 393 | 'src/build/get_syzygy_binaries.py', |
| 394 | '--output-dir=src/third_party/syzygy/binaries', |
| 395 | '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7', |
| 396 | '--overwrite', |
| 397 | ], |
| 398 | }, |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 399 | { |
Mirko Bonadei | cb2bc11 | 2017-10-10 13:28:18 +0200 | [diff] [blame] | 400 | 'name': 'msan_chained_origins', |
| 401 | 'pattern': '.', |
| 402 | 'condition': 'checkout_instrumented_libraries', |
| 403 | 'action': [ 'python', |
| 404 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 405 | "--no_resume", |
| 406 | "--no_auth", |
| 407 | "--bucket", "chromium-instrumented-libraries", |
| 408 | "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1", |
| 409 | ], |
| 410 | }, |
| 411 | { |
| 412 | 'name': 'msan_no_origins', |
| 413 | 'pattern': '.', |
| 414 | 'condition': 'checkout_instrumented_libraries', |
| 415 | 'action': [ 'python', |
| 416 | 'src/third_party/depot_tools/download_from_google_storage.py', |
| 417 | "--no_resume", |
| 418 | "--no_auth", |
| 419 | "--bucket", "chromium-instrumented-libraries", |
| 420 | "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1", |
| 421 | ], |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 422 | }, |
| 423 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 424 | # 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] | 425 | 'pattern': '.', |
| 426 | 'action': ['download_from_google_storage', |
| 427 | '--directory', |
| 428 | '--recursive', |
| 429 | '--num_threads=10', |
| 430 | '--no_auth', |
kjellander | 4ff818e | 2015-12-18 12:29:28 -0800 | [diff] [blame] | 431 | '--quiet', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 432 | '--bucket', 'chromium-webrtc-resources', |
| 433 | 'src/resources'], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 434 | }, |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 435 | { |
Edward Lemur | 82752c4 | 2017-11-08 19:08:54 +0100 | [diff] [blame] | 436 | 'name': 'Android CIPD Ensure', |
| 437 | 'pattern': '.', |
| 438 | 'condition': 'checkout_android', |
| 439 | 'action': ['src/build/cipd/cipd_wrapper.py', |
| 440 | '--chromium-root', 'src', |
| 441 | '--ensure-file', 'src/build/cipd/android/android.ensure', |
| 442 | ], |
| 443 | }, |
| 444 | { |
Henrik Kjellander | 5a17ea9 | 2017-10-09 13:14:23 +0200 | [diff] [blame] | 445 | # This downloads SDK extras and puts them in the |
| 446 | # third_party/android_tools/sdk/extras directory. |
| 447 | 'name': 'sdkextras', |
| 448 | 'pattern': '.', |
| 449 | 'condition': 'checkout_android', |
| 450 | # When adding a new sdk extras package to download, add the package |
| 451 | # directory and zip file to .gitignore in third_party/android_tools. |
| 452 | 'action': ['python', |
| 453 | 'src/build/android/play_services/update.py', |
| 454 | 'download' |
| 455 | ], |
| 456 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 457 | ] |
kjellander | 200028f | 2017-08-17 09:54:12 -0700 | [diff] [blame] | 458 | |
kjellander | 24d812d | 2016-11-22 07:02:11 -0800 | [diff] [blame] | 459 | recursedeps = [ |
| 460 | # buildtools provides clang_format, libc++, and libc++abi. |
| 461 | 'src/buildtools', |
| 462 | # android_tools manages the NDK. |
| 463 | 'src/third_party/android_tools', |
| 464 | ] |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 465 | |
| 466 | # Define rules for which include paths are allowed in our source. |
| 467 | include_rules = [ |
| 468 | # Base is only used to build Android APK tests and may not be referenced by |
| 469 | # WebRTC production code. |
| 470 | "-base", |
| 471 | "-chromium", |
| 472 | "+external/webrtc/webrtc", # Android platform build. |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 473 | "+libyuv", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 474 | # Individual headers that will be moved out of here, see webrtc:4243. |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 475 | "+call/rtp_config.h", |
| 476 | "+common_types.h", |
| 477 | "+transport.h", |
| 478 | "+typedefs.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 479 | |
| 480 | "+WebRTC", |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 481 | "+api", |
| 482 | "+modules/include", |
| 483 | "+rtc_base", |
| 484 | "+test", |
| 485 | "+rtc_tools", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 486 | ] |
| 487 | |
| 488 | # The below rules will be removed when webrtc:4243 is fixed. |
| 489 | specific_include_rules = { |
| 490 | "video_receive_stream\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 491 | "+call/video_receive_stream.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 492 | ], |
| 493 | "video_send_stream\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 494 | "+call/video_send_stream.h", |
Mirko Bonadei | bb54720 | 2017-09-15 06:15:48 +0200 | [diff] [blame] | 495 | ], |
| 496 | } |