2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
2013-11-20 18:16:00 +04:00
|
|
|
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
2014-02-14 10:19:50 +04:00
|
|
|
|
|
|
|
main = add_android_eclipse_project('Robocop', OBJDIR + '/AndroidManifest.xml')
|
|
|
|
main.package_name = 'org.mozilla.roboexample.test'
|
|
|
|
main.res = SRCDIR + '/res'
|
|
|
|
main.recursive_make_targets += [
|
|
|
|
OBJDIR + '/AndroidManifest.xml',
|
2014-02-25 09:26:41 +04:00
|
|
|
'../../../mobile/android/base/tests/TestConstants.java']
|
2014-02-14 10:19:50 +04:00
|
|
|
main.extra_jars += [SRCDIR + '/robotium-solo-4.3.1.jar']
|
|
|
|
main.assets = TOPSRCDIR + '/mobile/android/base/tests/assets'
|
|
|
|
main.referenced_projects += ['Fennec']
|
|
|
|
|
|
|
|
main.add_classpathentry('harness', SRCDIR,
|
|
|
|
dstdir='harness/org/mozilla/gecko')
|
|
|
|
main.add_classpathentry('src', TOPSRCDIR + '/mobile/android/base/tests',
|
|
|
|
dstdir='src/org/mozilla/gecko/tests')
|
|
|
|
main.add_classpathentry('generated', TOPOBJDIR + '/mobile/android/base/tests',
|
|
|
|
dstdir='generated/org/mozilla/gecko/tests')
|