Home | History | Annotate | Download | only in error_test
      1 genrule {
      2     name: "hidl_error_test_gen",
      3     tools: ["hidl-gen"],
      4     tool_files: ["hidl_error_test.sh"],
      5     cmd: "$(location hidl_error_test.sh) $(location hidl-gen) &&" +
      6          "echo 'int main(){return 0;}' > $(genDir)/TODO_b_37575883.cpp",
      7     out: ["TODO_b_37575883.cpp"],
      8     srcs: [
      9         "hidl_error_test.sh",
     10 
     11         "**/*.hal",
     12         "**/required_error",
     13     ],
     14 }
     15 
     16 cc_test_host {
     17     name: "hidl_error_test",
     18     cflags: ["-Wall", "-Werror"],
     19     generated_sources: ["hidl_error_test_gen"],
     20 }
     21