-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7,241 changed files
with
2,112,891 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
third_party/googletest | ||
util/bazel-example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright (c) 2024, Google Inc. | ||
# | ||
# Permission to use, copy, modify, and/or distribute this software for any | ||
# purpose with or without fee is hereby granted, provided that the above | ||
# copyright notice and this permission notice appear in all copies. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | ||
# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | ||
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
# This is a bazelrc file, documented in https://bazel.build/run/bazelrc and | ||
# specifies default flags when BoringSSL is the root project. It has no effect | ||
# on downstream projects, which define their own toolchains and configs. | ||
|
||
# See https://bazel.build/run/bazelrc#enable_platform_specific_config. | ||
# This expands to --config=osname which, in turn, expands to the options | ||
# specified below. | ||
build --enable_platform_specific_config | ||
|
||
# Enable additional checks. | ||
build --features=layering_check | ||
build --features=parse_headers | ||
|
||
# Bazel has no abstractions for setting C++ versions and expects the root | ||
# project to use the compiler-specific options for their toolchains. (Bazel only | ||
# wants the root to set the C++ version for the sake of projects like Abseil | ||
# whose ABI depends on the C++ version.) | ||
build:linux --cxxopt=-std=c++17 | ||
build:macos --cxxopt=-std=c++17 | ||
build:windows --cxxopt=/std:c++17 | ||
|
||
# Without setting a minimum macOS version, std::optional does not work. | ||
build:macos --cxxopt=-mmacosx-version-min=10.15 | ||
|
||
# Without /Zc:__cplusplus, MSVC does not define the right value for | ||
# __cplusplus. See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | ||
build:windows --cxxopt=/Zc:__cplusplus | ||
|
||
# https://bazel.build/configure/best-practices#bazelrc-file | ||
try-import %workspace%/user.bazelrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
BasedOnStyle: Google | ||
MaxEmptyLinesToKeep: 3 | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
DerivePointerAlignment: false | ||
PointerAlignment: Right | ||
# TODO(davidben): The default for Google style is now Regroup, but the default | ||
# IncludeCategories does not recognize <openssl/header.h>. We should | ||
# reconfigure IncludeCategories to match. For now, keep it at Preserve. | ||
IncludeBlocks: Preserve | ||
InsertBraces: true | ||
TypenameMacros: ['LHASH_OF', 'STACK_OF'] | ||
StatementMacros: | ||
- "DECLARE_ASN1_ALLOC_FUNCTIONS" | ||
- "DECLARE_ASN1_ALLOC_FUNCTIONS_name" | ||
- "DECLARE_ASN1_ENCODE_FUNCTIONS" | ||
- "DECLARE_ASN1_ENCODE_FUNCTIONS_const" | ||
- "DECLARE_ASN1_FUNCTIONS" | ||
- "DECLARE_ASN1_FUNCTIONS_const" | ||
- "DECLARE_ASN1_FUNCTIONS_fname" | ||
- "DECLARE_ASN1_FUNCTIONS_name" | ||
- "DECLARE_PEM_read" | ||
- "DECLARE_PEM_read_bio" | ||
- "DECLARE_PEM_read_fp" | ||
- "DECLARE_PEM_rw" | ||
- "DECLARE_PEM_rw_cb" | ||
- "DECLARE_PEM_rw_const" | ||
- "DECLARE_PEM_write" | ||
- "DECLARE_PEM_write_bio" | ||
- "DECLARE_PEM_write_bio_const" | ||
- "DECLARE_PEM_write_cb" | ||
- "DECLARE_PEM_write_cb_bio" | ||
- "DECLARE_PEM_write_cb_fp" | ||
- "DECLARE_PEM_write_const" | ||
- "DECLARE_PEM_write_fp" | ||
- "DECLARE_PEM_write_fp_const" | ||
- "IMPLEMENT_ASN1_ALLOC_FUNCTIONS" | ||
- "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname" | ||
- "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname" | ||
- "IMPLEMENT_ASN1_DUP_FUNCTION" | ||
- "IMPLEMENT_ASN1_DUP_FUNCTION_const" | ||
- "IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname" | ||
- "IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname" | ||
- "IMPLEMENT_ASN1_FUNCTIONS" | ||
- "IMPLEMENT_ASN1_FUNCTIONS_const" | ||
- "IMPLEMENT_ASN1_FUNCTIONS_const_fname" | ||
- "IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name" | ||
- "IMPLEMENT_ASN1_FUNCTIONS_fname" | ||
- "IMPLEMENT_ASN1_FUNCTIONS_name" | ||
- "IMPLEMENT_ASN1_TYPE_ex" | ||
- "IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS" | ||
- "IMPLEMENT_PEM_read" | ||
- "IMPLEMENT_PEM_read_bio" | ||
- "IMPLEMENT_PEM_read_fp" | ||
- "IMPLEMENT_PEM_rw" | ||
- "IMPLEMENT_PEM_rw_cb" | ||
- "IMPLEMENT_PEM_rw_const" | ||
- "IMPLEMENT_PEM_write" | ||
- "IMPLEMENT_PEM_write_bio" | ||
- "IMPLEMENT_PEM_write_bio_const" | ||
- "IMPLEMENT_PEM_write_cb" | ||
- "IMPLEMENT_PEM_write_cb_bio" | ||
- "IMPLEMENT_PEM_write_cb_bio_const" | ||
- "IMPLEMENT_PEM_write_cb_const" | ||
- "IMPLEMENT_PEM_write_cb_fp" | ||
- "IMPLEMENT_PEM_write_cb_fp_const" | ||
- "IMPLEMENT_PEM_write_const" | ||
- "IMPLEMENT_PEM_write_fp" | ||
- "IMPLEMENT_PEM_write_fp_const" | ||
- "ASN1_ADB_END" | ||
- "ASN1_CHOICE_END" | ||
- "ASN1_CHOICE_END_cb" | ||
- "ASN1_ITEM_TEMPLATE_END" | ||
- "ASN1_SEQUENCE_END" | ||
- "ASN1_SEQUENCE_END_cb" | ||
- "ASN1_SEQUENCE_END_enc" | ||
- "ASN1_SEQUENCE_END_ref" | ||
# This isn't quite right, but it causes clang-format to do a slightly better | ||
# job with this macro. | ||
- "ASN1_EX_TEMPLATE_TYPE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Please do not send pull requests to the BoringSSL repository. | ||
|
||
We do, however, take contributions gladly. | ||
|
||
See https://boringssl.googlesource.com/boringssl/+/master/CONTRIBUTING.md | ||
|
||
Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/bazel-* | ||
/build | ||
/build32 | ||
/build64 | ||
/ssl/test/runner/runner | ||
*.pyc | ||
*.swp | ||
*.swo | ||
/doc/*.html | ||
/doc/doc.css | ||
/rust/Cargo.lock | ||
/rust/bssl-crypto/Cargo.lock | ||
/rust/target | ||
/user.bazelrc | ||
|
||
/util/bazel-example/bazel-* | ||
/util/bazel-example/MODULE.bazel.lock | ||
|
||
/util/bot/android_ndk | ||
/util/bot/android_sdk/public | ||
/util/bot/cmake | ||
/util/bot/golang | ||
/util/bot/libFuzzer | ||
/util/bot/libcxx | ||
/util/bot/libcxxabi | ||
/util/bot/llvm-build | ||
/util/bot/nasm-win32.exe | ||
/util/bot/ninja | ||
/util/bot/perl-win32 | ||
/util/bot/sde-linux64 | ||
/util/bot/sde-linux64.tar.xz | ||
/util/bot/sde-win32 | ||
/util/bot/sde-win32.tar.xz | ||
/util/bot/win_toolchain | ||
/util/bot/win_toolchain.json | ||
|
||
# Ignore target under any directory. | ||
target/ |
Oops, something went wrong.