You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
meson.build: don't build test_runner.jar by default
This commit is contained in:
@@ -198,7 +198,7 @@ custom_target('api-impl.jar', build_by_default: true, input: [hax_jar], output:
|
|||||||
# test-runner.jar
|
# test-runner.jar
|
||||||
subdir('src/test-runner')
|
subdir('src/test-runner')
|
||||||
|
|
||||||
custom_target('test_runner.jar', build_by_default: true, input: [test_runner_jar], output: ['test_runner.jar'],
|
custom_target('test_runner.jar', build_by_default: false, input: [test_runner_jar], output: ['test_runner.jar'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir : get_option('libdir') / 'java/dex/android_translation_layer',
|
install_dir : get_option('libdir') / 'java/dex/android_translation_layer',
|
||||||
command: ['dx', '--dex', '--output='+join_paths(builddir_base, 'test_runner.jar'), test_runner_jar.full_path()])
|
command: ['dx', '--dex', '--output='+join_paths(builddir_base, 'test_runner.jar'), test_runner_jar.full_path()])
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ test_runner_jar = jar('test_runner', [
|
|||||||
'dalvik/annotation/BrokenTest.java',
|
'dalvik/annotation/BrokenTest.java',
|
||||||
'dalvik/annotation/SideEffect.java',
|
'dalvik/annotation/SideEffect.java',
|
||||||
],
|
],
|
||||||
|
build_by_default: false,
|
||||||
link_with: [hax_jar],
|
link_with: [hax_jar],
|
||||||
java_args: [
|
java_args: [
|
||||||
'-bootclasspath', bootclasspath,
|
'-bootclasspath', bootclasspath,
|
||||||
|
|||||||
Reference in New Issue
Block a user