-
Notifications
You must be signed in to change notification settings - Fork 363
/
Copy pathjnigen.yaml
65 lines (61 loc) · 1.8 KB
/
jnigen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Regenerate the JNI Bindings using: dart run jnigen --config jnigen.yaml
summarizer:
backend: asm
output:
dart:
path: "lib/src/jni/bindings.dart"
structure: single_file
android_sdk_config:
add_gradle_deps: true
android_example: "example/"
classes:
- "okhttp3.Request"
- "okhttp3.RequestBody"
- "okhttp3.Response"
- "okhttp3.ResponseBody"
- "okhttp3.OkHttpClient"
- "okhttp3.Call"
- "okhttp3.Headers"
- "okhttp3.Callback"
- "okhttp3.ConnectionPool"
- "okhttp3.Dispatcher"
- "java.util.concurrent.ExecutorService"
- "okhttp3.Cache"
- "com.example.ok_http.RedirectReceivedCallback"
- "com.example.ok_http.RedirectInterceptor"
- "com.example.ok_http.AsyncInputStreamReader"
- "com.example.ok_http.DataCallback"
- "okhttp3.WebSocket"
- "com.example.ok_http.WebSocketListenerProxy"
- "com.example.ok_http.FixedResponseX509ExtendedKeyManager"
- "okio.ByteString"
- "com.example.ok_http.WebSocketInterceptor"
- "java.util.concurrent.TimeUnit"
- "javax.net.ssl.X509TrustManager"
- "javax.net.SocketFactory"
- "javax.net.ssl.SSLSocketFactory"
- "javax.net.ssl.SSLContext"
- "javax.net.ssl.TrustManagerFactory"
- "javax.net.ssl.TrustManager"
- "java.security.KeyStore"
- "javax.net.ssl.KeyManager"
- "java.security.SecureRandom"
- "javax.net.ssl.X509KeyManager"
- "javax.net.ssl.X509ExtendedKeyManager"
- "javax.net.ssl.HostnameVerifier"
- "java.security.cert.X509Certificate"
- "android.security.KeyChain"
- "android.security.KeyChainAliasCallback"
- "java.security.KeyStore"
- "java.security.PrivateKey"
- "java.security.Key"
- "javax.net.ssl.KeyManagerFactory"
- "java.security.KeyPairGenerator"
- "java.security.KeyPair"
- "java.security.PublicKey"
- "java.io.ByteArrayInputStream"
- "java.util.Enumeration"
- "java.util.Arrays"
- "java.security.cert.Certificate"
preamble: |
// ignore_for_file: prefer_expression_function_bodies