Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b474b6f9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "floss: Rerun topshim bindgen if underlying C++ code changes" am: 9b5b4312

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1999951

Change-Id: I98b2e0359da5977005850b009734a44a87ab769a
parents 6a54265e 9b5b4312
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ fn main() {
    let bt_searches =
        paths.iter().map(|tail| format!("-I{}{}", search_root, tail)).collect::<Vec<String>>();

    // Also re-run the build if anything in the C++ build changes
    for path in bt_searches.iter() {
        println!("cargo:rerun-if-changed={}", path);
    }

    // "-x" and "c++" must be separate due to a bug
    let clang_args: Vec<&str> = vec!["-x", "c++", "-std=c++17"];