From ba0a32c30303d61902509252c543c64a6f97c5f9 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Tue, 22 Mar 2022 13:39:40 -0400 Subject: Change aapt2 to specify full protos Soong's cc support for protos is inconsistent, it adds a dependency on lite proto library is proto.type is unspecified, but builds as full. Update aapt2 to explicitly build full protos rather than rely on Soong's inconsistent defaulting of proto.type Test: CI Change-Id: I5600d04c7ac32a04fd2b230912e02280a3874812 --- tools/aapt2/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/aapt2/Android.bp b/tools/aapt2/Android.bp index 740b44e0ce28..50cd455c5480 100644 --- a/tools/aapt2/Android.bp +++ b/tools/aapt2/Android.bp @@ -165,6 +165,7 @@ cc_library_host_static { ], proto: { export_proto_headers: true, + type: "full", }, defaults: ["aapt2_defaults"], } -- cgit v1.2.3-59-g8ed1b