aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-05-25 18:09:37 +0100
committerPaul Duffin <paulduffin@google.com>2020-05-26 15:25:36 +0000
commit3fadfb2b1b9d6b3d1f26a6de5c91301056a0560f (patch)
treee702d3e51cee72adb5e4e7f9fa16cbe89bfa99f2
parent953cc3d8eef9726de36eb785e30fd38c1f2697b6 (diff)
downloadike-3fadfb2b1b9d6b3d1f26a6de5c91301056a0560f.tar.gz
Ensure ike works as a shared library
A related change is going to switch ike to using framework-module-defaults. That sets shared_library: false as most framework libraries are not intended and should not be usable as a shared library. This change ensures that ike's behavior is not changed by that switch. Bug: 156723295 Test: m nothing Change-Id: I529f6267781c7bc3197106649ea6db91db41ea9a Merged-In: I529f6267781c7bc3197106649ea6db91db41ea9a Exempt-From-Owner-Approval: minor build refactoring. (cherry picked from commit a6fbe8433a985cac0b8760f4930293ab835e3d3c)
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 74450672..01c07621 100644
--- a/Android.bp
+++ b/Android.bp
@@ -17,6 +17,9 @@ java_sdk_library {
defaults: ["framework-module-defaults"],
installable: true,
+ // ike is used as a shared library.
+ shared_library: true,
+
aidl: {
local_include_dirs: ["src/java"],
},