Pass includes attrs to cc_aidl_library
https://source.android.com/docs/core/architecture/aidl/aidl-backends#custom-parcelables Some aidl files have custom parcelables with references to cpp headers. Hence, we need to pass the include dirs from cc libs to cc_aidl_library so that custom cpp headers are findable by the generated cpp/h files. Test: go test Bug: 278704136 Change-Id: I4ede1d23fbc04bdbfb69823d955c6df6b0a7b4ee
This commit is contained in:
@@ -39,6 +39,7 @@ func TestMain(m *testing.M) {
|
||||
|
||||
var prepareForCcTest = android.GroupFixturePreparers(
|
||||
PrepareForTestWithCcIncludeVndk,
|
||||
aidl_library.PrepareForTestWithAidlLibrary,
|
||||
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
|
||||
variables.DeviceVndkVersion = StringPtr("current")
|
||||
variables.ProductVndkVersion = StringPtr("current")
|
||||
|
Reference in New Issue
Block a user