Mercurial
diff markdown_converter/BUILD @ 173:827c6ac504cd hg-web
Merged in default here.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 18:59:10 -0800 |
| parents | 1c0878eb17de |
| children | fed99fc04e12 8c74204fd362 |
line wrap: on
line diff
--- a/markdown_converter/BUILD Sat Jan 10 13:35:09 2026 -0800 +++ b/markdown_converter/BUILD Mon Jan 19 18:59:10 2026 -0800 @@ -1,3 +1,7 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("//gui_ze:gui_ze.bzl", "wasm_binary", "bun_run", "move_files_into_dir") + +# JS only filegroup( name = "markdown_to_html", srcs = glob([ @@ -6,4 +10,18 @@ visibility = ["//visibility:public"], ) +filegroup( + name = "markdown_to_html_hdrs", + srcs = glob([ + "*.h", + ], allow_empty=True), + visibility = ["//visibility:public"], +) +# C implementation for native use +cc_library( + name = "markdown_to_html_c", + srcs = ["markdown_to_html.c"], + hdrs = [":markdown_to_html_hdrs"], + visibility = ["//visibility:public"], +)