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