Skip to content

Commit f25580e

Browse files
honglookercopybara-github
authored andcommitted
hpb: remove UPB_DEFAULT_CPPOPTS
PiperOrigin-RevId: 791712153
1 parent 0676d16 commit f25580e

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

hpb/BUILD

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ load(
1111
"//hpb/bazel:hpb_proto_library.bzl",
1212
"hpb_proto_library_copts",
1313
)
14-
load(
15-
"//upb/bazel:build_defs.bzl",
16-
"UPB_DEFAULT_CPPOPTS",
17-
)
1814

1915
package(default_applicable_licenses = ["//:license"])
2016

@@ -51,7 +47,6 @@ cc_library(
5147
hdrs = [
5248
"hpb.h",
5349
],
54-
copts = UPB_DEFAULT_CPPOPTS,
5550
visibility = ["//visibility:public"],
5651
deps = [
5752
":arena",
@@ -95,7 +90,6 @@ cc_library(
9590
hdrs = [
9691
"repeated_field.h",
9792
],
98-
copts = UPB_DEFAULT_CPPOPTS,
9993
visibility = ["//visibility:public"],
10094
deps = [
10195
":multibackend",
@@ -113,7 +107,6 @@ cc_library(
113107
# Common support code for C++ generated code.
114108
cc_library(
115109
name = "generated_hpb_support",
116-
copts = UPB_DEFAULT_CPPOPTS,
117110
visibility = [
118111
"//hpb/bazel:__pkg__",
119112
"//src/google/protobuf/compiler/hpb:__pkg__",
@@ -128,7 +121,6 @@ cc_library(
128121

129122
hpb_proto_library_copts(
130123
name = "hpb_proto_library_copts",
131-
copts = UPB_DEFAULT_CPPOPTS,
132124
visibility = ["//hpb/bazel:__pkg__"],
133125
)
134126

hpb/backend/upb/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77

88
load("@rules_cc//cc:cc_library.bzl", "cc_library")
99
load("@rules_cc//cc:cc_test.bzl", "cc_test")
10-
load(
11-
"//upb/bazel:build_defs.bzl",
12-
"UPB_DEFAULT_CPPOPTS",
13-
)
1410

1511
package(default_applicable_licenses = ["//:license"])
1612

@@ -54,7 +50,6 @@ cc_library(
5450
cc_test(
5551
name = "interop_test",
5652
srcs = ["interop_test.cc"],
57-
copts = UPB_DEFAULT_CPPOPTS,
5853
deps = [
5954
":interop",
6055
"//hpb_generator/tests:test_model_hpb_proto",

hpb/internal/BUILD

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77

88
load("@rules_cc//cc:cc_library.bzl", "cc_library")
99
load("@rules_cc//cc:cc_test.bzl", "cc_test")
10-
load(
11-
"//upb/bazel:build_defs.bzl",
12-
"UPB_DEFAULT_CPPOPTS",
13-
)
1410

1511
package(default_applicable_licenses = ["//:license"])
1612

1713
cc_library(
1814
name = "template_help",
1915
hdrs = ["template_help.h"],
20-
copts = UPB_DEFAULT_CPPOPTS,
2116
visibility = ["//hpb:__subpackages__"],
2217
deps = [
2318
"//hpb:ptr",
@@ -53,7 +48,6 @@ cc_library(
5348
hdrs = [
5449
"message_lock.h",
5550
],
56-
copts = UPB_DEFAULT_CPPOPTS,
5751
visibility = [
5852
"//hpb:__subpackages__",
5953
],

0 commit comments

Comments
 (0)