| { |
| "add-toplevel-block": "cargo2android_cc.bp", |
| "apex-available": [ |
| "//apex_available:platform", |
| "com.android.resolv" |
| ], |
| "dependencies": true, |
| "device": true, |
| "features": "alloc,default,dev_urandom_fallback,once_cell,std", |
| "min-sdk-version": "29", |
| "patch": "patches/Android.bp.patch", |
| "run": true, |
| "tests": true, |
| "whole-static-libs": [ |
| "ring-core", |
| "ring-test" |
| ], |
| "variants": [ |
| {}, |
| { |
| "no-host": true, |
| "suffix": "_nostd", |
| "no-std": true, |
| "alloc": false, |
| "force-rlib": true, |
| "features": "once_cell", |
| "tests": false |
| } |
| ] |
| } |