summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-127-bindgen-include-temporary.patch
blob: 570cce82fe022b364a1467156e2516ca8001cbc6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                           
diff --git a/build/rust/rust_bindgen.gni b/build/rust/rust_bindgen.gni
index bf110ca93c..654ddf5f0b 100644
--- a/build/rust/rust_bindgen.gni
+++ b/build/rust/rust_bindgen.gni
@@ -152,6 +152,8 @@ template("rust_bindgen") {
       clang_resource_dir,
     ]
 
+    args += [ "-I" + rebase_path(sysroot + "/usr/lib/clang/17/include/", root_build_dir) ]
+
     # The `--sysroot` flag is not working as expected and gets ignored (we don't
     # fully understand why, see b/328510249). But we add `-isystem` to point at
     # the headers in the sysroot which are otherwise not found.