From 741fdfccfcf239800770baa8506370c4a6cbda29 Mon Sep 17 00:00:00 2001
From: Thai Duong <thaidn@google.com>
Date: Mon, 27 Mar 2017 22:38:21 +0000
Subject: [PATCH] Provide :subtle as an independent BUILD target.

Change-Id: I10a6cf58f62e537c7c1a17d3766c65e6bf403e53
ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>

GitOrigin-RevId: 82e9510533b6b51611dae89ca20ea06273ad5e89
---
 java/BUILD | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/java/BUILD b/java/BUILD
index ea7345b6b..1e405786a 100644
--- a/java/BUILD
+++ b/java/BUILD
@@ -44,6 +44,15 @@ java_library(
         ":java",
         ":key_management_restricted",
         ":keyset_handle_restricted",
+        ":subtle",
+    ],
+)
+
+# restricted
+
+java_library(
+    name = "subtle",
+    exports = [
         "//java/src/main/java/com/google/cloud/crypto/tink/subtle",
         "//java/src/main/java/com/google/cloud/crypto/tink/subtle:aead_subtle",
         "//java/src/main/java/com/google/cloud/crypto/tink/subtle:hybriddecrypt_subtle",
@@ -54,8 +63,6 @@ java_library(
     ],
 )
 
-# restricted
-
 java_library(
     name = "keyset_handle_restricted",
     visibility = [
-- 
GitLab