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