summaryrefslogtreecommitdiffstats
path: root/mobile/android/tests/javaaddons/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/tests/javaaddons/moz.build')
-rw-r--r--mobile/android/tests/javaaddons/moz.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/mobile/android/tests/javaaddons/moz.build b/mobile/android/tests/javaaddons/moz.build
new file mode 100644
index 000000000..2fabebc56
--- /dev/null
+++ b/mobile/android/tests/javaaddons/moz.build
@@ -0,0 +1,23 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ANDROID_APK_NAME = 'javaaddons-test'
+ANDROID_APK_PACKAGE = 'org.mozilla.javaaddons.test'
+
+jar = add_java_jar('javaaddons-test')
+jar.extra_jars += [
+ TOPOBJDIR + '/mobile/android/javaaddons/javaaddons-1.0.jar',
+]
+jar.javac_flags += ['-Xlint:all']
+jar.sources += [
+ 'src/org/mozilla/javaaddons/test/ClassWithNoRecognizedConstructors.java',
+ 'src/org/mozilla/javaaddons/test/JavaAddonV0.java',
+ 'src/org/mozilla/javaaddons/test/JavaAddonV1.java',
+]
+
+OBJDIR_PP_FILES.mobile.android.tests.javaaddons += [
+ 'AndroidManifest.xml.in',
+]