2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 04:12:37 -07: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 06:16:00 -08:00
|
|
|
|
2013-11-27 05:55:07 -08:00
|
|
|
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
2014-02-13 22:19:50 -08: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-24 21:26:41 -08:00
|
|
|
'../../../mobile/android/base/tests/TestConstants.java']
|
2014-02-13 22:19:50 -08: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')
|