annotate playground/BUILD @ 22:947b81010aba

[Dowa & Seobeo] Updated so that Dowa hashmaps can use arena and not be broken. Split up web so taht it can handle different paths. Also fixes issues with hash collisions which was pain in the ass.
author June Park <parkjune1995@gmail.com>
date Tue, 07 Oct 2025 07:11:02 -0700
parents fa2b8af609d9
children 342726584be2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
15
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
2 load("//gui_ze:gui_ze.bzl", "bun_build")
1
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
3
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
4 alias(
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
5 name = "playground",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
6 actual = select({
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
7 "@platforms//os:osx": ":playground_osx",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
8 })
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
9 )
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
10
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
11 cc_binary(
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
12 name = "playground_osx",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
13 srcs = ["main.c"],
18
fa2b8af609d9 [Seobeo] Fixed a bug with pathing. Support SSL.
June Park <parkjune1995@gmail.com>
parents: 15
diff changeset
14 deps = [
fa2b8af609d9 [Seobeo] Fixed a bug with pathing. Support SSL.
June Park <parkjune1995@gmail.com>
parents: 15
diff changeset
15 "@openssl//:ssl",
fa2b8af609d9 [Seobeo] Fixed a bug with pathing. Support SSL.
June Park <parkjune1995@gmail.com>
parents: 15
diff changeset
16 ]
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
17 )
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
18
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
19 filegroup(
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
20 name = "all_ts_files",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
21 srcs = glob([
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
22 "**/*.ts",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
23 "**/*.tsx",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
24 "**/*.js",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
25 "**/*.jsx",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
26 ], allow_empty=True)
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
27 )
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
28
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
29 bun_build(
15
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
30 name = "hello",
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
31 src = "main.ts",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
32 data = ["//third_party/bun:node_modules", ":all_ts_files"],
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
33 visibility = ["//visibility:public"],
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
34 )