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