Fix @typed_pos_args on java.generate_native_headers
parent
d35f11fc08
commit
d072ebc955
6 changed files with 39 additions and 22 deletions
@ -0,0 +1,5 @@ |
||||
package com.mesonbuild; |
||||
|
||||
public final class Configured { |
||||
public static final int FINGERPRINT = @fingerprint@; |
||||
} |
@ -1,3 +1,11 @@ |
||||
configured = configure_file( |
||||
input: files('Configured.java.in'), |
||||
output: 'Configured.java', |
||||
configuration: configuration_data({'fingerprint': '0xdeadbeef'}) |
||||
) |
||||
|
||||
sources += configured |
||||
|
||||
native_headers = javamod.generate_native_headers( |
||||
'JniTest.java', package: 'com.mesonbuild', classes: ['JdkTest']) |
||||
sources, package: 'com.mesonbuild', classes: ['JniTest']) |
||||
native_header_includes = include_directories('.') |
||||
|
Loading…
Reference in new issue