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