tree: e631556bd6245f796253794e9389c74d821176fc [path history] [tgz]
  1. BUILD.generated.gni
  2. BUILD.generated_tests.gni
  5. baremetal_sysdeps/
  8. err_data.c
  10. public/

Boringssl Library

The folder hosts Boringssl library source code in src subfolder. A build script ( is added and currently provides a library target configured to accommodate baremetal use. Specifically, source files that require file system and posix socket support are excluded from compilation. Multithread and assembly implementation of crypto algorithm are disabled. To use the library, add “//third_party/boringssl:boringssl_baremetal” to the dependency list.

BUILD.generated.gni, BUILD.generated_tests.gni, and err_data.c are generated by based on the current version of Boringssl source code. If the version of the source code bumps up, it may be necessary to re-run the script to make sure they are in sync. The script only supports python2. To re-generate the files, run:

python2 ./ gn

TODO(zyecheng): Figure out a rolling policy to auto-update generated files.