summaryrefslogtreecommitdiffstats
path: root/mobile/android/tests/browser/robocop/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/tests/browser/robocop/moz.build')
-rw-r--r--mobile/android/tests/browser/robocop/moz.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/mobile/android/tests/browser/robocop/moz.build b/mobile/android/tests/browser/robocop/moz.build
new file mode 100644
index 000000000..023ccf336
--- /dev/null
+++ b/mobile/android/tests/browser/robocop/moz.build
@@ -0,0 +1,34 @@
+# -*- 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/.
+
+DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
+
+ANDROID_APK_NAME = 'robocop-debug'
+ANDROID_APK_PACKAGE = 'org.mozilla.roboexample.test'
+ANDROID_ASSETS_DIRS += ['assets']
+
+TEST_HARNESS_FILES.testing.mochitest += [
+ 'robocop.ini',
+ 'robocop_autophone.ini',
+]
+TEST_HARNESS_FILES.testing.mochitest.tests.robocop += [
+ '*.html',
+ '*.jpg',
+ '*.mp4',
+ '*.ogg',
+ '*.sjs',
+ '*.swf',
+ '*.webm',
+ '*.xml',
+ 'reader_mode_pages/**', # The ** preserves directory structure.
+ 'robocop*.js',
+ 'test*.js',
+]
+
+DEFINES['MOZ_ANDROID_SHARED_ID'] = CONFIG['MOZ_ANDROID_SHARED_ID']
+OBJDIR_PP_FILES.mobile.android.tests.browser.robocop += [
+ 'AndroidManifest.xml.in',
+]