Mercurial
comparison markdown_converter/wasm/BUILD @ 156:cd35e600ae34
[MarkDown Converter] Fixed few things and made a test
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Mon, 12 Jan 2026 15:20:39 -0800 |
| parents | |
| children | f3084bca7317 |
comparison
equal
deleted
inserted
replaced
| 155:3bb45eb67906 | 156:cd35e600ae34 |
|---|---|
| 1 load("//gui_ze:gui_ze.bzl", "wasm_binary") | |
| 2 | |
| 3 wasm_binary( | |
| 4 name = "markdown_to_html_wasm", | |
| 5 src = "markdown_to_html_wasm.c", | |
| 6 exports = [ | |
| 7 "malloc", | |
| 8 "free", | |
| 9 "heap_reset", | |
| 10 "markdown_to_html", | |
| 11 "markdown_strlen", | |
| 12 ], | |
| 13 visibility = ["//visibility:public"], | |
| 14 ) | |
| 15 | |
| 16 # JS to link wasm with | |
| 17 filegroup( | |
| 18 name = "markdown_to_html_wasm_js", | |
| 19 srcs = glob([ | |
| 20 "**/*.js", | |
| 21 ], allow_empty=True), | |
| 22 visibility = ["//visibility:public"], | |
| 23 ) |