Skip to content

Commit d79e02a

Browse files
committed
Revert "[bazel] Add additional files necessary for building with closure and on RBE (emscripten-core#1057)"
This reverts commit 311acff.
1 parent c4444cc commit d79e02a

File tree

1 file changed

+5
-42
lines changed

1 file changed

+5
-42
lines changed

bazel/emscripten_deps.bzl

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,73 +18,36 @@ filegroup(
1818
]),
1919
)
2020
21-
filegroup(
22-
name = "emcc_common",
23-
srcs = [
24-
"emscripten/emcc.py",
25-
"emscripten/emscripten.py",
26-
"emscripten/emscripten-version.txt",
27-
"emscripten/cache/sysroot_install.stamp",
28-
"emscripten/src/settings.js",
29-
"emscripten/src/settings_internal.js",
30-
] + glob(
31-
include = [
32-
"emscripten/third_party/**",
33-
"emscripten/tools/**",
34-
],
35-
exclude = [
36-
"**/__pycache__/**",
37-
],
38-
),
39-
)
40-
4121
filegroup(
4222
name = "compiler_files",
4323
srcs = [
24+
"emscripten/emcc.py",
4425
"bin/clang{bin_extension}",
4526
"bin/clang++{bin_extension}",
46-
":emcc_common",
4727
":includes",
4828
],
4929
)
5030
5131
filegroup(
5232
name = "linker_files",
5333
srcs = [
34+
"emscripten/emcc.py",
5435
"bin/clang{bin_extension}",
5536
"bin/llvm-ar{bin_extension}",
5637
"bin/llvm-nm{bin_extension}",
5738
"bin/llvm-objcopy{bin_extension}",
5839
"bin/wasm-emscripten-finalize{bin_extension}",
5940
"bin/wasm-ld{bin_extension}",
6041
"bin/wasm-opt{bin_extension}",
61-
"bin/wasm-metadce{bin_extension}",
62-
":emcc_common",
63-
] + glob(
64-
include = [
65-
"emscripten/cache/sysroot/lib/**",
66-
"emscripten/node_modules/**",
67-
"emscripten/src/**",
68-
],
69-
),
42+
] + glob(["emscripten/node_modules/**"]),
7043
)
7144
7245
filegroup(
7346
name = "ar_files",
7447
srcs = [
75-
"bin/llvm-ar{bin_extension}",
7648
"emscripten/emar.py",
77-
"emscripten/emscripten-version.txt",
78-
"emscripten/src/settings.js",
79-
"emscripten/src/settings_internal.js",
80-
] + glob(
81-
include = [
82-
"emscripten/tools/**",
83-
],
84-
exclude = [
85-
"**/__pycache__/**",
86-
],
87-
),
49+
"bin/llvm-ar{bin_extension}",
50+
],
8851
)
8952
"""
9053

0 commit comments

Comments
 (0)