summaryrefslogtreecommitdiff
path: root/test cases/java/9 jdk/meson.build
blob: e5c9728f970ffb44653f50a5e124d97715955daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
project('jdkjava', ['c', 'java'])

if build_machine.system() == 'cygwin'
  error('MESON_SKIP_TEST: cygwin test failures')
endif

if build_machine.system() == 'windows' and build_machine.cpu_family() == 'x86'
  error('MESON_SKIP_TEST: failing builds on 32bit Windows because a 32bit JDK isn not available in the Azure Pipelines Windows images')
endif

fs = import('fs')
javamod = import('java')

java = find_program('java')

jdk = dependency('jdk', version : '>=1.8')

# generate native headers
subdir('src/com/mesonbuild')
subdir('lib')
subdir('src')