google / emboss

Emboss is a tool for generating code that reads and writes binary data structures.
Apache License 2.0
68 stars 21 forks source link

Switch `emboss_cc_library` to use real Starlark rules. #81

Closed reventlov closed 1 year ago

reventlov commented 1 year ago

This change creates the emboss_library and cc_emboss_library Starlark rules, which mirror proto_library and cc_proto_library.

This also fixes issues with .emb files that import .emb files that import .emb files, where imports-of-imports were not always included in the compilation.

This also required new command-line arguments to emboss_front_end (--output-file) and emboss_codegen_cpp (--input-file and --output-file).