| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/rules.gni") |
| |
| java_library("junit") { |
| chromium_code = false |
| testonly = true |
| supports_android = true |
| proguard_configs = [ "//third_party/junit/proguard.flags" ] |
| deps = [ |
| "//third_party/hamcrest:hamcrest_java", |
| ] |
| java_files = [ |
| "src/src/main/java/junit/extensions/ActiveTestSuite.java", |
| "src/src/main/java/junit/extensions/RepeatedTest.java", |
| "src/src/main/java/junit/extensions/TestDecorator.java", |
| "src/src/main/java/junit/extensions/TestSetup.java", |
| "src/src/main/java/junit/extensions/package-info.java", |
| "src/src/main/java/junit/framework/Assert.java", |
| "src/src/main/java/junit/framework/AssertionFailedError.java", |
| "src/src/main/java/junit/framework/ComparisonCompactor.java", |
| "src/src/main/java/junit/framework/ComparisonFailure.java", |
| "src/src/main/java/junit/framework/JUnit4TestAdapter.java", |
| "src/src/main/java/junit/framework/JUnit4TestAdapterCache.java", |
| "src/src/main/java/junit/framework/JUnit4TestCaseFacade.java", |
| "src/src/main/java/junit/framework/Protectable.java", |
| "src/src/main/java/junit/framework/Test.java", |
| "src/src/main/java/junit/framework/TestCase.java", |
| "src/src/main/java/junit/framework/TestFailure.java", |
| "src/src/main/java/junit/framework/TestListener.java", |
| "src/src/main/java/junit/framework/TestResult.java", |
| "src/src/main/java/junit/framework/TestSuite.java", |
| "src/src/main/java/junit/framework/package-info.java", |
| "src/src/main/java/junit/runner/BaseTestRunner.java", |
| "src/src/main/java/junit/runner/TestRunListener.java", |
| "src/src/main/java/junit/runner/Version.java", |
| "src/src/main/java/junit/runner/package-info.java", |
| "src/src/main/java/junit/textui/ResultPrinter.java", |
| "src/src/main/java/junit/textui/TestRunner.java", |
| "src/src/main/java/junit/textui/package-info.java", |
| "src/src/main/java/org/junit/After.java", |
| "src/src/main/java/org/junit/AfterClass.java", |
| "src/src/main/java/org/junit/Assert.java", |
| "src/src/main/java/org/junit/Assume.java", |
| "src/src/main/java/org/junit/AssumptionViolatedException.java", |
| "src/src/main/java/org/junit/Before.java", |
| "src/src/main/java/org/junit/BeforeClass.java", |
| "src/src/main/java/org/junit/ClassRule.java", |
| "src/src/main/java/org/junit/ComparisonFailure.java", |
| "src/src/main/java/org/junit/FixMethodOrder.java", |
| "src/src/main/java/org/junit/Ignore.java", |
| "src/src/main/java/org/junit/Rule.java", |
| "src/src/main/java/org/junit/Test.java", |
| "src/src/main/java/org/junit/experimental/ParallelComputer.java", |
| "src/src/main/java/org/junit/experimental/categories/Categories.java", |
| "src/src/main/java/org/junit/experimental/categories/Category.java", |
| "src/src/main/java/org/junit/experimental/categories/CategoryFilterFactory.java", |
| "src/src/main/java/org/junit/experimental/categories/CategoryValidator.java", |
| "src/src/main/java/org/junit/experimental/categories/ExcludeCategories.java", |
| "src/src/main/java/org/junit/experimental/categories/IncludeCategories.java", |
| "src/src/main/java/org/junit/experimental/max/CouldNotReadCoreException.java", |
| "src/src/main/java/org/junit/experimental/max/MaxCore.java", |
| "src/src/main/java/org/junit/experimental/max/MaxHistory.java", |
| "src/src/main/java/org/junit/experimental/results/FailureList.java", |
| "src/src/main/java/org/junit/experimental/results/PrintableResult.java", |
| "src/src/main/java/org/junit/experimental/results/ResultMatchers.java", |
| "src/src/main/java/org/junit/experimental/runners/Enclosed.java", |
| "src/src/main/java/org/junit/experimental/theories/DataPoint.java", |
| "src/src/main/java/org/junit/experimental/theories/DataPoints.java", |
| "src/src/main/java/org/junit/experimental/theories/FromDataPoints.java", |
| "src/src/main/java/org/junit/experimental/theories/ParameterSignature.java", |
| "src/src/main/java/org/junit/experimental/theories/ParameterSupplier.java", |
| "src/src/main/java/org/junit/experimental/theories/ParametersSuppliedBy.java", |
| "src/src/main/java/org/junit/experimental/theories/PotentialAssignment.java", |
| "src/src/main/java/org/junit/experimental/theories/Theories.java", |
| "src/src/main/java/org/junit/experimental/theories/Theory.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/AllMembersSupplier.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/Assignments.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/BooleanSupplier.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/EnumSupplier.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/ParameterizedAssertionError.java", |
| "src/src/main/java/org/junit/experimental/theories/internal/SpecificDataPointsSupplier.java", |
| "src/src/main/java/org/junit/experimental/theories/suppliers/TestedOn.java", |
| "src/src/main/java/org/junit/experimental/theories/suppliers/TestedOnSupplier.java", |
| "src/src/main/java/org/junit/internal/ArrayComparisonFailure.java", |
| "src/src/main/java/org/junit/internal/AssumptionViolatedException.java", |
| "src/src/main/java/org/junit/internal/Classes.java", |
| "src/src/main/java/org/junit/internal/ComparisonCriteria.java", |
| "src/src/main/java/org/junit/internal/ExactComparisonCriteria.java", |
| "src/src/main/java/org/junit/internal/InexactComparisonCriteria.java", |
| "src/src/main/java/org/junit/internal/JUnitSystem.java", |
| "src/src/main/java/org/junit/internal/MethodSorter.java", |
| "src/src/main/java/org/junit/internal/RealSystem.java", |
| "src/src/main/java/org/junit/internal/TextListener.java", |
| "src/src/main/java/org/junit/internal/Throwables.java", |
| "src/src/main/java/org/junit/internal/builders/AllDefaultPossibilitiesBuilder.java", |
| "src/src/main/java/org/junit/internal/builders/AnnotatedBuilder.java", |
| "src/src/main/java/org/junit/internal/builders/IgnoredBuilder.java", |
| "src/src/main/java/org/junit/internal/builders/IgnoredClassRunner.java", |
| "src/src/main/java/org/junit/internal/builders/JUnit3Builder.java", |
| "src/src/main/java/org/junit/internal/builders/JUnit4Builder.java", |
| "src/src/main/java/org/junit/internal/builders/NullBuilder.java", |
| "src/src/main/java/org/junit/internal/matchers/StacktracePrintingMatcher.java", |
| "src/src/main/java/org/junit/internal/builders/SuiteMethodBuilder.java", |
| "src/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java", |
| "src/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java", |
| "src/src/main/java/org/junit/internal/matchers/TypeSafeMatcher.java", |
| "src/src/main/java/org/junit/internal/requests/ClassRequest.java", |
| "src/src/main/java/org/junit/internal/requests/FilterRequest.java", |
| "src/src/main/java/org/junit/internal/requests/SortingRequest.java", |
| "src/src/main/java/org/junit/internal/requests/package-info.java", |
| "src/src/main/java/org/junit/internal/runners/ClassRoadie.java", |
| "src/src/main/java/org/junit/internal/runners/ErrorReportingRunner.java", |
| "src/src/main/java/org/junit/internal/runners/FailedBefore.java", |
| "src/src/main/java/org/junit/internal/runners/InitializationError.java", |
| "src/src/main/java/org/junit/internal/runners/JUnit38ClassRunner.java", |
| "src/src/main/java/org/junit/internal/runners/JUnit4ClassRunner.java", |
| "src/src/main/java/org/junit/internal/runners/MethodRoadie.java", |
| "src/src/main/java/org/junit/internal/runners/MethodValidator.java", |
| "src/src/main/java/org/junit/internal/runners/SuiteMethod.java", |
| "src/src/main/java/org/junit/internal/runners/TestClass.java", |
| "src/src/main/java/org/junit/internal/runners/TestMethod.java", |
| "src/src/main/java/org/junit/internal/runners/model/EachTestNotifier.java", |
| "src/src/main/java/org/junit/internal/runners/model/MultipleFailureException.java", |
| "src/src/main/java/org/junit/internal/runners/model/ReflectiveCallable.java", |
| "src/src/main/java/org/junit/internal/runners/package-info.java", |
| "src/src/main/java/org/junit/internal/runners/rules/RuleMemberValidator.java", |
| "src/src/main/java/org/junit/internal/runners/rules/ValidationError.java", |
| "src/src/main/java/org/junit/internal/runners/statements/ExpectException.java", |
| "src/src/main/java/org/junit/internal/runners/statements/Fail.java", |
| "src/src/main/java/org/junit/internal/runners/statements/FailOnTimeout.java", |
| "src/src/main/java/org/junit/internal/runners/statements/InvokeMethod.java", |
| "src/src/main/java/org/junit/internal/runners/statements/RunAfters.java", |
| "src/src/main/java/org/junit/internal/runners/statements/RunBefores.java", |
| "src/src/main/java/org/junit/matchers/JUnitMatchers.java", |
| "src/src/main/java/org/junit/matchers/package-info.java", |
| "src/src/main/java/org/junit/package-info.java", |
| "src/src/main/java/org/junit/rules/DisableOnDebug.java", |
| "src/src/main/java/org/junit/rules/ErrorCollector.java", |
| "src/src/main/java/org/junit/rules/ExpectedException.java", |
| "src/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java", |
| "src/src/main/java/org/junit/rules/ExternalResource.java", |
| "src/src/main/java/org/junit/rules/MethodRule.java", |
| "src/src/main/java/org/junit/rules/RuleChain.java", |
| "src/src/main/java/org/junit/rules/RunRules.java", |
| "src/src/main/java/org/junit/rules/Stopwatch.java", |
| "src/src/main/java/org/junit/rules/TemporaryFolder.java", |
| "src/src/main/java/org/junit/rules/TestName.java", |
| "src/src/main/java/org/junit/rules/TestRule.java", |
| "src/src/main/java/org/junit/rules/TestWatcher.java", |
| "src/src/main/java/org/junit/rules/TestWatchman.java", |
| "src/src/main/java/org/junit/rules/Timeout.java", |
| "src/src/main/java/org/junit/rules/Verifier.java", |
| "src/src/main/java/org/junit/runner/Computer.java", |
| "src/src/main/java/org/junit/runner/Describable.java", |
| "src/src/main/java/org/junit/runner/Description.java", |
| "src/src/main/java/org/junit/runner/FilterFactories.java", |
| "src/src/main/java/org/junit/runner/FilterFactory.java", |
| "src/src/main/java/org/junit/runner/FilterFactoryParams.java", |
| "src/src/main/java/org/junit/runner/JUnitCommandLineParseResult.java", |
| "src/src/main/java/org/junit/runner/JUnitCore.java", |
| "src/src/main/java/org/junit/runner/Request.java", |
| "src/src/main/java/org/junit/runner/Result.java", |
| "src/src/main/java/org/junit/runner/RunWith.java", |
| "src/src/main/java/org/junit/runner/Runner.java", |
| "src/src/main/java/org/junit/runner/manipulation/Filter.java", |
| "src/src/main/java/org/junit/runner/manipulation/Filterable.java", |
| "src/src/main/java/org/junit/runner/manipulation/NoTestsRemainException.java", |
| "src/src/main/java/org/junit/runner/manipulation/Sortable.java", |
| "src/src/main/java/org/junit/runner/manipulation/Sorter.java", |
| "src/src/main/java/org/junit/runner/manipulation/package-info.java", |
| "src/src/main/java/org/junit/runner/notification/Failure.java", |
| "src/src/main/java/org/junit/runner/notification/RunListener.java", |
| "src/src/main/java/org/junit/runner/notification/RunNotifier.java", |
| "src/src/main/java/org/junit/runner/notification/StoppedByUserException.java", |
| "src/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java", |
| "src/src/main/java/org/junit/runner/notification/package-info.java", |
| "src/src/main/java/org/junit/runner/package-info.java", |
| "src/src/main/java/org/junit/runners/AllTests.java", |
| "src/src/main/java/org/junit/runners/BlockJUnit4ClassRunner.java", |
| "src/src/main/java/org/junit/runners/JUnit4.java", |
| "src/src/main/java/org/junit/runners/MethodSorters.java", |
| "src/src/main/java/org/junit/runners/Parameterized.java", |
| "src/src/main/java/org/junit/runners/ParentRunner.java", |
| "src/src/main/java/org/junit/runners/Suite.java", |
| "src/src/main/java/org/junit/runners/model/Annotatable.java", |
| "src/src/main/java/org/junit/runners/model/FrameworkField.java", |
| "src/src/main/java/org/junit/runners/model/FrameworkMember.java", |
| "src/src/main/java/org/junit/runners/model/FrameworkMethod.java", |
| "src/src/main/java/org/junit/runners/model/InitializationError.java", |
| "src/src/main/java/org/junit/runners/model/MultipleFailureException.java", |
| "src/src/main/java/org/junit/runners/model/NoGenericTypeParametersValidator.java", |
| "src/src/main/java/org/junit/runners/model/RunnerBuilder.java", |
| "src/src/main/java/org/junit/runners/model/RunnerScheduler.java", |
| "src/src/main/java/org/junit/runners/model/Statement.java", |
| "src/src/main/java/org/junit/runners/model/TestClass.java", |
| "src/src/main/java/org/junit/runners/model/TestTimedOutException.java", |
| "src/src/main/java/org/junit/runners/package-info.java", |
| "src/src/main/java/org/junit/runners/parameterized/BlockJUnit4ClassRunnerWithParameters.java", |
| "src/src/main/java/org/junit/runners/parameterized/BlockJUnit4ClassRunnerWithParametersFactory.java", |
| "src/src/main/java/org/junit/runners/parameterized/ParametersRunnerFactory.java", |
| "src/src/main/java/org/junit/runners/parameterized/TestWithParameters.java", |
| "src/src/main/java/org/junit/validator/AnnotationValidator.java", |
| "src/src/main/java/org/junit/validator/AnnotationValidatorFactory.java", |
| "src/src/main/java/org/junit/validator/AnnotationsValidator.java", |
| "src/src/main/java/org/junit/validator/PublicClassValidator.java", |
| "src/src/main/java/org/junit/validator/TestClassValidator.java", |
| "src/src/main/java/org/junit/validator/ValidateWith.java", |
| ] |
| |
| # Work-around for combined android projects not having java.lang.management. |
| gradle_treat_as_prebuilt = true |
| } |