Add include directory to -header-filter
* Only add owned header directories. * Do not add extra quotes around -header-filter argument, or the quotes will be part of the regex and fail to match header file paths. Bug: 179530304 Test: make with WITH_TIDY=1 Change-Id: Icea867cb22264fb2dbbff079a1fc914bf48bbdef
This commit is contained in:
parent
8c164946d8
commit
84006f5ab1
|
@ -243,6 +243,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"],
|
||||
|
|
Loading…
Reference in New Issue