diff options
author | Muhammad Haseeb Ahmad <mhahmad@google.com> | 2022-06-23 00:03:34 +0000 |
---|---|---|
committer | Muhammad Haseeb Ahmad <mhahmad@google.com> | 2022-06-23 21:38:33 +0000 |
commit | 8a3f399d196951bd2c867f07bc8834417f6e9bc7 (patch) | |
tree | c52dc7ffc78302154d542f23e2216f84b1f999b1 | |
parent | ef7d020fc69e774d6fd43e44ed3c94f4843d04d7 (diff) | |
download | brotli-8a3f399d196951bd2c867f07bc8834417f6e9bc7.tar.gz |
Make a libbrotli_encoder_jni shared library from encoder_jni.cc
This is required for the JavaCompressFuzzer:
https://r.android.com/2135512
Test: m libbrotli_encoder_jni
Bug: 236747140
Change-Id: I5c1ce687618fc4b9a8254d813d4e29b94e83e408
-rwxr-xr-x | Android.bp | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -102,6 +102,21 @@ cc_binary { static_libs: ["libbrotli"], } +cc_library_shared { + name: "libbrotli_encoder_jni", + host_supported: true, + srcs: [ + "java/org/brotli/wrapper/enc/encoder_jni.cc", + ], + static_libs: [ + "libnativehelper_lazy", + "libbrotli", + ], + cflags: [ + "-Wno-unused-parameter", + ], +} + // // Support for brotli in java code. // |