|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME'] |
|
8 |
|
9 main = add_android_eclipse_project('Robocop', OBJDIR + '/AndroidManifest.xml') |
|
10 main.package_name = 'org.mozilla.roboexample.test' |
|
11 main.res = SRCDIR + '/res' |
|
12 main.recursive_make_targets += [ |
|
13 OBJDIR + '/AndroidManifest.xml', |
|
14 '../../../mobile/android/base/tests/TestConstants.java'] |
|
15 main.extra_jars += [SRCDIR + '/robotium-solo-4.3.1.jar'] |
|
16 main.assets = TOPSRCDIR + '/mobile/android/base/tests/assets' |
|
17 main.referenced_projects += ['Fennec'] |
|
18 |
|
19 main.add_classpathentry('harness', SRCDIR, |
|
20 dstdir='harness/org/mozilla/gecko') |
|
21 main.add_classpathentry('src', TOPSRCDIR + '/mobile/android/base/tests', |
|
22 dstdir='src/org/mozilla/gecko/tests') |
|
23 main.add_classpathentry('generated', TOPOBJDIR + '/mobile/android/base/tests', |
|
24 dstdir='generated/org/mozilla/gecko/tests') |