diff options
author | Cassie Wang <cassiewang@google.com> | 2020-01-20 22:39:24 -0800 |
---|---|---|
committer | Cassie Wang <cassiewang@google.com> | 2020-02-28 14:45:01 -0800 |
commit | 43fec62894253136f0c8b6a0aa5132ddff6edaf7 (patch) | |
tree | 273f7807c68629771d1a03344ab17d207ae212b9 /Android.bp | |
parent | 8d99a2d3b71f111de0d83608c31ec3dc2ef29d3d (diff) | |
download | icing-43fec62894253136f0c8b6a0aa5132ddff6edaf7.tar.gz |
Create JNI layer for Icing
Bug: 146383629
Test: manual 'atest
java/tests/instrumentation/src/com/google/android/icing/IcingSearchEngineTest.java'
Change-Id: I3868ca19a477bd6996f268d2a73a1dc906afaee6
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -54,7 +54,7 @@ cc_defaults { } cc_library_static { - name: "libicing_proto_lite", + name: "icing-c-proto", defaults: ["libicing_defaults"], proto: { type: "lite", @@ -67,7 +67,7 @@ cc_library_static { } cc_library_shared { - name: "libicing", + name: "libicing_jni", defaults: ["libicing_defaults"], srcs: [ "icing/**/*.cc", @@ -83,7 +83,7 @@ cc_library_shared { "icing/tools/**/*", ], static_libs: [ - "libicing_proto_lite", + "icing-c-proto", "libutf", ], shared_libs: [ @@ -94,6 +94,8 @@ cc_library_shared { "libprotobuf-cpp-full", "libz", ], + + version_script: "icing/jni.lds", } // TODO(cassiewang): Add build rules and a TEST_MAPPING for cc_tests |