Mercurial
comparison seobeo/BUILD @ 6:1e61008b9980
[Seobeo] Updated seobeo so that API is more opinionated. Added my webpage./build.sh
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Mon, 29 Sep 2025 16:00:44 -0700 |
| parents | 2758f5527d2b |
| children | 114cad94008f |
comparison
equal
deleted
inserted
replaced
| 5:3e12bf044589 | 6:1e61008b9980 |
|---|---|
| 3 | 3 |
| 4 alias( | 4 alias( |
| 5 name = "seobeo", | 5 name = "seobeo", |
| 6 actual = select({ | 6 actual = select({ |
| 7 "@platforms//os:osx": ":seobeo_example_mac", | 7 "@platforms//os:osx": ":seobeo_example_mac", |
| 8 }) | 8 }), |
| 9 visibility = ["//visibility:public"], | |
| 10 ) | |
| 11 | |
| 12 filegroup( | |
| 13 name = "pages_files", | |
| 14 srcs = glob(["pages/**"]), | |
| 15 ) | |
| 16 | |
| 17 filegroup( | |
| 18 name = "seobeo_headers", | |
| 19 srcs = [ | |
| 20 "seobeo.h", | |
| 21 "seobeo_internal.h" | |
| 22 ], | |
| 23 visibility = ["//visibility:public"], | |
| 9 ) | 24 ) |
| 10 | 25 |
| 11 cc_binary( | 26 cc_binary( |
| 12 name = "seobeo_example_mac", | 27 name = "seobeo_example_mac", |
| 13 srcs = ["main.c"], | 28 srcs = ["main.c"], |
| 14 deps = [":seobeo_non_window"], | 29 deps = [":seobeo_non_window"], |
| 15 data = [ | 30 data = glob(["pages/**"]), |
| 16 "pages/index.html" | |
| 17 ], | |
| 18 target_compatible_with = [ | 31 target_compatible_with = [ |
| 19 "@platforms//os:osx", | 32 "@platforms//os:osx", |
| 20 ], | 33 ], |
| 34 visibility = ["//visibility:public"], | |
| 21 ) | 35 ) |
| 22 | 36 |
| 23 cc_library( | 37 cc_library( |
| 24 name = "seobeo_non_window", | 38 name = "seobeo_non_window", |
| 25 srcs = [ | 39 srcs = [ |
| 26 "s_linux_network.c", | 40 "s_linux_network.c", |
| 41 "s_web.c", | |
| 27 ], | 42 ], |
| 28 deps = ["//dowa:dowa"], | 43 deps = ["//dowa:dowa"], |
| 29 hdrs = [ | 44 hdrs = [ |
| 30 "seobeo.h", | 45 "seobeo.h", |
| 31 "seobeo_internal.h" | 46 "seobeo_internal.h" |
| 32 ], | 47 ], |
| 33 target_compatible_with = [ | 48 target_compatible_with = [ |
| 34 "@platforms//os:osx", | 49 "@platforms//os:osx", |
| 35 ], | 50 ], |
| 51 visibility = ["//visibility:public"], | |
| 36 ) | 52 ) |