Skip to content

Commit

Permalink
Add javaModuleNameClassifier property to Android profile (#576)
Browse files Browse the repository at this point in the history
Motivation:

The javaModuleNameClassifier was missing in the android profile and
therefore the `AndroidManifest.xml` contained
`package="io.netty.incubator.codec.quic.linux.x86_64"`

Modifications:

Added javaModuleNameClassifier property in pom.xml

Result:

Show the right package name in the `AndroidManifest.xml`
  • Loading branch information
JBou authored Sep 5, 2023
1 parent d5d18b3 commit dc5b5e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codec-native-quic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
<!-- https://developer.android.com/ndk/guides/other_build_systems -->
<jniLibName>netty_quiche</jniLibName>
<jni.classifier>${platform}</jni.classifier>
<javaModuleNameClassifier>android</javaModuleNameClassifier>
<cflags>-std=c99 -Werror -fno-omit-frame-pointer -fvisibility=hidden -Wunused -Wno-unused-value -O3 -I${quicheHomeIncludeDir} -I${boringsslHomeIncludeDir}</cflags>
<ldflags>-L${quicheHomeBuildDir} -lquiche -L${boringsslHomeBuildDir} -lssl -lcrypto</ldflags>
<bundleNativeCode>META-INF/native/${jniLibName}.dll;osname=android;processor=${androidAbi}</bundleNativeCode>
Expand Down

0 comments on commit dc5b5e7

Please sign in to comment.