codeql
codeql copied to clipboard
Bazel: add codeql specific packaging library
This encapsulate arch specific logic, local installation and separation of zip files into generic and arch-specific parts as required by the internal build. Moreover, it introduces codeql_pkg_zip_import, which allows to add a .zip file to the pack in a highly optimized way:
- when installing the pack,
ripunzipwill be used to unzip the zip file contents to the destination directory - when creating a zip file of the pack, a special purpose
zipmerge(ported from the internal repository) merges the imported zips into the output, without decompressing.
These are applied to swift as an example.