Skip to content

Commit

Permalink
Add aspect hints for kotlin native compilation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 480421756
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Oct 11, 2022
1 parent 1f8f8ab commit be98a91
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ load(
"upb_proto_reflection_library",
)

# begin:google_only
# load(
# "//third_party/bazel_rules/rules_kotlin/kotlin/native:native_interop_hint.bzl",
# "kt_native_interop_hint",
# )
# end:google_only

# begin:github_only
load(
"//bazel:build_defs.bzl",
Expand Down Expand Up @@ -1164,4 +1171,22 @@ filegroup(
# ],
# )
#
# kt_native_interop_hint(
# name = "upb_kotlin_native_hint",
# compatible_with = ["//buildenv/target:non_prod"],
# headers_to_exclude = glob([
# "**/*.hpp",
# ]) + [
# "upb/extension_registry.h",
# ],
# no_string_conversion = ["upb_MiniTable_Build"],
# strict_enums = ["upb_FieldType"],
# )
#
# kt_native_interop_hint(
# name = "suppress_kotlin_interop",
# compatible_with = ["//buildenv/target:non_prod"],
# suppressed = True,
# )
#
# end:google_only

0 comments on commit be98a91

Please sign in to comment.