mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Mostly internal change: Optimize OSS transforms
This should only affect the Bazel `BUILD.bazel` files and their formatting. PiperOrigin-RevId: 538426054 Change-Id: I0162726d3fb4bcb4d7938cddc6f39e0d9f2b4a3d
This commit is contained in:
parent
6cd83d68de
commit
72452e1582
|
@ -15,9 +15,7 @@
|
|||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
load("//sandboxed_api/bazel:proto.bzl", "sapi_proto_library")
|
||||
|
||||
package(
|
||||
default_visibility = ["//sandboxed_api:__subpackages__"],
|
||||
)
|
||||
package(default_visibility = ["//sandboxed_api:__subpackages__"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
|
|
@ -18,9 +18,7 @@ load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
|||
load("//sandboxed_api/bazel:proto.bzl", "sapi_proto_library")
|
||||
load("//sandboxed_api/bazel:sapi.bzl", "sapi_library")
|
||||
|
||||
package(
|
||||
default_visibility = ["//sandboxed_api:__subpackages__"],
|
||||
)
|
||||
package(default_visibility = ["//sandboxed_api:__subpackages__"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
|||
load("//sandboxed_api/bazel:proto.bzl", "sapi_proto_library")
|
||||
load("//sandboxed_api/bazel:sapi.bzl", "sapi_library")
|
||||
|
||||
package(default_visibility = ["//sandboxed_api:__subpackages__"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
sapi_proto_library(
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
load("//sandboxed_api/bazel:sapi.bzl", "sapi_library")
|
||||
|
||||
package(default_visibility = ["//sandboxed_api:__subpackages__"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
sapi_library(
|
||||
|
|
|
@ -18,9 +18,7 @@ load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
|||
load("//sandboxed_api/bazel:embed_data.bzl", "sapi_cc_embed_data")
|
||||
load("//sandboxed_api/bazel:proto.bzl", "sapi_proto_library")
|
||||
|
||||
package(
|
||||
default_visibility = ["//sandboxed_api:__subpackages__"],
|
||||
)
|
||||
package(default_visibility = ["//sandboxed_api:__subpackages__"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
@ -44,9 +42,7 @@ cc_library(
|
|||
|
||||
cc_library(
|
||||
name = "allow_unrestricted_networking",
|
||||
hdrs = [
|
||||
"allow_unrestricted_networking.h",
|
||||
],
|
||||
hdrs = ["allow_unrestricted_networking.h"],
|
||||
copts = sapi_platform_copts(),
|
||||
visibility = [
|
||||
"//sandboxed_api/sandbox2:__pkg__",
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
# Executor
|
||||
|
|
|
@ -14,11 +14,9 @@
|
|||
|
||||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
package(
|
||||
default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
],
|
||||
)
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
|
|
@ -15,11 +15,9 @@
|
|||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
load("//sandboxed_api/bazel:proto.bzl", "sapi_proto_library")
|
||||
|
||||
package(
|
||||
default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
],
|
||||
)
|
||||
package(default_visibility = [
|
||||
"//sandboxed_api/sandbox2:__subpackages__",
|
||||
])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
|
|
@ -15,18 +15,14 @@
|
|||
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
|
||||
|
||||
_DEFAULT_VISIBILITY = [
|
||||
"//security/bedebox:__subpackages__",
|
||||
"//sandboxed_api:__subpackages__",
|
||||
]
|
||||
|
||||
package(
|
||||
default_visibility = _DEFAULT_VISIBILITY,
|
||||
)
|
||||
package(default_visibility = _DEFAULT_VISIBILITY)
|
||||
|
||||
package_group(
|
||||
name = "minielf_users",
|
||||
packages = [
|
||||
"//buzz/diffractor/sandbox/...", # mbonadei@ and ossu@ (alternatively rtc-diffractor-eng@)
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@ cc_binary(
|
|||
copts = sapi_platform_copts(),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
"//sandboxed_api/util:fileops",
|
||||
"//sandboxed_api/util:raw_logging",
|
||||
"//sandboxed_api/util:strerror",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -45,10 +45,10 @@ cc_test(
|
|||
data = ["testdata/filewrapper_embedded.bin"],
|
||||
deps = [
|
||||
":filewrapper_embedded",
|
||||
"@com_google_googletest//:gtest_main",
|
||||
"@com_google_absl//absl/strings",
|
||||
"//sandboxed_api:testing",
|
||||
"//sandboxed_api/util:file_helpers",
|
||||
"//sandboxed_api/util:status_matchers",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_googletest//:gtest_main",
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue
Block a user