aboutsummaryrefslogtreecommitdiff
path: root/build/properties.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2022-10-21 11:18:25 +0900
committerJiyong Park <jiyong@google.com>2022-10-25 00:56:26 +0000
commit46f7af867b93694a605c42a271a84e7df18d2b00 (patch)
tree0e77f685ad981d563e9c832dddb5b2b24161bbc5 /build/properties.go
parent446b86850202114c6337fd28f7feff4abb5909fc (diff)
downloadaidl-46f7af867b93694a605c42a271a84e7df18d2b00.tar.gz
Set include_build_directory to false for aidl-generated cc libs
The property defaults to true, so the aidl-generated cc libs have been built with the top-level directory (the directory where Android.bp exists) added to the include path. This is not only unnnecessary, but also caused some problem like b/254682497. Fixing this by explicitly turning it off. Bug: 254682497 Test: check build.ninja Change-Id: I5f5f56f32b37f8b5abb7087487ace010087ac001
Diffstat (limited to 'build/properties.go')
-rw-r--r--build/properties.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/properties.go b/build/properties.go
index 5f98cfab..95c925da 100644
--- a/build/properties.go
+++ b/build/properties.go
@@ -74,6 +74,7 @@ type ccProperties struct {
Tidy *bool
Tidy_flags []string
Tidy_checks_as_errors []string
+ Include_build_directory *bool
}
type javaProperties struct {