aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-01-31 10:56:27 +0900
committerJiyong Park <jiyong@google.com>2018-02-03 07:48:17 +0900
commitcd790698226ca626108c503b754ea2d3f60129d0 (patch)
tree2fef2b67270b1d4554d8b862e3ade9e09c316f32
parent109f353fe9a63b146b9e74a08bbb10bfd3bf46b2 (diff)
downloadguice-cd790698226ca626108c503b754ea2d3f60129d0.tar.gz
Using core_current ensures that the module is not using any Android APIs (e.g. APIs under android.* packages), but only core Java APIs. Bug: 72206056 Test: m -j guice Change-Id: I9233e1994551f622e5777b25edb424231d79ccf5
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 57f5e1cf..154cee32 100644
--- a/Android.bp
+++ b/Android.bp
@@ -96,6 +96,7 @@ java_library_static {
name: "guice",
host_supported: true,
hostdex: true,
+ sdk_version: "core_current",
srcs: [":guice_munged_srcs"],
static_libs: [
"guava",