diff --git a/DEPS b/DEPS index 650d687df4..7f3e4a7ffc 100644 --- a/DEPS +++ b/DEPS @@ -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': [ diff --git a/tools_webrtc/android/build_aar.py b/tools_webrtc/android/build_aar.py index 85c1411fde..f1ca2e48eb 100755 --- a/tools_webrtc/android/build_aar.py +++ b/tools_webrtc/android/build_aar.py @@ -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: