Skip to content

Commit

Permalink
Merge pull request #22823 from redpanda-data/bazel
Browse files Browse the repository at this point in the history
bazel: move some headers back from oblivion
  • Loading branch information
dotnwat authored Aug 10, 2024
2 parents 1cf6b8b + 29a774c commit c04195d
Show file tree
Hide file tree
Showing 30 changed files with 47 additions and 47 deletions.
46 changes: 23 additions & 23 deletions src/v/bytes/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ redpanda_cc_library(
"iobuf.cc",
],
hdrs = [
"include/bytes/details/io_allocation_size.h",
"include/bytes/details/io_byte_iterator.h",
"include/bytes/details/io_fragment.h",
"include/bytes/details/io_iterator_consumer.h",
"include/bytes/details/io_placeholder.h",
"include/bytes/details/out_of_range.h",
"include/bytes/iobuf.h",
],
strip_include_prefix = "include",
"details/io_allocation_size.h",
"details/io_byte_iterator.h",
"details/io_fragment.h",
"details/io_iterator_consumer.h",
"details/io_placeholder.h",
"details/out_of_range.h",
"iobuf.h",
],
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
"//src/v/base",
Expand All @@ -30,9 +30,9 @@ redpanda_cc_library(
"bytes.cc",
],
hdrs = [
"include/bytes/bytes.h",
"bytes.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":iobuf",
Expand All @@ -45,9 +45,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "hash",
hdrs = [
"include/bytes/hash.h",
"hash.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":iobuf",
Expand All @@ -61,9 +61,9 @@ redpanda_cc_library(
"random.cc",
],
hdrs = [
"include/bytes/random.h",
"random.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":bytes",
Expand All @@ -79,9 +79,9 @@ redpanda_cc_library(
"iostream.cc",
],
hdrs = [
"include/bytes/iostream.h",
"iostream.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":iobuf",
Expand All @@ -95,9 +95,9 @@ redpanda_cc_library(
"scattered_message.cc",
],
hdrs = [
"include/bytes/scattered_message.h",
"scattered_message.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":iobuf",
Expand All @@ -108,9 +108,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "iobuf_parser",
hdrs = [
"include/bytes/iobuf_parser.h",
"iobuf_parser.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":bytes",
Expand All @@ -122,9 +122,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "streambuf",
hdrs = [
"include/bytes/streambuf.h",
"streambuf.h",
],
strip_include_prefix = "include",
include_prefix = "bytes",
visibility = ["//visibility:public"],
deps = [
":iobuf",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions src/v/cloud_roles/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package(default_visibility = ["//src/v/cloud_roles:__subpackages__"])
redpanda_cc_library(
name = "logger",
hdrs = [
"include/cloud_roles/logger.h",
"logger.h",
],
strip_include_prefix = "include",
include_prefix = "cloud_roles",
deps = [
"//src/v/base",
"@seastar",
Expand All @@ -20,9 +20,9 @@ redpanda_cc_library(
"types.cc",
],
hdrs = [
"include/cloud_roles/types.h",
"types.h",
],
strip_include_prefix = "include",
include_prefix = "cloud_roles",
visibility = ["//visibility:public"],
deps = [
"//src/v/base",
Expand Down Expand Up @@ -108,11 +108,11 @@ redpanda_cc_library(
"refresh_credentials.cc",
],
hdrs = [
"include/cloud_roles/apply_credentials.h",
"include/cloud_roles/probe.h",
"include/cloud_roles/refresh_credentials.h",
"apply_credentials.h",
"probe.h",
"refresh_credentials.h",
],
strip_include_prefix = "include",
include_prefix = "cloud_roles",
visibility = ["//visibility:public"],
deps = [
":logger",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 16 additions & 16 deletions src/v/container/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ load("//bazel:build.bzl", "redpanda_cc_library")
redpanda_cc_library(
name = "intrusive",
hdrs = [
"include/container/intrusive_list_helpers.h",
"intrusive_list_helpers.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
"@boost//:intrusive",
Expand All @@ -15,9 +15,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "fragmented_vector",
hdrs = [
"include/container/fragmented_vector.h",
"fragmented_vector.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
"//src/v/base",
Expand All @@ -27,9 +27,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "chunked_hash_map",
hdrs = [
"include/container/chunked_hash_map.h",
"chunked_hash_map.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
":fragmented_vector",
Expand All @@ -41,18 +41,18 @@ redpanda_cc_library(
redpanda_cc_library(
name = "interval_set",
hdrs = [
"include/container/interval_set.h",
"interval_set.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
)

redpanda_cc_library(
name = "contiguous_range_map",
hdrs = [
"include/container/contiguous_range_map.h",
"contiguous_range_map.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
":fragmented_vector",
Expand All @@ -62,18 +62,18 @@ redpanda_cc_library(
redpanda_cc_library(
name = "zip",
hdrs = [
"include/container/zip.h",
"zip.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
)

redpanda_cc_library(
name = "json",
hdrs = [
"include/container/json.h",
"json.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
":fragmented_vector",
Expand All @@ -84,9 +84,9 @@ redpanda_cc_library(
redpanda_cc_library(
name = "lw_shared_container",
hdrs = [
"include/container/lw_shared_container.h",
"lw_shared_container.h",
],
strip_include_prefix = "include",
include_prefix = "container",
visibility = ["//visibility:public"],
deps = [
"//src/v/base",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c04195d

Please sign in to comment.