pw_protobuf_compiler: Disable include check for generated headers
Disable GN include checks for Nanopb RPC protobuf libraries. Include
checks were accidentally disabled for Nanopb libraries rather than
Nanopb RPC libraries.
Change-Id: Ib9fcd30bba106ddfd403f038867c56a3b6180da8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48684
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_protobuf_compiler/proto.gni b/pw_protobuf_compiler/proto.gni
index cc0cb27..5bd88fd 100644
--- a/pw_protobuf_compiler/proto.gni
+++ b/pw_protobuf_compiler/proto.gni
@@ -191,6 +191,7 @@
"$dir_pw_third_party/nanopb",
] + invoker.deps
public = invoker.outputs
+ check_includes = false
}
}
@@ -234,7 +235,6 @@
public_deps = [ "$dir_pw_third_party/nanopb" ] + invoker.deps
sources = invoker.outputs
public = filter_include(sources, [ "*.pb.h" ])
- check_includes = false
}
}
}