Merge "Add include directory to -header-filter"

This commit is contained in:
Chih-hung Hsieh 2021-02-23 23:27:43 +00:00 committed by Gerrit Code Review
commit 06e1b6c3cc
1 changed files with 6 additions and 0 deletions

View File

@ -271,6 +271,12 @@ cc_library_host_static {
generated_headers: ["platform_tools_version"],
tidy_flags: [
// DO NOT add quotes around header-filter flag regex argument,
// because build/soong will add quotes around the whole flag.
"-header-filter=(system/core/fastboot/|development/host/windows/usb/api/)",
],
target: {
windows: {
srcs: ["usb_windows.cpp"],