Correct isThirdParty check

Previously, isThirdParty check was over-selecting for third-party-ness,
the only non-third-party paths were those explicitly excluded from
typically third party directories, results in ~all code being considered
third party.

Updated test to ensure bionic is not considered third party, which fails
without this change.

Test: go soong tests
Change-Id: Id371aaad2ceef2b3163384fa84712397877cbe90
This commit is contained in:
Liz Kammer
2021-07-16 11:01:46 -04:00
committed by Chris Wailes
parent 93f51a3cff
commit 067b889762
3 changed files with 38 additions and 33 deletions

View File

@@ -692,8 +692,9 @@ func isThirdParty(path string) bool {
return false
}
}
return true
}
return true
return false
}
// Properties for rust_bindgen related to generating rust bindings.