|  | # This file contains dependencies for WebRTC. | 
|  |  | 
|  | vars = { | 
|  | 'chromium_git': 'https://chromium.googlesource.com', | 
|  | # By default, we should check out everything needed to run on the main | 
|  | # chromium waterfalls. More info at: crbug.com/570091. | 
|  | 'checkout_configuration': 'default', | 
|  | 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"', | 
|  | 'webrtc_git': 'https://webrtc.googlesource.com', | 
|  | 'chromium_revision': '5d01e2667f5313b8cbdf4f876e84780c0a658ab1', | 
|  | 'boringssl_git': 'https://boringssl.googlesource.com', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling swarming_client | 
|  | # and whatever else without interference from each other. | 
|  | 'swarming_revision': '88229872dd17e71658fe96763feaa77915d8cbd6', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling openmax_dl | 
|  | # and whatever else without interference from each other. | 
|  | 'openmax_dl_revision': 'b611996df3b8f6b151339d22c12c21f167009cb6', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling BoringSSL | 
|  | # and whatever else without interference from each other. | 
|  | 'boringssl_revision': '94cd196a80252c98e329e979870f2a462cc4f402', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling lss | 
|  | # and whatever else without interference from each other. | 
|  | 'lss_revision': 'e6527b0cd469e3ff5764785dadcb39bf7d787154', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling catapult | 
|  | # and whatever else without interference from each other. | 
|  | 'catapult_revision': 'c3373753de40a505241481ad2e74e2746f21551f', | 
|  | # Three lines of non-changing comments so that | 
|  | # the commit queue can handle CLs rolling libFuzzer | 
|  | # and whatever else without interference from each other. | 
|  | 'libfuzzer_revision': 'ba2c1cd6f87accb32b5dbce297387c56a2e53a2f', | 
|  | } | 
|  | deps = { | 
|  | # TODO(kjellander): Move this to be Android-only once the libevent dependency | 
|  | # in base/third_party/libevent is solved. | 
|  | 'src/base': | 
|  | Var('chromium_git') + '/chromium/src/base' + '@' + 'b2ca0b612fde77d80298f91d5172d25d8b276e7e', | 
|  | 'src/build': | 
|  | Var('chromium_git') + '/chromium/src/build' + '@' + 'a02764f4fda40254275f59a588857a63c76b70ce', | 
|  | 'src/buildtools': | 
|  | Var('chromium_git') + '/chromium/buildtools.git' + '@' + '437a616be5b2056336ed3ca5c33c41f7788ede09', | 
|  | # Gradle 4.3-rc4. Used for testing Android Studio project generation for WebRTC. | 
|  | 'src/examples/androidtests/third_party/gradle': { | 
|  | 'url': Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' + | 
|  | '89af43c4d0506f69980f00dde78c97b2f81437f8', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/ios': { | 
|  | 'url': Var('chromium_git') + '/chromium/src/ios' + '@' + 'f8a86f1a1baa7d21f49483b15ea26ec48ee8a734', | 
|  | 'condition': 'checkout_ios', | 
|  | }, | 
|  | 'src/testing': | 
|  | Var('chromium_git') + '/chromium/src/testing' + '@' + 'dee45e96fe4a22123ed637c8424955a4d0cbcbd1', | 
|  | 'src/third_party': | 
|  | Var('chromium_git') + '/chromium/src/third_party' + '@' + '86dfb27ddfd75af8f72c79da959c2a3fdc5232e0', | 
|  | 'src/third_party/android_ndk': { | 
|  | 'url': Var('chromium_git') + '/android_ndk.git' + '@' + 'e951c37287c7d8cd915bf8d4149fd4a06d808b55', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/android_tools': { | 
|  | 'url': Var('chromium_git') + '/android_tools.git' + '@' + 'c9f9bbf0a6c862fbef6115e80e8617093cd58e6b', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/auto/src': { | 
|  | 'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '8a81a858ae7b78a1aef71ac3905fade0bbd64e82', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/boringssl/src': | 
|  | Var('boringssl_git') + '/boringssl.git' + '@' +  Var('boringssl_revision'), | 
|  | 'src/third_party/catapult': | 
|  | Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'), | 
|  | 'src/third_party/ced/src': { | 
|  | 'url': Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/colorama/src': | 
|  | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', | 
|  | 'src/third_party/depot_tools': | 
|  | Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + 'fd4ad2416554c43f6ecd2c9c62ab5914f521c9ad', | 
|  | 'src/third_party/errorprone/lib': { | 
|  | 'url': Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + 'ecc57c2b00627667874744b9ad8efe10734d97a8', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/ffmpeg': | 
|  | Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '3e444ad8860b5d90d40a5c6e19947aba376a976b', | 
|  | 'src/third_party/findbugs': { | 
|  | 'url': Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '4275d9ac8610db6b1bc9a5e887f97e41b33fac67', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | # WebRTC-only dependency (not present in Chromium). | 
|  | 'src/third_party/gtest-parallel': | 
|  | Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '180c2f52341c065fd4d8418a238375ab6c91b336', | 
|  | 'src/third_party/googletest/src': | 
|  | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '0062e4869f07a3ef235703ddf63af604b712446c', | 
|  | 'src/third_party/icu': { | 
|  | 'url': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c8ca2962b46670ec89071ffd1291688983cd319c', | 
|  | }, | 
|  | 'src/third_party/jsr-305/src': { | 
|  | 'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/jsoncpp/source': | 
|  | Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248 | 
|  | 'src/third_party/junit/src': { | 
|  | 'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | # Used for building libFuzzers (only supports Linux). | 
|  | 'src/third_party/libFuzzer/src': | 
|  | Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' +  Var('libfuzzer_revision'), | 
|  | 'src/third_party/libjpeg_turbo': | 
|  | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd', | 
|  | 'src/third_party/libsrtp': | 
|  | Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423', | 
|  | 'src/third_party/libvpx/source/libvpx': | 
|  | Var('chromium_git') + '/webm/libvpx.git' + '@' +  '373e08f921e5bfd5a96963fabbbbe16ec793d44e', | 
|  | 'src/third_party/libyuv': | 
|  | Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '92e22cf5b66173d5d5056751ca62bc2254e4ff86', | 
|  | 'src/third_party/lss': { | 
|  | 'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), | 
|  | 'condition': 'checkout_android or checkout_linux', | 
|  | }, | 
|  | 'src/third_party/mockito/src': { | 
|  | 'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/openh264/src': | 
|  | Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '2e96d62426547ac4fb5cbcd122e5f6eb68d66ee6', | 
|  | 'src/third_party/openmax_dl': | 
|  | Var('webrtc_git') + '/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'), | 
|  | 'src/third_party/requests/src': { | 
|  | 'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/robolectric/robolectric': { | 
|  | 'url': Var('chromium_git') + '/external/robolectric.git' + '@' + '7e067f1112e1502caa742f7be72d37b5678d3403', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/ub-uiautomator/lib': { | 
|  | 'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434', | 
|  | 'condition': 'checkout_android', | 
|  | }, | 
|  | 'src/third_party/usrsctp/usrsctplib': | 
|  | Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '0e076261b832121cf120ddc04aaff87ac3a34d30', | 
|  | # WebRTC-only dependency (not present in Chromium). | 
|  | 'src/third_party/winsdk_samples': { | 
|  | 'url': Var('webrtc_git') + '/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073', | 
|  | 'condition': 'checkout_win', | 
|  | }, | 
|  | # Dependency used by libjpeg-turbo. | 
|  | 'src/third_party/yasm/binaries': { | 
|  | 'url': Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881', | 
|  | 'condition': 'checkout_win', | 
|  | }, | 
|  | 'src/third_party/yasm/source/patched-yasm': | 
|  | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'b98114e18d8b9b84586b10d24353ab8616d4c5fc', | 
|  | 'src/tools': | 
|  | Var('chromium_git') + '/chromium/src/tools' + '@' + '3265525bff0a6f85db15b9f8e8c30cb925b9c224', | 
|  | 'src/tools/gyp': | 
|  | Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', | 
|  | 'src/tools/swarming_client': | 
|  | Var('chromium_git') + '/infra/luci/client-py.git' + '@' +  Var('swarming_revision'), | 
|  | } | 
|  |  | 
|  | hooks = [ | 
|  | { | 
|  | # This clobbers when necessary (based on get_landmines.py). It should be | 
|  | # an early hook but it will need to be run after syncing Chromium and | 
|  | # setting up the links, so the script actually exists. | 
|  | 'name': 'landmines', | 
|  | 'pattern': '.', | 
|  | 'action': [ | 
|  | 'python', | 
|  | 'src/build/landmines.py', | 
|  | '--landmine-scripts', | 
|  | 'src/tools_webrtc/get_landmines.py', | 
|  | '--src-dir', | 
|  | 'src', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | # Ensure that the DEPS'd "depot_tools" has its self-update capability | 
|  | # disabled. | 
|  | 'name': 'disable_depot_tools_selfupdate', | 
|  | 'pattern': '.', | 
|  | 'action': [ | 
|  | 'python', | 
|  | 'src/third_party/depot_tools/update_depot_tools_toggle.py', | 
|  | '--disable', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | # Downloads the current stable linux sysroot to build/linux/ if needed. | 
|  | # This sysroot updates at about the same rate that the chrome build deps | 
|  | # change. This script is a no-op except for linux users who are doing | 
|  | # official chrome builds or cross compiling. | 
|  | 'name': 'sysroot', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_linux', | 
|  | 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', | 
|  | '--running-as-hook'], | 
|  | }, | 
|  | { | 
|  | # Update the Windows toolchain if necessary. Must run before 'clang' below. | 
|  | 'name': 'win_toolchain', | 
|  | 'pattern': '.', | 
|  | # TODO(thakis): Put some condition here. Not just host_os == 'win', because | 
|  | # we also need this for (mac|linux) -> win cross builds. | 
|  | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], | 
|  | }, | 
|  | { | 
|  | # Update the Mac toolchain if necessary. | 
|  | 'name': 'mac_toolchain', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_mac', | 
|  | 'action': ['python', 'src/build/mac_toolchain.py'], | 
|  | }, | 
|  | # Pull binutils for linux, enabled debug fission for faster linking / | 
|  | # debugging when used with clang on Ubuntu Precise. | 
|  | # https://code.google.com/p/chromium/issues/detail?id=352046 | 
|  | { | 
|  | 'name': 'binutils', | 
|  | 'pattern': 'src/third_party/binutils', | 
|  | 'condition': 'host_os == "linux"', | 
|  | 'action': [ | 
|  | 'python', | 
|  | 'src/third_party/binutils/download.py', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | # Note: On Win, this should run after win_toolchain, as it may use it. | 
|  | 'name': 'clang', | 
|  | 'pattern': '.', | 
|  | 'action': ['python', 'src/tools/clang/scripts/update.py'], | 
|  | }, | 
|  | { | 
|  | # Update LASTCHANGE. | 
|  | 'name': 'lastchange', | 
|  | 'pattern': '.', | 
|  | 'action': ['python', 'src/build/util/lastchange.py', | 
|  | '-o', 'src/build/util/LASTCHANGE'], | 
|  | }, | 
|  | # Pull GN binaries. | 
|  | { | 
|  | 'name': 'gn_win', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "win"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=win32', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-gn', | 
|  | '-s', 'src/buildtools/win/gn.exe.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'gn_mac', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "mac"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=darwin', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-gn', | 
|  | '-s', 'src/buildtools/mac/gn.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'gn_linux64', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "linux"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=linux*', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-gn', | 
|  | '-s', 'src/buildtools/linux64/gn.sha1', | 
|  | ], | 
|  | }, | 
|  | # Pull clang-format binaries using checked-in hashes. | 
|  | { | 
|  | 'name': 'clang_format_win', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "win"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=win32', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-clang-format', | 
|  | '-s', 'src/buildtools/win/clang-format.exe.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'clang_format_mac', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "mac"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=darwin', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-clang-format', | 
|  | '-s', 'src/buildtools/mac/clang-format.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'clang_format_linux', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "linux"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=linux*', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-clang-format', | 
|  | '-s', 'src/buildtools/linux64/clang-format.sha1', | 
|  | ], | 
|  | }, | 
|  | # Pull rc binaries using checked-in hashes. | 
|  | { | 
|  | 'name': 'rc_win', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_win and host_os == "win"', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/depot_tools/download_from_google_storage.py', | 
|  | '--no_resume', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-browser-clang/rc', | 
|  | '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'rc_mac', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_win and host_os == "mac"', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/depot_tools/download_from_google_storage.py', | 
|  | '--no_resume', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-browser-clang/rc', | 
|  | '-s', 'src/build/toolchain/win/rc/mac/rc.sha1', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'rc_linux', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_win and host_os == "linux"', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/depot_tools/download_from_google_storage.py', | 
|  | '--no_resume', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-browser-clang/rc', | 
|  | '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1', | 
|  | ], | 
|  | }, | 
|  | # Pull luci-go binaries (isolate, swarming) using checked-in hashes. | 
|  | { | 
|  | 'name': 'luci-go_win', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "win"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=win32', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-luci', | 
|  | '-d', 'src/tools/luci-go/win64', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'luci-go_mac', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "mac"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=darwin', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-luci', | 
|  | '-d', 'src/tools/luci-go/mac64', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'luci-go_linux', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "linux"', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=linux*', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-luci', | 
|  | '-d', 'src/tools/luci-go/linux64', | 
|  | ], | 
|  | }, | 
|  | # Pull the Syzygy binaries, used for optimization and instrumentation. | 
|  | { | 
|  | 'name': 'syzygy-binaries', | 
|  | 'pattern': '.', | 
|  | 'condition': 'host_os == "win"', | 
|  | 'action': ['python', | 
|  | 'src/build/get_syzygy_binaries.py', | 
|  | '--output-dir=src/third_party/syzygy/binaries', | 
|  | '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7', | 
|  | '--overwrite', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'msan_chained_origins', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_instrumented_libraries', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/depot_tools/download_from_google_storage.py', | 
|  | "--no_resume", | 
|  | "--no_auth", | 
|  | "--bucket", "chromium-instrumented-libraries", | 
|  | "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1", | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'msan_no_origins', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_instrumented_libraries', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/depot_tools/download_from_google_storage.py', | 
|  | "--no_resume", | 
|  | "--no_auth", | 
|  | "--bucket", "chromium-instrumented-libraries", | 
|  | "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1", | 
|  | ], | 
|  | }, | 
|  | { | 
|  | # Download test resources, i.e. video and audio files from Google Storage. | 
|  | 'pattern': '.', | 
|  | 'action': ['download_from_google_storage', | 
|  | '--directory', | 
|  | '--recursive', | 
|  | '--num_threads=10', | 
|  | '--no_auth', | 
|  | '--quiet', | 
|  | '--bucket', 'chromium-webrtc-resources', | 
|  | 'src/resources'], | 
|  | }, | 
|  | { | 
|  | 'name': 'Android CIPD Ensure', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_android', | 
|  | 'action': ['src/build/cipd/cipd_wrapper.py', | 
|  | '--chromium-root', 'src', | 
|  | '--ensure-file', 'src/build/cipd/android/android.ensure', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | # This downloads SDK extras and puts them in the | 
|  | # third_party/android_tools/sdk/extras directory. | 
|  | 'name': 'sdkextras', | 
|  | 'pattern': '.', | 
|  | 'condition': 'checkout_android', | 
|  | # When adding a new sdk extras package to download, add the package | 
|  | # directory and zip file to .gitignore in third_party/android_tools. | 
|  | 'action': ['python', | 
|  | 'src/build/android/play_services/update.py', | 
|  | 'download' | 
|  | ], | 
|  | }, | 
|  | ] | 
|  |  | 
|  | recursedeps = [ | 
|  | # buildtools provides clang_format, libc++, and libc++abi. | 
|  | 'src/buildtools', | 
|  | # android_tools manages the NDK. | 
|  | 'src/third_party/android_tools', | 
|  | ] | 
|  |  | 
|  | # Define rules for which include paths are allowed in our source. | 
|  | include_rules = [ | 
|  | # Base is only used to build Android APK tests and may not be referenced by | 
|  | # WebRTC production code. | 
|  | "-base", | 
|  | "-chromium", | 
|  | "+external/webrtc/webrtc",  # Android platform build. | 
|  | "+libyuv", | 
|  | # Individual headers that will be moved out of here, see webrtc:4243. | 
|  | "+call/rtp_config.h", | 
|  | "+common_types.h", | 
|  | "+transport.h", | 
|  | "+typedefs.h", | 
|  |  | 
|  | "+WebRTC", | 
|  | "+api", | 
|  | "+modules/include", | 
|  | "+rtc_base", | 
|  | "+test", | 
|  | "+rtc_tools", | 
|  | ] | 
|  |  | 
|  | # The below rules will be removed when webrtc:4243 is fixed. | 
|  | specific_include_rules = { | 
|  | "video_receive_stream\.h": [ | 
|  | "+call/video_receive_stream.h", | 
|  | ], | 
|  | "video_send_stream\.h": [ | 
|  | "+call/video_send_stream.h", | 
|  | ], | 
|  | } |