diff options
author | 2020-11-17 13:39:30 -0500 | |
---|---|---|
committer | 2020-11-17 13:40:50 -0500 | |
commit | 9b4438378814ba49aac630b689e733decbebbba9 (patch) | |
tree | 9b1a146736668df22cd0e8d7cfc45d83a535ff99 /rust/protobuf.go | |
parent | 3d0f191c35245296a36708e04e6d4d9348b765f3 (diff) |
rust: Add header library support to rust_bindgen.
Allow rust_bindgen modules to define dependencies that only provide
headers and may not necessarily need to be linked in.
Bug: 161141999
Test: Soong tests pass.
Test: Example module has appropriate include flags when compiling.
Change-Id: Ic9ce8b1204008ad8dcb18766c914e48bb292d485
Diffstat (limited to 'rust/protobuf.go')
-rw-r--r-- | rust/protobuf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/protobuf.go b/rust/protobuf.go index 76fed30fb..7d6e1fd5c 100644 --- a/rust/protobuf.go +++ b/rust/protobuf.go @@ -53,7 +53,7 @@ type ProtobufProperties struct { Proto_flags []string `android:"arch_variant"` // List of libraries which export include paths required for this module - Header_libs []string `android:"arch_variant"` + Header_libs []string `android:"arch_variant,variant_prepend"` } type protobufDecorator struct { |