{"id":16936352,"url":"https://github.com/vvb2060/boringssl_android","last_synced_at":"2025-05-10T22:51:40.736Z","repository":{"id":57735149,"uuid":"290709719","full_name":"vvb2060/BoringSSL_Android","owner":"vvb2060","description":"boringssl static library prefab for android","archived":false,"fork":false,"pushed_at":"2025-02-07T19:17:11.000Z","size":16957,"stargazers_count":39,"open_issues_count":0,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-10T22:51:34.797Z","etag":null,"topics":["android","boringssl","library","prefab","static"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vvb2060.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-27T07:39:23.000Z","updated_at":"2025-04-12T11:41:32.000Z","dependencies_parsed_at":"2024-07-28T18:27:57.154Z","dependency_job_id":"00779330-2bbf-4479-9b97-97e4897fd903","html_url":"https://github.com/vvb2060/BoringSSL_Android","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvb2060%2FBoringSSL_Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvb2060%2FBoringSSL_Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvb2060%2FBoringSSL_Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvb2060%2FBoringSSL_Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvb2060","download_url":"https://codeload.github.com/vvb2060/BoringSSL_Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492615,"owners_count":21916964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","boringssl","library","prefab","static"],"created_at":"2024-10-13T20:56:40.797Z","updated_at":"2025-05-10T22:51:40.720Z","avatar_url":"https://github.com/vvb2060.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BoringSSL Android\n\nboringssl static library prefab for android\n\nThis library is based on the [boringssl repo](https://github.com/google/boringssl).\n\n## Integration\n\nGradle:\n\n```gradle\nimplementation(\"io.github.vvb2060.ndk:boringssl:20250114\")\n// or LTO version (~40MiB), it does not strip any debug info\nimplementation(\"io.github.vvb2060.ndk:boringssl:20250114-lto-ndk28\")\n```\n\nThis library is [Prefab](https://google.github.io/prefab/), so you will need to enable it in your project (Android Gradle Plugin 4.1+):\n\n```gradle\nandroid {\n    ...\n    buildFeatures {\n        ...\n        prefab = true\n    }\n}\n```\n\n## Usage\n\n### ndk-build\n\nyou can use `crypto_static`/`ssl_static` in your `Android.mk`.\nFor example, if your application defines `libapp.so` and it uses `ssl_static`, your `Android.mk` file should include the following:\n\n```makefile\ninclude $(CLEAR_VARS)\nLOCAL_MODULE           := app\nLOCAL_SRC_FILES        := app.cpp\nLOCAL_STATIC_LIBRARIES := ssl_static\ninclude $(BUILD_SHARED_LIBRARY)\n\n# If you don't need your project to build with NDKs older than r21, you can omit\n# this block.\nifneq ($(call ndk-major-at-least,21),true)\n    $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))\nendif\n\n$(call import-module,prefab/boringssl)\n```\n\n### CMake\n\nyou can use `crypto_static`/`ssl_static` in your `CMakeLists.txt`.\nFor example, if your application defines `libapp.so` and it uses `crypto_static`, your `CMakeLists.txt` file should include the following:\n\n```cmake\nadd_library(app SHARED app.cpp)\n\n# Add these two lines.\nfind_package(boringssl REQUIRED CONFIG)\ntarget_link_libraries(app boringssl::crypto_static)\n```\n\n## Changelog\n\n* 1.0 [android-r-beta-3](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-r-beta-3) [2fb729d4f36beaf263ad85e24a790b571652679c](https://github.com/google/boringssl/tree/2fb729d4f36beaf263ad85e24a790b571652679c)\n* 2.0 [android-s-preview-1](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-s-preview-1) [ae2bb641735447496bed334c495e4868b981fe32](https://github.com/google/boringssl/tree/ae2bb641735447496bed334c495e4868b981fe32)\n* 3.0 [android-t-preview-2](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-t-preview-2) [345c86b1cfcc478a71a9a71f0206893fd16ae912](https://github.com/google/boringssl/tree/345c86b1cfcc478a71a9a71f0206893fd16ae912)\n* 3.1 [android-13.0.0_r18](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-13.0.0_r18) [base 1530333b25589ee4d4d52b10e78ee55dd82f6dcd](https://github.com/google/boringssl/tree/1530333b25589ee4d4d52b10e78ee55dd82f6dcd) [patch adeb743478cf1894e0148e46044dc51f091a312e](https://github.com/google/boringssl/tree/adeb743478cf1894e0148e46044dc51f091a312e)\n* 4.0 [android-14.0.0_r18](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-14.0.0_r18) [base 32b51305debe43e38e7bf2c2b13c4ebf3b474e80](https://github.com/google/boringssl/tree/32b51305debe43e38e7bf2c2b13c4ebf3b474e80) [patch a430310d6563c0734ddafca7731570dfb683dc19](https://github.com/google/boringssl/tree/a430310d6563c0734ddafca7731570dfb683dc19)\n* 4.1 [android-14.0.0_r54](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-14.0.0_r54) [538b2a6cf0497cf8bb61ae726a484a3d7a34e54e](https://github.com/google/boringssl/tree/538b2a6cf0497cf8bb61ae726a484a3d7a34e54e)\n* 5.0 [android-15.0.0_r1](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-15.0.0_r1) [4d50a595b49a2e7b7017060a4d402c4ee9fe28a2](https://github.com/google/boringssl/tree/4d50a595b49a2e7b7017060a4d402c4ee9fe28a2)\n* 20241024 [0.20241024.0](https://github.com/google/boringssl/releases/tag/0.20241024.0) [781a72b2aa513bbbf01b9bc670b0495a6b115968](https://github.com/google/boringssl/tree/781a72b2aa513bbbf01b9bc670b0495a6b115968)\n* 20250114 [0.20250114.0](https://github.com/google/boringssl/releases/tag/0.20250114.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvb2060%2Fboringssl_android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvb2060%2Fboringssl_android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvb2060%2Fboringssl_android/lists"}