blob: 90a5d9c25aea78ea7326703ddace7b3b0dec470d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- build/rust/rust_bindgen.gni.orig 2024-08-26 12:06:38 UTC
+++ build/rust/rust_bindgen.gni
@@ -11,14 +11,14 @@ if (is_win) {
import("//build/toolchain/win/win_toolchain_data.gni")
}
-_bindgen_path = "${rust_bindgen_root}/bin/bindgen"
+_bindgen_path = "/usr/local/bin/bindgen"
if (host_os == "win") {
_bindgen_path = "${_bindgen_path}.exe"
}
# On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
# ../lib.
-_libclang_path = rust_bindgen_root
+_libclang_path = "/usr/local/llvm17"
if (host_os == "win") {
_libclang_path += "/bin"
} else {
|