Mercurial
diff seobeo/BUILD @ 1:adcfad6e86fb
Updated naming and separated out some logic within seobeo.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 09:11:20 -0700 |
| parents | 5695ef413be0 |
| children | 2758f5527d2b |
line wrap: on
line diff
--- a/seobeo/BUILD Tue Sep 23 10:05:25 2025 -0700 +++ b/seobeo/BUILD Wed Sep 24 09:11:20 2025 -0700 @@ -1,17 +1,36 @@ load("@rules_cc//cc:cc_binary.bzl", "cc_binary") +load("@rules_cc//cc:cc_library.bzl", "cc_library") alias( name = "seobeo", actual = select({ - "@platforms//os:osx": ":seobeo_mac", + "@platforms//os:osx": ":seobeo_example_mac", }) ) cc_binary( - name = "seobeo_mac", + name = "seobeo_example_mac", srcs = ["main.c"], - deps = [], + deps = [":seobeo_non_window"], + data = [ + "index.html" + ], target_compatible_with = [ "@platforms//os:osx", ], ) + +cc_library( + name = "seobeo_non_window", + srcs = [ + "s_linux_network.c", + ], + deps = ["//dowa:dowa"], + hdrs = [ + "seobeo.h", + "seobeo_internal.h" + ], + target_compatible_with = [ + "@platforms//os:osx", + ], +)