summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Desprez <jdesprez@google.com>2020-11-23 17:20:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-23 17:20:56 +0000
commit030749a6813f2bc3e22a78e61c95403dc95c96b8 (patch)
treea187087290875a7629da1f7b71a8cb0eb6d1c93d
parentb4453dab3156ac8492aa6680a05e134322f7d065 (diff)
parenta0d9a197df95028837114e73dfda8bd1559c9fa7 (diff)
downloadmisc-030749a6813f2bc3e22a78e61c95403dc95c96b8.tar.gz
Merge "Allow prebuilts lib to be host_supported"
-rw-r--r--common/json/Android.bp3
-rw-r--r--common/kxml2/Android.bp3
2 files changed, 4 insertions, 2 deletions
diff --git a/common/json/Android.bp b/common/json/Android.bp
index e7782d8b..209f97d0 100644
--- a/common/json/Android.bp
+++ b/common/json/Android.bp
@@ -12,8 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-java_import_host {
+java_import {
name: "json-prebuilt",
jars: ["json-prebuilt.jar"],
installable: true,
+ host_supported: true,
}
diff --git a/common/kxml2/Android.bp b/common/kxml2/Android.bp
index ee347b20..fde2192f 100644
--- a/common/kxml2/Android.bp
+++ b/common/kxml2/Android.bp
@@ -12,10 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-java_import_host {
+java_import {
name: "kxml2-2.3.0",
jars: ["kxml2-2.3.0.jar"],
installable: true,
+ host_supported: true,
}
java_import {