Run buildifier on bazel/ (#913)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
package(default_visibility = ['//visibility:public'])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
name = "linux",
|
name = "linux",
|
||||||
@@ -41,4 +41,3 @@ alias(
|
|||||||
":windows": "@emscripten_npm_win//:node_modules",
|
":windows": "@emscripten_npm_win//:node_modules",
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
workspace(name = "emsdk")
|
workspace(name = "emsdk")
|
||||||
|
|
||||||
load(":deps.bzl", "deps")
|
load(":deps.bzl", "deps")
|
||||||
|
|
||||||
deps()
|
deps()
|
||||||
|
|
||||||
load(":emscripten_deps.bzl", "emscripten_deps")
|
load(":emscripten_deps.bzl", "emscripten_deps")
|
||||||
|
|
||||||
emscripten_deps()
|
emscripten_deps()
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ filegroup(
|
|||||||
"emcc.sh",
|
"emcc.sh",
|
||||||
"emscripten_config",
|
"emscripten_config",
|
||||||
"env.sh",
|
"env.sh",
|
||||||
"@nodejs//:node_files",
|
|
||||||
"@emsdk//:binaries",
|
"@emsdk//:binaries",
|
||||||
"@emsdk//:node_modules",
|
"@emsdk//:node_modules",
|
||||||
|
"@nodejs//:node_files",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -437,7 +437,6 @@ def _impl(ctx):
|
|||||||
# https://emscripten.org/docs/debugging/Sanitizers.html
|
# https://emscripten.org/docs/debugging/Sanitizers.html
|
||||||
feature(name = "wasm_asan"),
|
feature(name = "wasm_asan"),
|
||||||
feature(name = "wasm_ubsan"),
|
feature(name = "wasm_ubsan"),
|
||||||
|
|
||||||
feature(
|
feature(
|
||||||
name = "output_format_js",
|
name = "output_format_js",
|
||||||
enabled = True,
|
enabled = True,
|
||||||
@@ -518,7 +517,7 @@ def _impl(ctx):
|
|||||||
# Language Features
|
# Language Features
|
||||||
flag_set(
|
flag_set(
|
||||||
actions = all_cpp_compile_actions,
|
actions = all_cpp_compile_actions,
|
||||||
flags = ["-std=gnu++17", "-nostdinc", "-nostdinc++",],
|
flags = ["-std=gnu++17", "-nostdinc", "-nostdinc++"],
|
||||||
),
|
),
|
||||||
|
|
||||||
# Emscripten-specific settings:
|
# Emscripten-specific settings:
|
||||||
@@ -910,7 +909,8 @@ def _impl(ctx):
|
|||||||
"-iwithsysroot" + "/include/c++/v1",
|
"-iwithsysroot" + "/include/c++/v1",
|
||||||
"-iwithsysroot" + "/include/compat",
|
"-iwithsysroot" + "/include/compat",
|
||||||
"-iwithsysroot" + "/include",
|
"-iwithsysroot" + "/include",
|
||||||
"-isystem", emscripten_dir + "/lib/clang/14.0.0/include",
|
"-isystem",
|
||||||
|
emscripten_dir + "/lib/clang/14.0.0/include",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
# Inputs and outputs
|
# Inputs and outputs
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ local_repository(
|
|||||||
)
|
)
|
||||||
|
|
||||||
load("@emsdk//:deps.bzl", "deps")
|
load("@emsdk//:deps.bzl", "deps")
|
||||||
|
|
||||||
deps()
|
deps()
|
||||||
|
|
||||||
load("@emsdk//:emscripten_deps.bzl", "emscripten_deps")
|
load("@emsdk//:emscripten_deps.bzl", "emscripten_deps")
|
||||||
|
|
||||||
emscripten_deps()
|
emscripten_deps()
|
||||||
|
|||||||
Reference in New Issue
Block a user