diff options
author | Pete Bentley <prb@google.com> | 2019-02-22 17:20:03 +0000 |
---|---|---|
committer | Pete Bentley <prb@google.com> | 2019-03-22 16:13:40 +0000 |
commit | c2d716419e9cc32738703a924b887548afee1c3c (patch) | |
tree | f8867dcd147f85830e24484ed857a99ea02709d2 /NativeCode.bp | |
parent | 308ec2cae396d22e6dd3c66c361012651344ad63 (diff) |
Move AsynchronousCloseMonitor to its own library.
This change introduces a new shared library, libandroidio,
which encapsulates native IO related APIs that we want to expose,
currently only intra-core but longer term they may be useful
to the framework (e.g. LocalSocket and friends).
Bug: 122881655
Bug: 123744297
Test: m && flashall
Test: atest CtsLibcoreOkHttpTestCases
Test: atest CtsLibcoreTestCases
Change-Id: I4c903d86a41d9ad0337b8e9d17ff0ed129c52413
Diffstat (limited to 'NativeCode.bp')
-rw-r--r-- | NativeCode.bp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/NativeCode.bp b/NativeCode.bp index 9e68b07069..c5341e0213 100644 --- a/NativeCode.bp +++ b/NativeCode.bp @@ -56,6 +56,7 @@ cc_library_shared { "dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.cpp", ], shared_libs: [ + "libandroidio", "libbase", "libcrypto", "libexpat", @@ -79,6 +80,23 @@ cc_library_shared { }, } +cc_library_shared { + name: "libandroidio", + defaults: [ + "core_native_default_flags", + ], + shared_libs: [ + "liblog", + ], + srcs: [ + ":libandroidio_srcs", + ], + stubs: { + symbol_file: "libandroidio.map.txt", + versions: ["1"], + }, +} + cc_defaults { name: "libopenjdk_native_defaults", defaults: [ @@ -101,9 +119,9 @@ cc_defaults { ], shared_libs: [ + "libandroidio", "libcrypto", "libicuuc", - "libjavacore", "libnativehelper", "libz", ], |