• android源码添加adb host支持


    本文开始参考在 android 上使用 adb client-CSDN博客,在shell中已经可以使用。但当我想在app中用

    1. String command = "/data/local/tmp/adb -s 307ef90dc8128844 shell ls";
    2. StringBuilder output = new StringBuilder();
    3. try {
    4. Process process = Runtime.getRuntime().exec(command);
    5. BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
    6. String line;
    7. while ((line = reader.readLine()) != null) {
    8. output.append(line).append("\n");
    9. }
    10. reader.close();
    11. } catch (Exception e) {
    12. e.printStackTrace();
    13. }

    来调用已经编译好的adb时,服务由于没有权限操作usb,没办法对连接到usb上的adb device设备进行操作,发现不了该设备,必须要先用root权限先启动adb server后才能使用。

    为了解决该问题,我决定把adb host的应用通过android源码编译,并加载到开机启动服务中。

    在android源码中编译adb host,部分步骤可以参考android源码添加c/c++工程-CSDN博客

    adb的源码使用在前面参考文章中的源码,由于使用名称adb与原有android中的工程冲突,改名为adbhost(大家可以随意改,看大家心情)。同时由于内置的libssl不知道抽什么风,老是报函数BIO_f_base64无法找到,干脆把openssl源码也直接编译进去。

    Android.bp如下:

    1. // Copyright 2013 The Android Open Source Project
    2. package {
    3. default_applicable_licenses: ["Android-Apache-2.0"],
    4. }
    5. cc_binary {
    6. name: "adbhost",
    7. srcs: [
    8. "core/adb/adb.c",
    9. "core/adb/adb_client.c",
    10. "core/adb/adb_auth_host.c",
    11. "core/adb/commandline.c",
    12. "core/adb/console.c",
    13. "core/adb/file_sync_client.c",
    14. "core/adb/fdevent.c",
    15. "core/adb/get_my_path_linux.c",
    16. "core/adb/services.c",
    17. "core/adb/sockets.c",
    18. "core/adb/transport.c",
    19. "core/adb/transport_local.c",
    20. "core/adb/transport_usb.c",
    21. "core/adb/usb_linux.c",
    22. "core/adb/usb_vendors.c",
    23. "core/adb/utils.c",
    24. "core/libcutils/abort_socket.c",
    25. "core/libcutils/socket_inaddr_any_server.c",
    26. "core/libcutils/socket_local_client.c",
    27. "core/libcutils/socket_local_server.c",
    28. "core/libcutils/socket_loopback_client.c",
    29. "core/libcutils/socket_loopback_server.c",
    30. "core/libcutils/socket_network_client.c",
    31. "core/libcutils/list.c",
    32. "core/libcutils/load_file.c",
    33. "core/libzipfile/centraldir.c",
    34. "core/libzipfile/zipfile.c",
    35. "openssl-1.0.0e/ssl/d1_pkt.c",
    36. "openssl-1.0.0e/ssl/d1_both.c",
    37. "openssl-1.0.0e/ssl/s3_srvr.c",
    38. "openssl-1.0.0e/ssl/s2_meth.c",
    39. "openssl-1.0.0e/ssl/ssl_asn1.c",
    40. "openssl-1.0.0e/ssl/s23_pkt.c",
    41. "openssl-1.0.0e/ssl/s23_lib.c",
    42. "openssl-1.0.0e/ssl/s2_lib.c",
    43. "openssl-1.0.0e/ssl/ssl_err.c",
    44. "openssl-1.0.0e/ssl/s3_lib.c",
    45. "openssl-1.0.0e/ssl/t1_reneg.c",
    46. "openssl-1.0.0e/ssl/s3_meth.c",
    47. "openssl-1.0.0e/ssl/s3_clnt.c",
    48. "openssl-1.0.0e/ssl/d1_enc.c",
    49. "openssl-1.0.0e/ssl/s2_enc.c",
    50. "openssl-1.0.0e/ssl/t1_enc.c",
    51. "openssl-1.0.0e/ssl/ssl_sess.c",
    52. "openssl-1.0.0e/ssl/s23_meth.c",
    53. "openssl-1.0.0e/ssl/s2_clnt.c",
    54. "openssl-1.0.0e/ssl/kssl.c",
    55. "openssl-1.0.0e/ssl/t1_meth.c",
    56. "openssl-1.0.0e/ssl/t1_lib.c",
    57. "openssl-1.0.0e/ssl/d1_srvr.c",
    58. "openssl-1.0.0e/ssl/ssl_stat.c",
    59. "openssl-1.0.0e/ssl/ssl_rsa.c",
    60. "openssl-1.0.0e/ssl/ssl_err2.c",
    61. "openssl-1.0.0e/ssl/s3_enc.c",
    62. "openssl-1.0.0e/ssl/d1_lib.c",
    63. "openssl-1.0.0e/ssl/t1_clnt.c",
    64. "openssl-1.0.0e/ssl/t1_srvr.c",
    65. "openssl-1.0.0e/ssl/s3_both.c",
    66. "openssl-1.0.0e/ssl/s2_srvr.c",
    67. "openssl-1.0.0e/ssl/ssl_cert.c",
    68. "openssl-1.0.0e/ssl/s3_pkt.c",
    69. "openssl-1.0.0e/ssl/d1_meth.c",
    70. "openssl-1.0.0e/ssl/d1_clnt.c",
    71. "openssl-1.0.0e/ssl/ssl_algs.c",
    72. "openssl-1.0.0e/ssl/s23_srvr.c",
    73. "openssl-1.0.0e/ssl/s2_pkt.c",
    74. "openssl-1.0.0e/ssl/s23_clnt.c",
    75. "openssl-1.0.0e/ssl/bio_ssl.c",
    76. "openssl-1.0.0e/ssl/ssl_lib.c",
    77. "openssl-1.0.0e/ssl/ssl_txt.c",
    78. "openssl-1.0.0e/ssl/ssl_ciph.c",
    79. "openssl-1.0.0e/crypto/stack/stack.c",
    80. "openssl-1.0.0e/crypto/o_time.c",
    81. "openssl-1.0.0e/crypto/dsa/dsa_ossl.c",
    82. "openssl-1.0.0e/crypto/dsa/dsa_pmeth.c",
    83. "openssl-1.0.0e/crypto/dsa/dsa_key.c",
    84. "openssl-1.0.0e/crypto/dsa/dsa_ameth.c",
    85. "openssl-1.0.0e/crypto/dsa/dsa_gen.c",
    86. "openssl-1.0.0e/crypto/dsa/dsa_prn.c",
    87. "openssl-1.0.0e/crypto/dsa/dsa_vrf.c",
    88. "openssl-1.0.0e/crypto/dsa/dsa_asn1.c",
    89. "openssl-1.0.0e/crypto/dsa/dsa_lib.c",
    90. "openssl-1.0.0e/crypto/dsa/dsa_err.c",
    91. "openssl-1.0.0e/crypto/dsa/dsa_depr.c",
    92. "openssl-1.0.0e/crypto/dsa/dsa_sign.c",
    93. "openssl-1.0.0e/crypto/pkcs7/pk7_lib.c",
    94. "openssl-1.0.0e/crypto/pkcs7/pk7_mime.c",
    95. "openssl-1.0.0e/crypto/pkcs7/pk7_attr.c",
    96. "openssl-1.0.0e/crypto/pkcs7/bio_pk7.c",
    97. "openssl-1.0.0e/crypto/pkcs7/pk7_smime.c",
    98. "openssl-1.0.0e/crypto/pkcs7/pk7_asn1.c",
    99. "openssl-1.0.0e/crypto/pkcs7/pkcs7err.c",
    100. "openssl-1.0.0e/crypto/pkcs7/pk7_doit.c",
    101. "openssl-1.0.0e/crypto/ec/ec2_smpl.c",
    102. "openssl-1.0.0e/crypto/ec/ec_lib.c",
    103. "openssl-1.0.0e/crypto/ec/eck_prn.c",
    104. "openssl-1.0.0e/crypto/ec/ec_mult.c",
    105. "openssl-1.0.0e/crypto/ec/ecp_nist.c",
    106. "openssl-1.0.0e/crypto/ec/ec_key.c",
    107. "openssl-1.0.0e/crypto/ec/ec_check.c",
    108. "openssl-1.0.0e/crypto/ec/ec_curve.c",
    109. "openssl-1.0.0e/crypto/ec/ec_ameth.c",
    110. "openssl-1.0.0e/crypto/ec/ecp_smpl.c",
    111. "openssl-1.0.0e/crypto/ec/ec_pmeth.c",
    112. "openssl-1.0.0e/crypto/ec/ec_err.c",
    113. "openssl-1.0.0e/crypto/ec/ecp_mont.c",
    114. "openssl-1.0.0e/crypto/ec/ec_asn1.c",
    115. "openssl-1.0.0e/crypto/ec/ec_cvt.c",
    116. "openssl-1.0.0e/crypto/ec/ec_print.c",
    117. "openssl-1.0.0e/crypto/ec/ec2_mult.c",
    118. "openssl-1.0.0e/crypto/uid.c",
    119. "openssl-1.0.0e/crypto/bf/bf_ofb64.c",
    120. "openssl-1.0.0e/crypto/bf/bf_cfb64.c",
    121. "openssl-1.0.0e/crypto/bf/bf_enc.c",
    122. "openssl-1.0.0e/crypto/bf/bf_skey.c",
    123. "openssl-1.0.0e/crypto/bf/bf_ecb.c",
    124. "openssl-1.0.0e/crypto/des/des_old.c",
    125. "openssl-1.0.0e/crypto/des/cfb64enc.c",
    126. "openssl-1.0.0e/crypto/des/ofb64enc.c",
    127. "openssl-1.0.0e/crypto/des/cbc_enc.c",
    128. "openssl-1.0.0e/crypto/des/enc_writ.c",
    129. "openssl-1.0.0e/crypto/des/qud_cksm.c",
    130. "openssl-1.0.0e/crypto/des/set_key.c",
    131. "openssl-1.0.0e/crypto/des/ecb_enc.c",
    132. "openssl-1.0.0e/crypto/des/ofb64ede.c",
    133. "openssl-1.0.0e/crypto/des/pcbc_enc.c",
    134. "openssl-1.0.0e/crypto/des/cfb_enc.c",
    135. "openssl-1.0.0e/crypto/des/cbc_cksm.c",
    136. "openssl-1.0.0e/crypto/des/xcbc_enc.c",
    137. "openssl-1.0.0e/crypto/des/ecb3_enc.c",
    138. "openssl-1.0.0e/crypto/des/des_old2.c",
    139. "openssl-1.0.0e/crypto/des/rpc_enc.c",
    140. "openssl-1.0.0e/crypto/des/fcrypt_b.c",
    141. "openssl-1.0.0e/crypto/des/read2pwd.c",
    142. "openssl-1.0.0e/crypto/des/ede_cbcm_enc.c",
    143. "openssl-1.0.0e/crypto/des/enc_read.c",
    144. "openssl-1.0.0e/crypto/des/fcrypt.c",
    145. "openssl-1.0.0e/crypto/des/ofb_enc.c",
    146. "openssl-1.0.0e/crypto/des/des_enc.c",
    147. "openssl-1.0.0e/crypto/des/cfb64ede.c",
    148. "openssl-1.0.0e/crypto/des/str2key.c",
    149. "openssl-1.0.0e/crypto/des/rand_key.c",
    150. "openssl-1.0.0e/crypto/md5/md5_dgst.c",
    151. "openssl-1.0.0e/crypto/md5/md5_one.c",
    152. "openssl-1.0.0e/crypto/cpt_err.c",
    153. "openssl-1.0.0e/crypto/err/err.c",
    154. "openssl-1.0.0e/crypto/err/err_prn.c",
    155. "openssl-1.0.0e/crypto/err/err_all.c",
    156. "openssl-1.0.0e/crypto/rand/rand_os2.c",
    157. "openssl-1.0.0e/crypto/rand/rand_unix.c",
    158. "openssl-1.0.0e/crypto/rand/md_rand.c",
    159. "openssl-1.0.0e/crypto/rand/rand_win.c",
    160. "openssl-1.0.0e/crypto/rand/rand_lib.c",
    161. "openssl-1.0.0e/crypto/rand/rand_egd.c",
    162. "openssl-1.0.0e/crypto/rand/rand_err.c",
    163. "openssl-1.0.0e/crypto/rand/randfile.c",
    164. "openssl-1.0.0e/crypto/rand/rand_nw.c",
    165. "openssl-1.0.0e/crypto/o_dir.c",
    166. "openssl-1.0.0e/crypto/lhash/lh_stats.c",
    167. "openssl-1.0.0e/crypto/lhash/lhash.c",
    168. "openssl-1.0.0e/crypto/mem.c",
    169. "openssl-1.0.0e/crypto/x509v3/pcy_map.c",
    170. "openssl-1.0.0e/crypto/x509v3/v3_ia5.c",
    171. "openssl-1.0.0e/crypto/x509v3/v3_ocsp.c",
    172. "openssl-1.0.0e/crypto/x509v3/v3_conf.c",
    173. "openssl-1.0.0e/crypto/x509v3/v3_genn.c",
    174. "openssl-1.0.0e/crypto/x509v3/v3_purp.c",
    175. "openssl-1.0.0e/crypto/x509v3/pcy_lib.c",
    176. "openssl-1.0.0e/crypto/x509v3/v3_utl.c",
    177. "openssl-1.0.0e/crypto/x509v3/v3_akeya.c",
    178. "openssl-1.0.0e/crypto/x509v3/pcy_data.c",
    179. "openssl-1.0.0e/crypto/x509v3/v3_enum.c",
    180. "openssl-1.0.0e/crypto/x509v3/v3_pci.c",
    181. "openssl-1.0.0e/crypto/x509v3/pcy_tree.c",
    182. "openssl-1.0.0e/crypto/x509v3/v3_bitst.c",
    183. "openssl-1.0.0e/crypto/x509v3/v3_sxnet.c",
    184. "openssl-1.0.0e/crypto/x509v3/v3_alt.c",
    185. "openssl-1.0.0e/crypto/x509v3/v3_lib.c",
    186. "openssl-1.0.0e/crypto/x509v3/v3_skey.c",
    187. "openssl-1.0.0e/crypto/x509v3/pcy_node.c",
    188. "openssl-1.0.0e/crypto/x509v3/v3_addr.c",
    189. "openssl-1.0.0e/crypto/x509v3/v3_pcons.c",
    190. "openssl-1.0.0e/crypto/x509v3/v3_pmaps.c",
    191. "openssl-1.0.0e/crypto/x509v3/v3_asid.c",
    192. "openssl-1.0.0e/crypto/x509v3/v3_pku.c",
    193. "openssl-1.0.0e/crypto/x509v3/v3_prn.c",
    194. "openssl-1.0.0e/crypto/x509v3/v3_extku.c",
    195. "openssl-1.0.0e/crypto/x509v3/v3err.c",
    196. "openssl-1.0.0e/crypto/x509v3/v3_int.c",
    197. "openssl-1.0.0e/crypto/x509v3/v3_info.c",
    198. "openssl-1.0.0e/crypto/x509v3/v3_ncons.c",
    199. "openssl-1.0.0e/crypto/x509v3/v3_pcia.c",
    200. "openssl-1.0.0e/crypto/x509v3/v3_bcons.c",
    201. "openssl-1.0.0e/crypto/x509v3/v3_cpols.c",
    202. "openssl-1.0.0e/crypto/x509v3/pcy_cache.c",
    203. "openssl-1.0.0e/crypto/x509v3/v3_akey.c",
    204. "openssl-1.0.0e/crypto/x509v3/v3_crld.c",
    205. "openssl-1.0.0e/crypto/ocsp/ocsp_err.c",
    206. "openssl-1.0.0e/crypto/ocsp/ocsp_prn.c",
    207. "openssl-1.0.0e/crypto/ocsp/ocsp_vfy.c",
    208. "openssl-1.0.0e/crypto/ocsp/ocsp_lib.c",
    209. "openssl-1.0.0e/crypto/ocsp/ocsp_ht.c",
    210. "openssl-1.0.0e/crypto/ocsp/ocsp_srv.c",
    211. "openssl-1.0.0e/crypto/ocsp/ocsp_asn.c",
    212. "openssl-1.0.0e/crypto/ocsp/ocsp_ext.c",
    213. "openssl-1.0.0e/crypto/ocsp/ocsp_cl.c",
    214. "openssl-1.0.0e/crypto/cversion.c",
    215. "openssl-1.0.0e/crypto/whrlpool/wp_dgst.c",
    216. "openssl-1.0.0e/crypto/whrlpool/wp_block.c",
    217. "openssl-1.0.0e/crypto/cms/cms_env.c",
    218. "openssl-1.0.0e/crypto/cms/cms_att.c",
    219. "openssl-1.0.0e/crypto/cms/cms_ess.c",
    220. "openssl-1.0.0e/crypto/cms/cms_sd.c",
    221. "openssl-1.0.0e/crypto/cms/cms_smime.c",
    222. "openssl-1.0.0e/crypto/cms/cms_dd.c",
    223. "openssl-1.0.0e/crypto/cms/cms_asn1.c",
    224. "openssl-1.0.0e/crypto/cms/cms_lib.c",
    225. "openssl-1.0.0e/crypto/cms/cms_err.c",
    226. "openssl-1.0.0e/crypto/cms/cms_io.c",
    227. "openssl-1.0.0e/crypto/cms/cms_cd.c",
    228. "openssl-1.0.0e/crypto/cms/cms_enc.c",
    229. "openssl-1.0.0e/crypto/md4/md4_one.c",
    230. "openssl-1.0.0e/crypto/md4/md4_dgst.c",
    231. "openssl-1.0.0e/crypto/cryptlib.c",
    232. "openssl-1.0.0e/crypto/o_str.c",
    233. "openssl-1.0.0e/crypto/engine/eng_openssl.c",
    234. "openssl-1.0.0e/crypto/engine/eng_err.c",
    235. "openssl-1.0.0e/crypto/engine/eng_all.c",
    236. "openssl-1.0.0e/crypto/engine/eng_lib.c",
    237. "openssl-1.0.0e/crypto/engine/tb_pkmeth.c",
    238. "openssl-1.0.0e/crypto/engine/tb_rsa.c",
    239. "openssl-1.0.0e/crypto/engine/tb_cipher.c",
    240. "openssl-1.0.0e/crypto/engine/tb_dsa.c",
    241. "openssl-1.0.0e/crypto/engine/eng_fat.c",
    242. "openssl-1.0.0e/crypto/engine/tb_digest.c",
    243. "openssl-1.0.0e/crypto/engine/tb_ecdsa.c",
    244. "openssl-1.0.0e/crypto/engine/tb_store.c",
    245. "openssl-1.0.0e/crypto/engine/eng_table.c",
    246. "openssl-1.0.0e/crypto/engine/eng_cryptodev.c",
    247. "openssl-1.0.0e/crypto/engine/eng_dyn.c",
    248. "openssl-1.0.0e/crypto/engine/tb_rand.c",
    249. "openssl-1.0.0e/crypto/engine/eng_ctrl.c",
    250. "openssl-1.0.0e/crypto/engine/eng_cnf.c",
    251. "openssl-1.0.0e/crypto/engine/tb_asnmth.c",
    252. "openssl-1.0.0e/crypto/engine/eng_pkey.c",
    253. "openssl-1.0.0e/crypto/engine/eng_init.c",
    254. "openssl-1.0.0e/crypto/engine/tb_dh.c",
    255. "openssl-1.0.0e/crypto/engine/tb_ecdh.c",
    256. "openssl-1.0.0e/crypto/engine/eng_list.c",
    257. "openssl-1.0.0e/crypto/seed/seed_cfb.c",
    258. "openssl-1.0.0e/crypto/seed/seed_cbc.c",
    259. "openssl-1.0.0e/crypto/seed/seed_ecb.c",
    260. "openssl-1.0.0e/crypto/seed/seed.c",
    261. "openssl-1.0.0e/crypto/seed/seed_ofb.c",
    262. "openssl-1.0.0e/crypto/ecdsa/ecs_sign.c",
    263. "openssl-1.0.0e/crypto/ecdsa/ecs_lib.c",
    264. "openssl-1.0.0e/crypto/ecdsa/ecs_asn1.c",
    265. "openssl-1.0.0e/crypto/ecdsa/ecs_vrf.c",
    266. "openssl-1.0.0e/crypto/ecdsa/ecs_ossl.c",
    267. "openssl-1.0.0e/crypto/ecdsa/ecs_err.c",
    268. "openssl-1.0.0e/crypto/rsa/rsa_pk1.c",
    269. "openssl-1.0.0e/crypto/rsa/rsa_eay.c",
    270. "openssl-1.0.0e/crypto/rsa/rsa_lib.c",
    271. "openssl-1.0.0e/crypto/rsa/rsa_gen.c",
    272. "openssl-1.0.0e/crypto/rsa/rsa_ssl.c",
    273. "openssl-1.0.0e/crypto/rsa/rsa_asn1.c",
    274. "openssl-1.0.0e/crypto/rsa/rsa_prn.c",
    275. "openssl-1.0.0e/crypto/rsa/rsa_oaep.c",
    276. "openssl-1.0.0e/crypto/rsa/rsa_x931.c",
    277. "openssl-1.0.0e/crypto/rsa/rsa_ameth.c",
    278. "openssl-1.0.0e/crypto/rsa/rsa_pss.c",
    279. "openssl-1.0.0e/crypto/rsa/rsa_depr.c",
    280. "openssl-1.0.0e/crypto/rsa/rsa_err.c",
    281. "openssl-1.0.0e/crypto/rsa/rsa_sign.c",
    282. "openssl-1.0.0e/crypto/rsa/rsa_chk.c",
    283. "openssl-1.0.0e/crypto/rsa/rsa_null.c",
    284. "openssl-1.0.0e/crypto/rsa/rsa_saos.c",
    285. "openssl-1.0.0e/crypto/rsa/rsa_pmeth.c",
    286. "openssl-1.0.0e/crypto/rsa/rsa_none.c",
    287. "openssl-1.0.0e/crypto/ui/ui_err.c",
    288. "openssl-1.0.0e/crypto/ui/ui_lib.c",
    289. "openssl-1.0.0e/crypto/ui/ui_compat.c",
    290. "openssl-1.0.0e/crypto/ui/ui_util.c",
    291. "openssl-1.0.0e/crypto/ui/ui_openssl.c",
    292. "openssl-1.0.0e/crypto/rc4/rc4_enc.c",
    293. "openssl-1.0.0e/crypto/rc4/rc4_skey.c",
    294. "openssl-1.0.0e/crypto/objects/obj_lib.c",
    295. "openssl-1.0.0e/crypto/objects/obj_err.c",
    296. "openssl-1.0.0e/crypto/objects/o_names.c",
    297. "openssl-1.0.0e/crypto/objects/obj_dat.c",
    298. "openssl-1.0.0e/crypto/objects/obj_xref.c",
    299. "openssl-1.0.0e/crypto/ecdh/ech_lib.c",
    300. "openssl-1.0.0e/crypto/ecdh/ech_err.c",
    301. "openssl-1.0.0e/crypto/ecdh/ech_ossl.c",
    302. "openssl-1.0.0e/crypto/ecdh/ech_key.c",
    303. "openssl-1.0.0e/crypto/mdc2/mdc2dgst.c",
    304. "openssl-1.0.0e/crypto/mdc2/mdc2_one.c",
    305. "openssl-1.0.0e/crypto/aes/aes_ecb.c",
    306. "openssl-1.0.0e/crypto/aes/aes_cfb.c",
    307. "openssl-1.0.0e/crypto/aes/aes_wrap.c",
    308. "openssl-1.0.0e/crypto/aes/aes_ige.c",
    309. "openssl-1.0.0e/crypto/aes/aes_cbc.c",
    310. "openssl-1.0.0e/crypto/aes/aes_ofb.c",
    311. "openssl-1.0.0e/crypto/aes/aes_ctr.c",
    312. "openssl-1.0.0e/crypto/aes/aes_core.c",
    313. "openssl-1.0.0e/crypto/aes/aes_misc.c",
    314. "openssl-1.0.0e/crypto/krb5/krb5_asn.c",
    315. "openssl-1.0.0e/crypto/ripemd/rmd_dgst.c",
    316. "openssl-1.0.0e/crypto/ripemd/rmd_one.c",
    317. "openssl-1.0.0e/crypto/dso/dso_err.c",
    318. "openssl-1.0.0e/crypto/dso/dso_dlfcn.c",
    319. "openssl-1.0.0e/crypto/dso/dso_null.c",
    320. "openssl-1.0.0e/crypto/dso/dso_dl.c",
    321. "openssl-1.0.0e/crypto/dso/dso_openssl.c",
    322. "openssl-1.0.0e/crypto/dso/dso_vms.c",
    323. "openssl-1.0.0e/crypto/dso/dso_win32.c",
    324. "openssl-1.0.0e/crypto/dso/dso_beos.c",
    325. "openssl-1.0.0e/crypto/dso/dso_lib.c",
    326. "openssl-1.0.0e/crypto/dh/dh_depr.c",
    327. "openssl-1.0.0e/crypto/dh/dh_lib.c",
    328. "openssl-1.0.0e/crypto/dh/dh_prn.c",
    329. "openssl-1.0.0e/crypto/dh/dh_check.c",
    330. "openssl-1.0.0e/crypto/dh/dh_key.c",
    331. "openssl-1.0.0e/crypto/dh/dh_pmeth.c",
    332. "openssl-1.0.0e/crypto/dh/dh_err.c",
    333. "openssl-1.0.0e/crypto/dh/dh_ameth.c",
    334. "openssl-1.0.0e/crypto/dh/dh_asn1.c",
    335. "openssl-1.0.0e/crypto/dh/dh_gen.c",
    336. "openssl-1.0.0e/crypto/pem/pem_x509.c",
    337. "openssl-1.0.0e/crypto/pem/pem_pk8.c",
    338. "openssl-1.0.0e/crypto/pem/pem_pkey.c",
    339. "openssl-1.0.0e/crypto/pem/pem_all.c",
    340. "openssl-1.0.0e/crypto/pem/pem_sign.c",
    341. "openssl-1.0.0e/crypto/pem/pem_seal.c",
    342. "openssl-1.0.0e/crypto/pem/pem_oth.c",
    343. "openssl-1.0.0e/crypto/pem/pem_info.c",
    344. "openssl-1.0.0e/crypto/pem/pem_xaux.c",
    345. "openssl-1.0.0e/crypto/pem/pem_err.c",
    346. "openssl-1.0.0e/crypto/pem/pvkfmt.c",
    347. "openssl-1.0.0e/crypto/pem/pem_lib.c",
    348. "openssl-1.0.0e/crypto/cast/c_cfb64.c",
    349. "openssl-1.0.0e/crypto/cast/c_ofb64.c",
    350. "openssl-1.0.0e/crypto/cast/c_ecb.c",
    351. "openssl-1.0.0e/crypto/cast/c_enc.c",
    352. "openssl-1.0.0e/crypto/cast/c_skey.c",
    353. "openssl-1.0.0e/crypto/modes/ofb128.c",
    354. "openssl-1.0.0e/crypto/modes/cts128.c",
    355. "openssl-1.0.0e/crypto/modes/ctr128.c",
    356. "openssl-1.0.0e/crypto/modes/cfb128.c",
    357. "openssl-1.0.0e/crypto/modes/cbc128.c",
    358. "openssl-1.0.0e/crypto/mem_clr.c",
    359. "openssl-1.0.0e/crypto/evp/bio_md.c",
    360. "openssl-1.0.0e/crypto/evp/p_open.c",
    361. "openssl-1.0.0e/crypto/evp/encode.c",
    362. "openssl-1.0.0e/crypto/evp/evp_key.c",
    363. "openssl-1.0.0e/crypto/evp/bio_enc.c",
    364. "openssl-1.0.0e/crypto/evp/e_seed.c",
    365. "openssl-1.0.0e/crypto/evp/m_dss.c",
    366. "openssl-1.0.0e/crypto/evp/m_null.c",
    367. "openssl-1.0.0e/crypto/evp/e_aes.c",
    368. "openssl-1.0.0e/crypto/evp/m_ecdsa.c",
    369. "openssl-1.0.0e/crypto/evp/e_des.c",
    370. "openssl-1.0.0e/crypto/evp/m_md2.c",
    371. "openssl-1.0.0e/crypto/evp/p5_crpt.c",
    372. "openssl-1.0.0e/crypto/evp/p_enc.c",
    373. "openssl-1.0.0e/crypto/evp/e_null.c",
    374. "openssl-1.0.0e/crypto/evp/m_sha.c",
    375. "openssl-1.0.0e/crypto/evp/evp_err.c",
    376. "openssl-1.0.0e/crypto/evp/pmeth_fn.c",
    377. "openssl-1.0.0e/crypto/evp/evp_enc.c",
    378. "openssl-1.0.0e/crypto/evp/evp_acnf.c",
    379. "openssl-1.0.0e/crypto/evp/bio_ok.c",
    380. "openssl-1.0.0e/crypto/evp/e_xcbc_d.c",
    381. "openssl-1.0.0e/crypto/evp/e_des3.c",
    382. "openssl-1.0.0e/crypto/evp/evp_pbe.c",
    383. "openssl-1.0.0e/crypto/evp/m_dss1.c",
    384. "openssl-1.0.0e/crypto/evp/digest.c",
    385. "openssl-1.0.0e/crypto/evp/names.c",
    386. "openssl-1.0.0e/crypto/evp/pmeth_lib.c",
    387. "openssl-1.0.0e/crypto/evp/p_lib.c",
    388. "openssl-1.0.0e/crypto/evp/p5_crpt2.c",
    389. "openssl-1.0.0e/crypto/evp/m_md4.c",
    390. "openssl-1.0.0e/crypto/evp/m_wp.c",
    391. "openssl-1.0.0e/crypto/evp/m_mdc2.c",
    392. "openssl-1.0.0e/crypto/evp/m_md5.c",
    393. "openssl-1.0.0e/crypto/evp/p_verify.c",
    394. "openssl-1.0.0e/crypto/evp/m_sigver.c",
    395. "openssl-1.0.0e/crypto/evp/e_idea.c",
    396. "openssl-1.0.0e/crypto/evp/e_rc2.c",
    397. "openssl-1.0.0e/crypto/evp/evp_lib.c",
    398. "openssl-1.0.0e/crypto/evp/m_sha1.c",
    399. "openssl-1.0.0e/crypto/evp/e_camellia.c",
    400. "openssl-1.0.0e/crypto/evp/e_bf.c",
    401. "openssl-1.0.0e/crypto/evp/e_old.c",
    402. "openssl-1.0.0e/crypto/evp/e_rc4.c",
    403. "openssl-1.0.0e/crypto/evp/e_rc5.c",
    404. "openssl-1.0.0e/crypto/evp/p_seal.c",
    405. "openssl-1.0.0e/crypto/evp/p_sign.c",
    406. "openssl-1.0.0e/crypto/evp/m_ripemd.c",
    407. "openssl-1.0.0e/crypto/evp/c_allc.c",
    408. "openssl-1.0.0e/crypto/evp/c_all.c",
    409. "openssl-1.0.0e/crypto/evp/evp_pkey.c",
    410. "openssl-1.0.0e/crypto/evp/pmeth_gn.c",
    411. "openssl-1.0.0e/crypto/evp/e_cast.c",
    412. "openssl-1.0.0e/crypto/evp/c_alld.c",
    413. "openssl-1.0.0e/crypto/evp/p_dec.c",
    414. "openssl-1.0.0e/crypto/evp/bio_b64.c",
    415. "openssl-1.0.0e/crypto/rc2/rc2ofb64.c",
    416. "openssl-1.0.0e/crypto/rc2/rc2cfb64.c",
    417. "openssl-1.0.0e/crypto/rc2/rc2_cbc.c",
    418. "openssl-1.0.0e/crypto/rc2/rc2_skey.c",
    419. "openssl-1.0.0e/crypto/rc2/rc2_ecb.c",
    420. "openssl-1.0.0e/crypto/buffer/buf_err.c",
    421. "openssl-1.0.0e/crypto/buffer/buffer.c",
    422. "openssl-1.0.0e/crypto/comp/comp_err.c",
    423. "openssl-1.0.0e/crypto/comp/comp_lib.c",
    424. "openssl-1.0.0e/crypto/comp/c_zlib.c",
    425. "openssl-1.0.0e/crypto/comp/c_rle.c",
    426. "openssl-1.0.0e/crypto/mem_dbg.c",
    427. "openssl-1.0.0e/crypto/ex_data.c",
    428. "openssl-1.0.0e/crypto/sha/sha512.c",
    429. "openssl-1.0.0e/crypto/sha/sha256.c",
    430. "openssl-1.0.0e/crypto/sha/sha_one.c",
    431. "openssl-1.0.0e/crypto/sha/sha1dgst.c",
    432. "openssl-1.0.0e/crypto/sha/sha1_one.c",
    433. "openssl-1.0.0e/crypto/sha/sha_dgst.c",
    434. "openssl-1.0.0e/crypto/txt_db/txt_db.c",
    435. "openssl-1.0.0e/crypto/hmac/hm_pmeth.c",
    436. "openssl-1.0.0e/crypto/hmac/hmac.c",
    437. "openssl-1.0.0e/crypto/hmac/hm_ameth.c",
    438. "openssl-1.0.0e/crypto/bio/bss_conn.c",
    439. "openssl-1.0.0e/crypto/bio/bss_sock.c",
    440. "openssl-1.0.0e/crypto/bio/bss_acpt.c",
    441. "openssl-1.0.0e/crypto/bio/bss_null.c",
    442. "openssl-1.0.0e/crypto/bio/bss_dgram.c",
    443. "openssl-1.0.0e/crypto/bio/bss_mem.c",
    444. "openssl-1.0.0e/crypto/bio/b_dump.c",
    445. "openssl-1.0.0e/crypto/bio/bss_fd.c",
    446. "openssl-1.0.0e/crypto/bio/b_sock.c",
    447. "openssl-1.0.0e/crypto/bio/bf_buff.c",
    448. "openssl-1.0.0e/crypto/bio/bf_null.c",
    449. "openssl-1.0.0e/crypto/bio/bio_err.c",
    450. "openssl-1.0.0e/crypto/bio/b_print.c",
    451. "openssl-1.0.0e/crypto/bio/bf_nbio.c",
    452. "openssl-1.0.0e/crypto/bio/bio_lib.c",
    453. "openssl-1.0.0e/crypto/bio/bss_log.c",
    454. "openssl-1.0.0e/crypto/bio/bss_file.c",
    455. "openssl-1.0.0e/crypto/bio/bio_cb.c",
    456. "openssl-1.0.0e/crypto/bio/bss_bio.c",
    457. "openssl-1.0.0e/crypto/pqueue/pqueue.c",
    458. "openssl-1.0.0e/crypto/conf/conf_mall.c",
    459. "openssl-1.0.0e/crypto/conf/conf_sap.c",
    460. "openssl-1.0.0e/crypto/conf/conf_lib.c",
    461. "openssl-1.0.0e/crypto/conf/conf_err.c",
    462. "openssl-1.0.0e/crypto/conf/conf_api.c",
    463. "openssl-1.0.0e/crypto/conf/conf_mod.c",
    464. "openssl-1.0.0e/crypto/conf/conf_def.c",
    465. "openssl-1.0.0e/crypto/ebcdic.c",
    466. "openssl-1.0.0e/crypto/asn1/t_x509.c",
    467. "openssl-1.0.0e/crypto/asn1/x_x509.c",
    468. "openssl-1.0.0e/crypto/asn1/a_print.c",
    469. "openssl-1.0.0e/crypto/asn1/x_pubkey.c",
    470. "openssl-1.0.0e/crypto/asn1/p5_pbev2.c",
    471. "openssl-1.0.0e/crypto/asn1/p8_pkey.c",
    472. "openssl-1.0.0e/crypto/asn1/a_bool.c",
    473. "openssl-1.0.0e/crypto/asn1/a_type.c",
    474. "openssl-1.0.0e/crypto/asn1/i2d_pu.c",
    475. "openssl-1.0.0e/crypto/asn1/x_crl.c",
    476. "openssl-1.0.0e/crypto/asn1/x_sig.c",
    477. "openssl-1.0.0e/crypto/asn1/x_bignum.c",
    478. "openssl-1.0.0e/crypto/asn1/tasn_fre.c",
    479. "openssl-1.0.0e/crypto/asn1/t_bitst.c",
    480. "openssl-1.0.0e/crypto/asn1/a_time.c",
    481. "openssl-1.0.0e/crypto/asn1/x_nx509.c",
    482. "openssl-1.0.0e/crypto/asn1/ameth_lib.c",
    483. "openssl-1.0.0e/crypto/asn1/a_utctm.c",
    484. "openssl-1.0.0e/crypto/asn1/nsseq.c",
    485. "openssl-1.0.0e/crypto/asn1/x_exten.c",
    486. "openssl-1.0.0e/crypto/asn1/p5_pbe.c",
    487. "openssl-1.0.0e/crypto/asn1/a_object.c",
    488. "openssl-1.0.0e/crypto/asn1/x_long.c",
    489. "openssl-1.0.0e/crypto/asn1/bio_ndef.c",
    490. "openssl-1.0.0e/crypto/asn1/a_dup.c",
    491. "openssl-1.0.0e/crypto/asn1/t_pkey.c",
    492. "openssl-1.0.0e/crypto/asn1/asn1_err.c",
    493. "openssl-1.0.0e/crypto/asn1/a_set.c",
    494. "openssl-1.0.0e/crypto/asn1/t_crl.c",
    495. "openssl-1.0.0e/crypto/asn1/x_val.c",
    496. "openssl-1.0.0e/crypto/asn1/n_pkey.c",
    497. "openssl-1.0.0e/crypto/asn1/asn_pack.c",
    498. "openssl-1.0.0e/crypto/asn1/tasn_prn.c",
    499. "openssl-1.0.0e/crypto/asn1/a_utf8.c",
    500. "openssl-1.0.0e/crypto/asn1/bio_asn1.c",
    501. "openssl-1.0.0e/crypto/asn1/t_spki.c",
    502. "openssl-1.0.0e/crypto/asn1/a_digest.c",
    503. "openssl-1.0.0e/crypto/asn1/tasn_dec.c",
    504. "openssl-1.0.0e/crypto/asn1/asn1_par.c",
    505. "openssl-1.0.0e/crypto/asn1/tasn_enc.c",
    506. "openssl-1.0.0e/crypto/asn1/a_gentm.c",
    507. "openssl-1.0.0e/crypto/asn1/d2i_pu.c",
    508. "openssl-1.0.0e/crypto/asn1/a_verify.c",
    509. "openssl-1.0.0e/crypto/asn1/a_i2d_fp.c",
    510. "openssl-1.0.0e/crypto/asn1/asn_mime.c",
    511. "openssl-1.0.0e/crypto/asn1/i2d_pr.c",
    512. "openssl-1.0.0e/crypto/asn1/x_name.c",
    513. "openssl-1.0.0e/crypto/asn1/a_int.c",
    514. "openssl-1.0.0e/crypto/asn1/f_string.c",
    515. "openssl-1.0.0e/crypto/asn1/a_strnid.c",
    516. "openssl-1.0.0e/crypto/asn1/f_int.c",
    517. "openssl-1.0.0e/crypto/asn1/a_bytes.c",
    518. "openssl-1.0.0e/crypto/asn1/evp_asn1.c",
    519. "openssl-1.0.0e/crypto/asn1/x_info.c",
    520. "openssl-1.0.0e/crypto/asn1/asn1_lib.c",
    521. "openssl-1.0.0e/crypto/asn1/x_x509a.c",
    522. "openssl-1.0.0e/crypto/asn1/x_algor.c",
    523. "openssl-1.0.0e/crypto/asn1/tasn_typ.c",
    524. "openssl-1.0.0e/crypto/asn1/d2i_pr.c",
    525. "openssl-1.0.0e/crypto/asn1/a_sign.c",
    526. "openssl-1.0.0e/crypto/asn1/a_bitstr.c",
    527. "openssl-1.0.0e/crypto/asn1/t_x509a.c",
    528. "openssl-1.0.0e/crypto/asn1/tasn_new.c",
    529. "openssl-1.0.0e/crypto/asn1/tasn_utl.c",
    530. "openssl-1.0.0e/crypto/asn1/asn1_gen.c",
    531. "openssl-1.0.0e/crypto/asn1/a_octet.c",
    532. "openssl-1.0.0e/crypto/asn1/x_pkey.c",
    533. "openssl-1.0.0e/crypto/asn1/asn_moid.c",
    534. "openssl-1.0.0e/crypto/asn1/t_req.c",
    535. "openssl-1.0.0e/crypto/asn1/a_d2i_fp.c",
    536. "openssl-1.0.0e/crypto/asn1/x_attrib.c",
    537. "openssl-1.0.0e/crypto/asn1/a_enum.c",
    538. "openssl-1.0.0e/crypto/asn1/a_strex.c",
    539. "openssl-1.0.0e/crypto/asn1/a_mbstr.c",
    540. "openssl-1.0.0e/crypto/asn1/f_enum.c",
    541. "openssl-1.0.0e/crypto/asn1/x_spki.c",
    542. "openssl-1.0.0e/crypto/asn1/x_req.c",
    543. "openssl-1.0.0e/crypto/bn/bn_exp.c",
    544. "openssl-1.0.0e/crypto/bn/bn_recp.c",
    545. "openssl-1.0.0e/crypto/bn/bn_const.c",
    546. "openssl-1.0.0e/crypto/bn/bn_sqr.c",
    547. "openssl-1.0.0e/crypto/bn/bn_mul.c",
    548. "openssl-1.0.0e/crypto/bn/bn_word.c",
    549. "openssl-1.0.0e/crypto/bn/bn_div.c",
    550. "openssl-1.0.0e/crypto/bn/bn_lib.c",
    551. "openssl-1.0.0e/crypto/bn/bn_rand.c",
    552. "openssl-1.0.0e/crypto/bn/bn_sqrt.c",
    553. "openssl-1.0.0e/crypto/bn/bn_gcd.c",
    554. "openssl-1.0.0e/crypto/bn/bn_nist.c",
    555. "openssl-1.0.0e/crypto/bn/bn_add.c",
    556. "openssl-1.0.0e/crypto/bn/bn_prime.c",
    557. "openssl-1.0.0e/crypto/bn/bn_exp2.c",
    558. "openssl-1.0.0e/crypto/bn/bn_gf2m.c",
    559. "openssl-1.0.0e/crypto/bn/bn_depr.c",
    560. "openssl-1.0.0e/crypto/bn/bn_mpi.c",
    561. "openssl-1.0.0e/crypto/bn/bn_kron.c",
    562. "openssl-1.0.0e/crypto/bn/bn_mont.c",
    563. "openssl-1.0.0e/crypto/bn/bn_asm.c",
    564. "openssl-1.0.0e/crypto/bn/bn_print.c",
    565. "openssl-1.0.0e/crypto/bn/bn_blind.c",
    566. "openssl-1.0.0e/crypto/bn/bn_err.c",
    567. "openssl-1.0.0e/crypto/bn/bn_shift.c",
    568. "openssl-1.0.0e/crypto/bn/bn_ctx.c",
    569. "openssl-1.0.0e/crypto/bn/bn_mod.c",
    570. "openssl-1.0.0e/crypto/ts/ts_asn1.c",
    571. "openssl-1.0.0e/crypto/ts/ts_verify_ctx.c",
    572. "openssl-1.0.0e/crypto/ts/ts_req_utils.c",
    573. "openssl-1.0.0e/crypto/ts/ts_err.c",
    574. "openssl-1.0.0e/crypto/ts/ts_conf.c",
    575. "openssl-1.0.0e/crypto/ts/ts_rsp_print.c",
    576. "openssl-1.0.0e/crypto/ts/ts_lib.c",
    577. "openssl-1.0.0e/crypto/ts/ts_rsp_sign.c",
    578. "openssl-1.0.0e/crypto/ts/ts_rsp_verify.c",
    579. "openssl-1.0.0e/crypto/ts/ts_rsp_utils.c",
    580. "openssl-1.0.0e/crypto/ts/ts_req_print.c",
    581. "openssl-1.0.0e/crypto/camellia/cmll_ecb.c",
    582. "openssl-1.0.0e/crypto/camellia/cmll_misc.c",
    583. "openssl-1.0.0e/crypto/camellia/cmll_ofb.c",
    584. "openssl-1.0.0e/crypto/camellia/cmll_cfb.c",
    585. "openssl-1.0.0e/crypto/camellia/cmll_cbc.c",
    586. "openssl-1.0.0e/crypto/camellia/cmll_ctr.c",
    587. "openssl-1.0.0e/crypto/camellia/camellia.c",
    588. "openssl-1.0.0e/crypto/pkcs12/p12_crt.c",
    589. "openssl-1.0.0e/crypto/pkcs12/pk12err.c",
    590. "openssl-1.0.0e/crypto/pkcs12/p12_decr.c",
    591. "openssl-1.0.0e/crypto/pkcs12/p12_utl.c",
    592. "openssl-1.0.0e/crypto/pkcs12/p12_init.c",
    593. "openssl-1.0.0e/crypto/pkcs12/p12_npas.c",
    594. "openssl-1.0.0e/crypto/pkcs12/p12_asn.c",
    595. "openssl-1.0.0e/crypto/pkcs12/p12_kiss.c",
    596. "openssl-1.0.0e/crypto/pkcs12/p12_mutl.c",
    597. "openssl-1.0.0e/crypto/pkcs12/p12_crpt.c",
    598. "openssl-1.0.0e/crypto/pkcs12/p12_add.c",
    599. "openssl-1.0.0e/crypto/pkcs12/p12_attr.c",
    600. "openssl-1.0.0e/crypto/pkcs12/p12_p8d.c",
    601. "openssl-1.0.0e/crypto/pkcs12/p12_p8e.c",
    602. "openssl-1.0.0e/crypto/pkcs12/p12_key.c",
    603. "openssl-1.0.0e/crypto/x509/x509_att.c",
    604. "openssl-1.0.0e/crypto/x509/by_file.c",
    605. "openssl-1.0.0e/crypto/x509/x509spki.c",
    606. "openssl-1.0.0e/crypto/x509/x509cset.c",
    607. "openssl-1.0.0e/crypto/x509/x509rset.c",
    608. "openssl-1.0.0e/crypto/x509/x_all.c",
    609. "openssl-1.0.0e/crypto/x509/x509_lu.c",
    610. "openssl-1.0.0e/crypto/x509/by_dir.c",
    611. "openssl-1.0.0e/crypto/x509/x509_req.c",
    612. "openssl-1.0.0e/crypto/x509/x509_r2x.c",
    613. "openssl-1.0.0e/crypto/x509/x509_trs.c",
    614. "openssl-1.0.0e/crypto/x509/x509_cmp.c",
    615. "openssl-1.0.0e/crypto/x509/x509_obj.c",
    616. "openssl-1.0.0e/crypto/x509/x509name.c",
    617. "openssl-1.0.0e/crypto/x509/x509_set.c",
    618. "openssl-1.0.0e/crypto/x509/x509_err.c",
    619. "openssl-1.0.0e/crypto/x509/x509_vfy.c",
    620. "openssl-1.0.0e/crypto/x509/x509_def.c",
    621. "openssl-1.0.0e/crypto/x509/x509type.c",
    622. "openssl-1.0.0e/crypto/x509/x509_vpm.c",
    623. "openssl-1.0.0e/crypto/x509/x509_txt.c",
    624. "openssl-1.0.0e/crypto/x509/x509_v3.c",
    625. "openssl-1.0.0e/crypto/x509/x509_d2.c",
    626. "openssl-1.0.0e/crypto/x509/x509_ext.c",
    627. "openssl-1.0.0e/crypto/idea/i_cbc.c",
    628. "openssl-1.0.0e/crypto/idea/i_ofb64.c",
    629. "openssl-1.0.0e/crypto/idea/i_skey.c",
    630. "openssl-1.0.0e/crypto/idea/i_ecb.c",
    631. "openssl-1.0.0e/crypto/idea/i_cfb64.c",
    632. "openssl-1.0.0e/engines/e_nuron.c",
    633. "openssl-1.0.0e/engines/e_4758cca.c",
    634. "openssl-1.0.0e/engines/e_atalla.c",
    635. "openssl-1.0.0e/engines/e_gmp.c",
    636. "openssl-1.0.0e/engines/e_sureware.c",
    637. "openssl-1.0.0e/engines/e_ubsec.c",
    638. "openssl-1.0.0e/engines/e_capi.c",
    639. "openssl-1.0.0e/engines/ccgost/gosthash.c",
    640. "openssl-1.0.0e/engines/ccgost/gost_ctl.c",
    641. "openssl-1.0.0e/engines/ccgost/gost_asn1.c",
    642. "openssl-1.0.0e/engines/ccgost/gost2001_keyx.c",
    643. "openssl-1.0.0e/engines/ccgost/gost_md.c",
    644. "openssl-1.0.0e/engines/ccgost/e_gost_err.c",
    645. "openssl-1.0.0e/engines/ccgost/gost_eng.c",
    646. "openssl-1.0.0e/engines/ccgost/gost_crypt.c",
    647. "openssl-1.0.0e/engines/ccgost/gost2001.c",
    648. "openssl-1.0.0e/engines/ccgost/gost_pmeth.c",
    649. "openssl-1.0.0e/engines/ccgost/gost89.c",
    650. "openssl-1.0.0e/engines/ccgost/gost_params.c",
    651. "openssl-1.0.0e/engines/ccgost/gost94_keyx.c",
    652. "openssl-1.0.0e/engines/ccgost/gost_sign.c",
    653. "openssl-1.0.0e/engines/ccgost/gost_keywrap.c",
    654. "openssl-1.0.0e/engines/ccgost/gost_ameth.c",
    655. "openssl-1.0.0e/engines/e_chil.c",
    656. "openssl-1.0.0e/engines/e_padlock.c",
    657. "openssl-1.0.0e/engines/e_aep.c",
    658. "openssl-1.0.0e/engines/e_cswift.c",
    659. ],
    660. local_include_dirs: [
    661. "core/include",
    662. ".", "core/adb",
    663. "openssl-1.0.0e/include",
    664. "openssl-1.0.0e",
    665. "openssl-1.0.0e/crypto",
    666. "openssl-1.0.0e/crypto/evp",
    667. "openssl-1.0.0e/crypto/asn1"
    668. ],
    669. shared_libs: ["libz"],
    670. cflags: ["-Wno-error",
    671. "-DADB_HOST=1",
    672. "-DHAVE_FORKEXEC=1",
    673. "-DHAVE_SYMLINKS",
    674. "-DHAVE_TERMIO_H",
    675. "-DOPENSSL_THREADS",
    676. "-DOPENSSL_NO_GMP",
    677. "-DOPENSSL_NO_JPAKE",
    678. "-DOPENSSL_NO_MD2",
    679. "-DOPENSSL_NO_RC5",
    680. "-DOPENSSL_NO_RFC3779",
    681. "-DOPENSSL_NO_STORE",
    682. "-DOPENSSL_NO_INLINE_ASM"
    683. ],
    684. recovery_available: true,
    685. }

    直接把adb源码中core目录和openssl目录放到android源码system/core/adbhost(添加的工程目录)目录下,编译时有少部分错误,直接修改源码改正,或能修改编译选项搞定都行,看大家心情。

    接着在init.rc中添加服务,我最开始时使用的是android的aosp源码编译的qemu版本,直接修改system/core/rootdir/init.rc,至于其他平台的,按目标平台的来。

    添加

    1. service adbhost /system/bin/adbhost server nodaemon
    2. user root
    3. group root log readproc
    4. seclabel u:r:init:s0
    5. disabled

    on property:sys.boot_completed=1

    下添加

        start adbhost

    至此修改完毕,make -j32

    编译完成后就可以自行验证了。

    注:由于android系统自身包涵adb device端server,已经占用默认的5037端口,可能影响host端server启动失败,可以把默认端口修改为4037(也可以改别的,看大家心情)。

  • 相关阅读:
    YB4618 具有充电前端过电压和过温保护功能,低压差充电前端 OVP 保护开关IC
    核壳异质型磁性AIE荧光微球/AIE微米级交联聚苯乙烯微球/AIE发光磁性荧光微球应用
    php-fpm未授权访问漏洞
    循序渐进搞懂 TCP 三次握手核心
    OpenCV-Python学习(14)—— OpenCV 绘制箭头线(cv.arrowedLine)
    无线通信———比较射频和蜂窝电话
    WebDAV之葫芦儿·派盘+元思笔记
    云计算 入门名词
    “数字支付龙头”汇付天下:以CRM为起点建设业务全流程数字化
    信息检索 | 常见专类信息检索系统一览
  • 原文地址:https://blog.csdn.net/robitmind/article/details/134348561