1{
2  "apex_available": [
3    "//apex_available:platform",
4    "com.android.resolv"
5  ],
6  "min_sdk_version": "29",
7  "package": {
8    "quiche": {
9      "patch": "patches/Android.bp.patch",
10      "add_toplevel_block": "ffi_headers.bp.fragment",
11      "test_data": {
12        "src/lib.rs": [
13          "examples/cert.crt",
14          "examples/cert.key",
15          "examples/cert-big.crt",
16          "examples/rootca.crt"
17        ]
18      }
19    }
20  },
21  "variants": [
22    {
23      "module_blocklist": [
24        "libquiche_static"
25      ],
26      "module_name_overrides": {
27        "libquiche_shared": "libquiche_ffi"
28      }
29    },
30    {
31      "module_blocklist": [
32        "libquiche",
33        "libquiche_shared",
34        "libquiche_static"
35      ],
36      "module_name_overrides": {
37        "quiche_test_src_lib": "quiche_host_test_src_lib"
38      },
39      "tests": true,
40      "package": {
41        "quiche": {
42          "device_supported": false
43        }
44      }
45    },
46    {
47      "module_blocklist": [
48        "libquiche",
49        "libquiche_shared",
50        "libquiche_static"
51      ],
52      "module_name_overrides": {
53        "libcrypto": "libcrypto_static",
54        "quiche_test_src_lib": "quiche_device_test_src_lib"
55      },
56      "tests": true,
57      "package": {
58        "quiche": {
59          "host_supported": false
60        }
61      }
62    },
63    {
64      "module_blocklist": [
65        "libquiche_shared",
66        "libquiche_static"
67      ],
68      "module_name_overrides": {
69        "libcrypto": "libcrypto_static",
70        "libquiche": "libquiche_static"
71      },
72      "package": {
73        "quiche": {
74          "force_rlib": true
75        }
76      }
77    }
78  ]
79}
80