1# -*- mode: makefile -*- 2# List of junit files include in documentation. 3# Shared with frameworks/base. 4# based off libcore/Docs.mk 5# Exports: 6# core-junit-files, junit-runner-files, junit_to_document, junit4-target-src. 7# They are lists of .java files relative to external/junit/. 8 9ifndef junit4_common_include_once 10 11# List of source to build into the core-junit library 12# 13core-junit-files := \ 14src/junit/framework/Assert.java \ 15src/junit/framework/AssertionFailedError.java \ 16src/junit/framework/ComparisonCompactor.java \ 17src/junit/framework/ComparisonFailure.java \ 18src/junit/framework/Protectable.java \ 19src/junit/framework/Test.java \ 20src/junit/framework/TestCase.java \ 21src/junit/framework/TestFailure.java \ 22src/junit/framework/TestListener.java \ 23src/junit/framework/TestResult.java \ 24src/junit/framework/TestSuite.java 25 26# List of source to build into the android.test.runner library 27# 28junit-runner-files := \ 29src/junit/runner/BaseTestRunner.java \ 30src/junit/runner/TestRunListener.java \ 31src/junit/runner/TestSuiteLoader.java \ 32src/junit/runner/StandardTestSuiteLoader.java \ 33src/junit/runner/Version.java \ 34src/junit/textui/ResultPrinter.java \ 35src/junit/textui/TestRunner.java 36 37# List of junit javadoc source files for Android public API 38# 39junit_to_document := \ 40 $(core-junit-files) \ 41 $(junit-runner-files) 42 43# List of source to build into junit4 target jars 44# 45junit4-target-src := \ 46$(call find-files-in-subdirs, external/junit, \ 47 "*.java", \ 48 src/org \ 49 src/junit/extensions \ 50 src/junit/runner \ 51 src/junit/textui) \ 52src/junit/framework/ComparisonCompactor.java \ 53src/junit/framework/JUnit4TestAdapterCache.java \ 54src/junit/framework/JUnit4TestAdapter.java \ 55src/junit/framework/JUnit4TestCaseFacade.java 56 57junit4_common_include_once := 1 58endif # junit4_common_include_once 59