Skip to content

Commit 924c89d

Browse files
committed
Remove js_client and get hedron working again.
1 parent 4e08ef3 commit 924c89d

File tree

16 files changed

+12
-3342
lines changed

16 files changed

+12
-3342
lines changed

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
build --cxxopt='-std=c++17'
1+
build --cxxopt='-std=c++17' --enable_workspace
22

33
# Address sanitizer
44
# To use it:

WORKSPACE

Lines changed: 11 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,23 @@ workspace(name = "w3c_patch_subset_incxfer")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
## To create compile commands json for clangd integration:
6-
# Hedron's Compile Commands Extractor for Bazel
7-
# https://github.com/hedronvision/bazel-compile-commands-extractor
6+
# Hedron's Compile Commands Extractor for Bazel
7+
# https://github.com/hedronvision/bazel-compile-commands-extractor
88
http_archive(
99
name = "hedron_compile_commands",
1010

11-
# Replace the commit hash in both places (below) with the latest, rather than using the stale one here.
12-
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
13-
sha256 = "3cd0e49f0f4a6d406c1d74b53b7616f5e24f5fd319eafc1bf8eee6e14124d115",
14-
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/3dddf205a1f5cde20faf2444c1757abe0564ff4c.tar.gz",
15-
strip_prefix = "bazel-compile-commands-extractor-3dddf205a1f5cde20faf2444c1757abe0564ff4c",
11+
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/f5fbd4cee671d8d908f37c83abaf70fba5928fc7.tar.gz",
12+
strip_prefix = "bazel-compile-commands-extractor-f5fbd4cee671d8d908f37c83abaf70fba5928fc7",
13+
integrity = "sha256-uj/u/fV7bUx0njxKv6hvNnPn2zZMsTrPw0ltzm6oAaM=",
1614
)
1715
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
1816
hedron_compile_commands_setup()
17+
load("@hedron_compile_commands//:workspace_setup_transitive.bzl", "hedron_compile_commands_setup_transitive")
18+
hedron_compile_commands_setup_transitive()
19+
load("@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive")
20+
hedron_compile_commands_setup_transitive_transitive()
21+
load("@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive_transitive")
22+
hedron_compile_commands_setup_transitive_transitive_transitive()
1923

2024
# Base64
2125
http_archive(
@@ -95,27 +99,6 @@ http_archive(
9599
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
96100
)
97101

98-
### Emscripten ###
99-
100-
http_archive(
101-
name = "emsdk",
102-
strip_prefix = "emsdk-3.1.44/bazel",
103-
sha256 = "cb8cded78f6953283429d724556e89211e51ac4d871fcf38e0b32405ee248e91",
104-
url = "https://github.com/emscripten-core/emsdk/archive/3.1.44.tar.gz",
105-
)
106-
107-
load("@emsdk//:deps.bzl", emsdk_deps = "deps")
108-
emsdk_deps()
109-
110-
load("@emsdk//:emscripten_deps.bzl", emsdk_emscripten_deps = "emscripten_deps")
111-
emsdk_emscripten_deps(emscripten_version = "3.1.44")
112-
113-
load("@emsdk//:toolchains.bzl", "register_emscripten_toolchains")
114-
register_emscripten_toolchains()
115-
116-
117-
### End Emscripten ###
118-
119102
# IFTB - Binned Incremental Font Transfer
120103

121104
http_archive(
@@ -134,15 +117,6 @@ http_archive(
134117
urls = ["https://github.com/w3c/IFT/archive/01037d264f657f9164f9522b8b16a7bab2e6917c.zip"],
135118
)
136119

137-
# libcbor
138-
http_archive(
139-
name = "libcbor",
140-
build_file = "//third_party:libcbor.BUILD",
141-
sha256 = "dd04ea1a7df484217058d389e027e7a0143a4f245aa18a9f89a5dd3e1a4fcc9a",
142-
strip_prefix = "libcbor-0.8.0",
143-
urls = ["https://github.com/PJK/libcbor/archive/refs/tags/v0.8.0.zip"],
144-
)
145-
146120
# uritemplate-cpp
147121
http_archive(
148122
name = "uritemplate-cpp",

ift/proto/BUILD

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
2-
31
cc_library(
42
name = "proto",
53
srcs = [

js_client/BUILD

Lines changed: 0 additions & 59 deletions
This file was deleted.

js_client/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)