Fix rust DEPS.

* This is a forward fix for https://webrtc-review.googlesource.com/c/src/+/367921.
* Also add 'enable_rust' gn arg when running build_aar because it is failing otherwise (https://logs.chromium.org/logs/webrtc/buildbucket/cr-buildbucket/8731293654930007281/+/u/build_android_archive/stdout).

Change-Id: I676ca47255e9b33f04487624625b0078dcb137a7
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/368300
Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43400}
This commit is contained in:
Jeremy Leconte 2024-11-14 14:53:11 +01:00 committed by WebRTC LUCI CQ
parent 2578802038
commit 3b2402bd23
2 changed files with 3 additions and 6 deletions

7
DEPS
View File

@ -126,12 +126,7 @@ deps = {
'condition': 'not (host_os == "linux" and host_cpu == "arm64")',
},
'third_party/rust': {
'url': Var('chromium_git') + '/chromium/src/third_party/rust@0e0ef14876a32128574eaf80bc7fc1c7cde92006',
'condition': 'checkout_android or checkout_fuzzer',
},
'third_party/rust-toolchain': {
'src/third_party/rust-toolchain': {
'dep_type': 'gcs',
'bucket': 'chromium-browser-clang',
'objects': [

View File

@ -176,6 +176,8 @@ def Build(build_dir, arch, use_remoteexec, extra_gn_args, extra_gn_switches,
'rtc_include_tests': False,
'target_cpu': _GetTargetCpu(arch),
'use_remoteexec': use_remoteexec,
'enable_rust': True,
'enable_rust_cxx': True,
}
arm_version = _GetArmVersion(arch)
if arm_version: