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

Commit 2f133d32 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "floss: Add rerun-if-changed cargo instruction when using bt_packetgen"

parents d904e899 1e291432
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ fn generate_packets() {
    }

    for i in 0..input_files.len() {
        println!("cargo:rerun-if-changed={}", input_files[i].display());
        let output = Command::new(packetgen.as_os_str().to_str().unwrap())
            .arg("--source_root=".to_owned() + gd_root.as_os_str().to_str().unwrap())
            .arg("--out=".to_owned() + out_dir.as_os_str().to_str().unwrap())
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ fn generate_packets() {
        );
    }

    println!("cargo:rerun-if-changed=lmp_packets.pdl");
    let output = Command::new(packetgen.as_os_str().to_str().unwrap())
        .arg("--out=".to_owned() + out_dir.as_os_str().to_str().unwrap())
        .arg("--include=.")