Skip to content

Commit

Permalink
license changes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 534600788
  • Loading branch information
protobuf-github-bot authored and copybara-github committed May 23, 2023
1 parent 7f0092a commit 73ee41c
Show file tree
Hide file tree
Showing 14 changed files with 61 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ load(
# "//third_party/bazel_rules/rules_kotlin/kotlin/native:native_interop_hint.bzl",
# "kt_native_interop_hint",
# )
# load("//tools/build_defs/license:license.bzl", "license")
# end:google_only

# begin:github_only
Expand All @@ -56,6 +57,15 @@ load(
load("@rules_pkg//:mappings.bzl", "pkg_files")
# end:github_only

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
#
# license(
# name = "license",
# package_name = "upb",
# )
# end:google_only

licenses(["notice"])

exports_files(["LICENSE"])
Expand Down
4 changes: 4 additions & 0 deletions bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

exports_files(
Expand Down
4 changes: 4 additions & 0 deletions benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ load(
"tmpl_cc_binary",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

proto_library(
Expand Down
4 changes: 4 additions & 0 deletions protos/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ load(
"upb_cc_proto_library_copts",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

cc_library(
Expand Down
4 changes: 4 additions & 0 deletions protos/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

bzl_library(
Expand Down
4 changes: 4 additions & 0 deletions protos_generator/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ load(
"UPB_DEFAULT_CPPOPTS",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

cc_binary(
Expand Down
4 changes: 4 additions & 0 deletions protos_generator/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ load(
"cc_proto_library",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

proto_library(
Expand Down
3 changes: 3 additions & 0 deletions python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ load("@rules_pkg//:mappings.bzl", "pkg_files")
licenses(["notice"])

package(
# begin:google_only
# default_applicable_licenses = ["//:license"],
# end:google_only
default_visibility = ["//python/dist:__pkg__"],
)

Expand Down
4 changes: 4 additions & 0 deletions python/pb_unit_tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ load(":pyproto_test_wrapper.bzl", "pyproto_test_wrapper")
load("@pip_deps//:requirements.bzl", "requirement")
# end:github_only

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

pyproto_test_wrapper(name = "descriptor_database_test")
Expand Down
4 changes: 4 additions & 0 deletions upb/conformance/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ load(
"upb_proto_reflection_library",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

config_setting(
Expand Down
4 changes: 4 additions & 0 deletions upb/io/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

cc_library(
name = "string",
hdrs = ["string.h"],
Expand Down
4 changes: 4 additions & 0 deletions upb/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ load(
"upb_proto_reflection_library",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

cc_library(
name = "parse_text_proto",
testonly = 1,
Expand Down
4 changes: 4 additions & 0 deletions upb/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ load(
load("@rules_pkg//:mappings.bzl", "pkg_files")
# end:github_only

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

# Def to Proto
Expand Down
4 changes: 4 additions & 0 deletions upbc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ load(
"bootstrap_upb_proto_library",
)

# begin:google_only
# package(default_applicable_licenses = ["//:license"])
# end:google_only

licenses(["notice"])

proto_library(
Expand Down

0 comments on commit 73ee41c

Please sign in to comment.