Common.mk revision 41b2b155ae49e696f71c65b8b30345663860127b
1# -*- mode: makefile -*-
2# List of junit files include in documentation.
3# Shared with frameworks/base.
4# based off libcore/Docs.mk
5
6
7# List of source to build into the core-junit library
8#
9core-junit-files := \
10src/junit/framework/Assert.java \
11src/junit/framework/AssertionFailedError.java \
12src/junit/framework/ComparisonCompactor.java \
13src/junit/framework/ComparisonFailure.java \
14src/junit/framework/Protectable.java \
15src/junit/framework/Test.java \
16src/junit/framework/TestCase.java \
17src/junit/framework/TestFailure.java \
18src/junit/framework/TestListener.java \
19src/junit/framework/TestResult.java \
20src/junit/framework/TestSuite.java
21
22# List of source to build into the android.test.runner library
23#
24junit-runner-files := \
25src/junit/runner/BaseTestRunner.java \
26src/junit/runner/TestRunListener.java \
27src/junit/runner/TestSuiteLoader.java \
28src/junit/runner/StandardTestSuiteLoader.java \
29src/junit/runner/Version.java \
30src/junit/textui/ResultPrinter.java \
31src/junit/textui/TestRunner.java
32
33# List of junit javadoc source files for Android public API
34#
35# $(1): directory for search (to support use from frameworks/base)
36define junit_to_document
37 $(core-junit-files) \
38 $(junit-runner-files)
39endef
40