mobile/android/tests/browser/robocop/moz.build
author Alastor Wu <alwu@mozilla.com>
Wed, 17 May 2017 17:37:41 +0800
changeset 579405 acf6604aa09e9f808a576a4e01d659c65f819acd
parent 391263 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1364028 - enable specific robocop tests on Autophone. Move Adobe Flash to new ini file in order to reduce the confusion, and use the robocop_autophone.ini for running specific tests on Autophone. MozReview-Commit-ID: KPniwy7rLJm

# -*- 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_adobe_flash.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',
]