add-source-file
How to add a new source file to the BoringSSL build.
Warnings for the author
- "name" should match the name of the directory that holds SKILL.md
- Not listed through the skills extension: the directory must be named after the skill.
Adding a Source File to the Build
Steps
-
Check Filename Uniqueness (for
.c/.ccfiles):- Verify unique basenames with
go run ./util/check_filenames.go(see util/check_filenames.go).
- Verify unique basenames with
-
Update
build.json(if not already matched by a glob):- Add the file to the appropriate target and section (
srcs,hdrs,internal_hdrs,data, etc.) in build.json (schema in util/pregenerate/build.go). - Files matching an existing wildcard glob in
build.json(e.g.,fuzz/*.cc,rust/bssl-*/src/*.rs, and globbed testdatapaths) do not require editingbuild.json, but still require step 3.
- Add the file to the appropriate target and section (
-
Update Pregenerated Files:
- Regenerate
gen/using update_pregenerated_files (required even when adding a file matched by an existing glob).
- Regenerate
Files of this skill
This skill has no supporting files.