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

Commit 9a3ffe97 authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

floss: Fix generated header file name from flatc

Target bluetooth_flatbuffer_bundler gets rebuild every time because
ninja looks for the wrong input file name.

Bug: 176847256
Tag: #floss
Test: manual - ninja bluetooth_flatbuffer_bundler

Change-Id: I07c04b85d852c5eac476ab3052e1790c6f46e8b2
parent ae99c24e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -58,7 +58,7 @@ template("bt_flatc_binary_schema") {


      # headers get generated ito subdirectories based on relative path
      # headers get generated ito subdirectories based on relative path
      if (gen_header) {
      if (gen_header) {
        header_name = string_replace(s, ".fbs", ".h")
        header_name = string_replace(s, ".fbs", "_generated.h")
        outputs += [ "${target_gen_dir}/${header_name}" ]
        outputs += [ "${target_gen_dir}/${header_name}" ]
      }
      }
    }
    }