Skip to content

Commit

Permalink
Move kt_jvm[_lite]_proto_library targets into the BUILD file of the a…
Browse files Browse the repository at this point in the history
…ssociated proto_library

To minimize the scope of this cleanup, alias targets are introduced in BUILD files that had incorrectly located kt_jvm[_lite]_proto_library targets.

This CL was generated using a script, and may have unusual names or target positioning as a result.

Metabug b/284050664

PiperOrigin-RevId: 710175849
  • Loading branch information
nreid260 authored and arcs-c3po committed Jan 11, 2025
1 parent 85ff04e commit c1c34f3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/frontends/sql/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ load(
"proto_library",
"raksha_cc_proto_library",
)
load("//third_party/protobuf/build_defs:kt_jvm_proto_library.bzl", "kt_jvm_lite_proto_library", "kt_jvm_proto_library")

package(
features = ["layering_check"],
Expand All @@ -46,6 +47,28 @@ raksha_cc_proto_library(
],
)

kt_jvm_proto_library(
name = "sql_ir_kt_proto",
visibility = [
"//:__pkg__",
"//src/backends/policy_engine/abstract_interpretation:__pkg__",
],
deps = [
":sql_ir_proto",
],
)

kt_jvm_lite_proto_library(
name = "sql_ir_kt_proto_lite",
visibility = [
"//:__pkg__",
"//src/backends/policy_engine/abstract_interpretation:__pkg__",
],
deps = [
":sql_ir_proto",
],
)

cc_library(
name = "decoder_context",
srcs = ["decoder_context.cc"],
Expand Down

0 comments on commit c1c34f3

Please sign in to comment.