Skip to main content

add-source-file

How to add a new source file to the BoringSSL build.

Datos de origen

Repositorio
google/boringssl
Última actividad en el origen
20 de octubre de 2026 a las 15:18
Idioma detectado de SKILL.md
inglés
Estrellas
2294
Forks
916

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
add-source-file
description
How to add a new source file to the BoringSSL build.
# Adding a Source File to the Build To add a new source file (C/C++, header, or assembly) to BoringSSL, you must update the build configuration and regenerate the build files. ## Steps 1. **Update `build.json`**: * Add the new file to the correct section (e.g., `srcs`, `hdrs`, `internal_hdrs`) under the appropriate target in [build.json](../../../build.json). * For the schema of `build.json`, refer to the Go structs in [util/pregenerate/build.go](../../../util/pregenerate/build.go). 2. **Update Pregenerated Files**: * After modifying `build.json`, you must regenerate the build files. * Refer to [gen/README.md](../../../gen/README.md) or use the [update_pregenerated_files](../update_pregenerated_files/SKILL.md) skill to update the pre-generated files.
Ver en GitHub