| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "packages_modules_DnsResolver_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["packages_modules_DnsResolver_license"], |
| } |
| |
| rust_ffi_static { |
| name: "libdoh_frontend_ffi", |
| crate_name: "doh_frontend_ffi", |
| srcs: ["src/lib.rs"], |
| edition: "2018", |
| |
| rlibs: [ |
| "liblibc", |
| "liblog_rust", |
| "libandroid_logger", |
| "libanyhow", |
| "libquiche", |
| "libring", |
| "liblazy_static", |
| "libtokio", |
| "libbase64_rust", |
| ], |
| |
| // TODO(b/194022174): this is a workaround for resolv_integration_test to run on Q devices. |
| whole_static_libs: ["libunwind"], |
| } |