diff options
author | Bernie Innocenti <codewiz@google.com> | 2020-12-16 14:04:09 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2020-12-16 14:04:09 +0900 |
commit | 55399b5e6d1c777dec74a2d6c8479f3e2877caf8 (patch) | |
tree | 5e6851eb815d5b844b45594f9043cb88dac480a8 /Android.bp | |
parent | e9e19d5ddf871ca911fa0177df3f2c22b5b022f6 (diff) | |
download | quiche-55399b5e6d1c777dec74a2d6c8479f3e2877caf8.tar.gz |
Build quiche both as an rlib and as an ffi lib.platform-tools-31.0.0
This is needed to build the DoH engine directly in Rust (as opposed to
using the C API).
Test: N/A
Bug: 155855709
Change-Id: I081574d05ca67affa88b7adbc7e8c6c054a2edd9
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -10,8 +10,8 @@ cc_library_headers { min_sdk_version: "29", } -rust_ffi { - name: "libquiche_ffi", +rust_defaults { + name: "libquiche_defaults", stem: "libquiche", host_supported: true, crate_name: "quiche", @@ -45,6 +45,16 @@ rust_ffi { min_sdk_version: "29", } +rust_ffi { + name: "libquiche_ffi", + defaults: ["libquiche_defaults"], +} + +rust_library { + name: "libquiche", + defaults: ["libquiche_defaults"], +} + // dependent_library ["feature_list"] // cc-1.0.66 // cfg-if-0.1.10 |