message: build_cleaner awskms package.
diff: -load("//tools/build_defs:javac.bzl", "JAVACOPTS_OSS")
  -
  licenses(["notice"])
  package(default_visibility = ["//:__subpackages__"])
  -filegroup(
  - name = "srcs",
  - srcs = glob(
  - [
  - "*.java",
  +java_library(
  + name = "aws_kms_aead",
  + srcs = ["AwsKmsAead.java"],
  + deps = [
  + "//src/main/java/com/google/crypto/tink:aead",
  + "@maven//:com_amazonaws_aws_java_sdk_core",
  + "@maven//:com_amazonaws_aws_java_sdk_kms",
  ],
  - ),
  )
  -# public interfaces
  -
  java_library(
  - name = "awskms",
  - srcs = [
  - ":srcs",
  - ],
  - javacopts = JAVACOPTS_OSS,
  + name = "aws_kms_client",
  + srcs = ["AwsKmsClient.java"],
  plugins = [
  ":auto_service_plugin",
  ],
  deps = [
  - "//src/main/java/com/google/crypto/tink",
  - "//src/main/java/com/google/crypto/tink/subtle",
  + ":aws_kms_aead",
  + "//src/main/java/com/google/crypto/tink:aead",
  + "//src/main/java/com/google/crypto/tink:kms_client",
  + "//src/main/java/com/google/crypto/tink/subtle:validators",
  "@maven//:com_amazonaws_aws_java_sdk_core",
  "@maven//:com_amazonaws_aws_java_sdk_kms",
  "@maven//:com_google_auto_service_auto_service_annotations",
  @@ -42,3 +38,13 @@ java_plugin(
  "@maven//:com_google_auto_service_auto_service",
  ],
  )
  +
  +# Deprecated rules, will be removed soon.
  +
  +java_library(
  + name = "awskms",
  + exports = [
  + ":aws_kms_aead",
  + ":aws_kms_client",
  + ],
  +)
  