blob: 96ac0d8d9604927044b3aff027e27bfa5eaa0522 [file] [log] [blame]
# Copyright 2015 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_group("robolectric_all_java") {
testonly = true
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_java",
":robolectric_junit_java",
":robolectric_resources_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
":shadows_core_java",
":shadows_multidex_java",
":shadows_play_services_java",
]
}
java_prebuilt("android-all-4.4_r1-robolectric-r2_java") {
testonly = true
jar_path = "lib/android-all-4.4_r1-robolectric-r2.jar"
}
java_prebuilt("android-all-5.0.2_r3-robolectric-r0_java") {
testonly = true
jar_path = "lib/android-all-5.0.2_r3-robolectric-r0.jar"
}
java_prebuilt("android-all-7.1.0_r7-robolectric-r1_java") {
testonly = true
jar_path = "lib/android-all-7.1.0_r7-robolectric-r1.jar"
}
java_prebuilt("android-all-8.0.0_r4-robolectric-r1_java") {
testonly = true
jar_path = "lib/android-all-8.0.0_r4-robolectric-r1.jar"
}
java_prebuilt("android-all-8.1.0-robolectric-4611349_java") {
testonly = true
jar_path = "lib/android-all-8.1.0-robolectric-4611349.jar"
}
java_prebuilt("android-all-9-robolectric-4913185-2_java") {
testonly = true
jar_path = "lib/android-all-9-robolectric-4913185-2.jar"
}
java_library("robolectric_java") {
testonly = true
# Skip platform checks since we must depend on shadows_core_java here which
# depends on targets that requires_android.
bypass_platform_checks = true
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_junit_java",
":robolectric_resources_java",
":robolectric_sandbox_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
":shadows_core_java",
"//third_party/android_deps:androidx_test_core_java",
"//third_party/android_deps:androidx_test_ext_junit_java",
"//third_party/android_deps:androidx_test_monitor_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/bouncycastle:bouncycastle_java",
"//third_party/jsr-305:jsr_305_javalib",
"//third_party/junit:junit",
"//third_party/xstream:xstream_java",
]
data_deps = [
":android-all-4.4_r1-robolectric-r2_java",
":android-all-5.0.2_r3-robolectric-r0_java",
":android-all-7.1.0_r7-robolectric-r1_java",
":android-all-8.0.0_r4-robolectric-r1_java",
":android-all-8.1.0-robolectric-4611349_java",
":android-all-9-robolectric-4913185-2_java",
]
java_files = [
"local/robolectric/src/main/java/org/robolectric/internal/dependency/MavenDependencyResolver.java",
"robolectric/robolectric/src/main/java/org/robolectric/ApkLoader.java",
"robolectric/robolectric/src/main/java/org/robolectric/ConfigMerger.java",
"robolectric/robolectric/src/main/java/org/robolectric/DefaultTestLifecycle.java",
"robolectric/robolectric/src/main/java/org/robolectric/ParameterizedRobolectricTestRunner.java",
"robolectric/robolectric/src/main/java/org/robolectric/Robolectric.java",
"robolectric/robolectric/src/main/java/org/robolectric/RobolectricTestRunner.java",
"robolectric/robolectric/src/main/java/org/robolectric/SdkPicker.java",
"robolectric/robolectric/src/main/java/org/robolectric/TestLifecycle.java",
"robolectric/robolectric/src/main/java/org/robolectric/TestLifecycleApplication.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/AndroidInterceptors.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/AttributeSetBuilder.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/AttributeSetBuilderImpl.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/fakes/RoboCharsets.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/fakes/RoboExtendedResponseCache.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/fakes/RoboMonitoringInstrumentation.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/fakes/RoboResponseSource.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/LocalActivityInvoker.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/NoOpThreadChecker.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/ParallelUniverse.java",
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/RoboUiController.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/AndroidConfigurer.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/BuckManifestFactory.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/DefaultManifestFactory.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/DeprecatedMethodMarkerException.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/ManifestFactory.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/ManifestIdentifier.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/MavenManifestFactory.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/ParallelUniverseInterface.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/SandboxFactory.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/SdkEnvironment.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/dependency/CachedDependencyResolver.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/dependency/DependencyJar.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/dependency/DependencyResolver.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/dependency/LocalDependencyResolver.java",
"robolectric/robolectric/src/main/java/org/robolectric/internal/dependency/PropertiesDependencyResolver.java",
"robolectric/robolectric/src/main/java/org/robolectric/junit/rules/ExpectedLogMessagesRule.java",
"robolectric/robolectric/src/main/java/org/robolectric/package-info.java",
"robolectric/robolectric/src/main/java/org/robolectric/res/NullResourceTable.java",
"robolectric/robolectric/src/main/java/org/robolectric/util/FragmentTestUtil.java",
]
additional_jar_files = [ [
"local/robolectric/src/main/resources/robolectric-version.properties",
"robolectric-version.properties",
] ]
# Work-around for gradle generator not yet supporting additional_jar_files.
gradle_treat_as_prebuilt = true
}
java_library("robolectric_annotations_java") {
testonly = true
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_shadowapi_java",
"//third_party/intellij:intellij_annotations_java",
"//third_party/jsr-305:jsr_305_javalib",
]
java_files = [
"robolectric/annotations/src/main/java/org/robolectric/annotation/AccessibilityChecks.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/Config.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/DefaultApplication.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/HiddenApi.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/Implementation.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/Implements.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/RealObject.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/Resetter.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/internal/ConfigUtils.java",
"robolectric/annotations/src/main/java/org/robolectric/annotation/package-info.java",
]
}
java_annotation_processor("robolectric_processor") {
testonly = true
deps = [
":robolectric_annotations_java",
":sdk_list_txt",
"//build/android:sun_tools_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/gson:gson_java",
"//third_party/intellij:intellij_annotations_java",
"//third_party/jsr-305:jsr_305_javalib",
"//third_party/ow2_asm:asm_commons_java",
"//third_party/ow2_asm:asm_java",
"//third_party/ow2_asm:asm_tree_java",
]
provider_configurations = [ "local/processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor" ]
main_class = "org.robolectric.annotation.processing.RobolectricProcessor"
java_files = [
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/DocumentedElement.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/DocumentedMethod.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/DocumentedPackage.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/DocumentedType.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/Helpers.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/RobolectricModel.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/RobolectricProcessor.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/Generator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/JavadocJsonGenerator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/ServiceLoaderGenerator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/ShadowProviderGenerator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/package-info.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/package-info.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/FoundOnImplementsValidator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/ImplementationValidator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/ImplementsValidator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/RealObjectValidator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/ResetterValidator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/SdkStore.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/Validator.java",
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/package-info.java",
]
sdk_target_dir = "$target_out_dir/sdks.txt"
include_java_resources = true
additional_jar_files = [ [
sdk_target_dir,
"sdks.txt",
] ]
# Work-around for gradle generator not yet supporting annotation processors.
gradle_treat_as_prebuilt = true
}
group("sdk_list_txt") {
sdk_target_dir = "$target_out_dir/sdks.txt"
# Write to a file some GN vars that are useful to scripts that use the output
# directory. Format is chosen as easliy importable by both python and bash.
CR = "$0x0A"
_data = ""
_data += rebase_path("lib/android-all-4.4_r1-robolectric-r2.jar") + CR
_data += rebase_path("lib/android-all-5.0.2_r3-robolectric-r0.jar") + CR
_data += rebase_path("lib/android-all-7.1.0_r7-robolectric-r1.jar") + CR
_data += rebase_path("lib/android-all-8.0.0_r4-robolectric-r1.jar") + CR
_data += rebase_path("lib/android-all-8.1.0-robolectric-4611349.jar") + CR
_data += rebase_path("lib/android-all-9-robolectric-4913185-2.jar") + CR
write_file(sdk_target_dir, _data)
}
java_library("robolectric_resources_java") {
testonly = true
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_utils_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/jsr-305:jsr_305_javalib",
]
java_files = [
"robolectric/resources/src/main/java/org/robolectric/RoboSettings.java",
"robolectric/resources/src/main/java/org/robolectric/UsesSdk.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/ActivityData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/AndroidManifest.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/BroadcastReceiverData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/ContentProviderData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/IntentFilterData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/MetaData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/PackageItemData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/PathPermissionData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/PermissionGroupItemData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/PermissionItemData.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/RoboNotFoundException.java",
"robolectric/resources/src/main/java/org/robolectric/manifest/ServiceData.java",
"robolectric/resources/src/main/java/org/robolectric/res/AttrData.java",
"robolectric/resources/src/main/java/org/robolectric/res/AttributeResource.java",
"robolectric/resources/src/main/java/org/robolectric/res/DocumentLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/DrawableResourceLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/EmptyStyle.java",
"robolectric/resources/src/main/java/org/robolectric/res/FileFsFile.java",
"robolectric/resources/src/main/java/org/robolectric/res/FileTypedResource.java",
"robolectric/resources/src/main/java/org/robolectric/res/Fs.java",
"robolectric/resources/src/main/java/org/robolectric/res/FsFile.java",
"robolectric/resources/src/main/java/org/robolectric/res/NodeHandler.java",
"robolectric/resources/src/main/java/org/robolectric/res/PackageResourceTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/Plural.java",
"robolectric/resources/src/main/java/org/robolectric/res/PluralRules.java",
"robolectric/resources/src/main/java/org/robolectric/res/Qualifiers.java",
"robolectric/resources/src/main/java/org/robolectric/res/RawResourceLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResBunch.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResBundle.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResName.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResType.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceIdGenerator.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceIds.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceMerger.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourcePath.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceRemapper.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceTableFactory.java",
"robolectric/resources/src/main/java/org/robolectric/res/ResourceValueConverter.java",
"robolectric/resources/src/main/java/org/robolectric/res/RoutingResourceTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/StartsWithFilter.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxArrayLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxAttrLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxDocumentLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxPluralsLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxStyleLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StaxValueLoader.java",
"robolectric/resources/src/main/java/org/robolectric/res/StringResources.java",
"robolectric/resources/src/main/java/org/robolectric/res/Style.java",
"robolectric/resources/src/main/java/org/robolectric/res/StyleData.java",
"robolectric/resources/src/main/java/org/robolectric/res/StyleResolver.java",
"robolectric/resources/src/main/java/org/robolectric/res/TextCollectingNodeHandler.java",
"robolectric/resources/src/main/java/org/robolectric/res/ThemeStyleSet.java",
"robolectric/resources/src/main/java/org/robolectric/res/TypedResource.java",
"robolectric/resources/src/main/java/org/robolectric/res/XmlContext.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/AConfiguration.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ApkAssetsCookie.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Asset.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/AssetDir.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/AssetPath.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/AttributeResolution.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/AttributeResolution9.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ByteBucketArray.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Chunk.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ConfigDescription.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/CppApkAssets.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/CppAssetManager.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/DataType.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/DynamicRefTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Errors.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/FileMap.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Formatter.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Idmap.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/IdmapEntries.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/LoadedArsc.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/LocaleData.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/LocaleDataTables.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/NativeObjRegistry.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Ref.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Registries.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResStringPool.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResStringPoolHeader.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResStringPoolRef.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResTableTheme.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResTable_config.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResXMLParser.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResXMLTree.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResourceString.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResourceTable.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResourceTypes.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ResourceUtils.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/SortedVector.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/String8.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/StringPiece.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/StringPoolRef.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/Util.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ZipArchiveHandle.java",
"robolectric/resources/src/main/java/org/robolectric/res/android/ZipFileRO.java",
"robolectric/resources/src/main/java/org/robolectric/res/builder/XmlBlock.java",
]
}
java_library("robolectric_utils_java") {
testonly = true
deps = [
":robolectric_annotations_java",
]
java_files = [
"robolectric/utils/src/main/java/org/robolectric/AndroidMetadata.java",
"robolectric/utils/src/main/java/org/robolectric/util/Clock.java",
"robolectric/utils/src/main/java/org/robolectric/util/Consumer.java",
"robolectric/utils/src/main/java/org/robolectric/util/Join.java",
"robolectric/utils/src/main/java/org/robolectric/util/Logger.java",
"robolectric/utils/src/main/java/org/robolectric/util/NamedStream.java",
"robolectric/utils/src/main/java/org/robolectric/util/Pair.java",
"robolectric/utils/src/main/java/org/robolectric/util/PerfStatsCollector.java",
"robolectric/utils/src/main/java/org/robolectric/util/PerfStatsReporter.java",
"robolectric/utils/src/main/java/org/robolectric/util/Scheduler.java",
"robolectric/utils/src/main/java/org/robolectric/util/SimpleFuture.java",
"robolectric/utils/src/main/java/org/robolectric/util/SoftThreadLocal.java",
"robolectric/utils/src/main/java/org/robolectric/util/Strftime.java",
"robolectric/utils/src/main/java/org/robolectric/util/TempDirectory.java",
"robolectric/utils/src/main/java/org/robolectric/util/TestRunnable.java",
"robolectric/utils/src/main/java/org/robolectric/util/TimeUtils.java",
"robolectric/utils/src/main/java/org/robolectric/util/Util.java",
"robolectric/utils/src/main/java/org/robolectric/util/package-info.java",
]
}
java_library("robolectric_sandbox_java") {
testonly = true
deps = [
":robolectric_annotations_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/jsr-305:jsr_305_javalib",
"//third_party/ow2_asm:asm_commons_java",
"//third_party/ow2_asm:asm_java",
"//third_party/ow2_asm:asm_tree_java",
]
java_files = [
"robolectric/sandbox/src/main/java/org/robolectric/JarInstrumentor.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassHandler.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassNodeProvider.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassValueMap.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/DirectObjectMarker.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InstrumentationConfiguration.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InstrumentingClassWriter.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/Interceptor.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/Interceptors.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InvocationProfile.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InvokeDynamic.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InvokeDynamicClassInstrumentor.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/InvokeDynamicSupport.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/MethodCallSite.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/MethodRef.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/MethodSignature.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/MutableClass.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/OldClassInstrumentor.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ProxyMaker.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/RoboCallSite.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/RoboType.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/RobolectricGeneratorAdapter.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/RobolectricInternals.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/Sandbox.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/SandboxClassLoader.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/SandboxConfig.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowConstants.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowDecorator.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowImpl.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowInfo.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowInvalidator.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowMap.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowWrangler.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowedObject.java",
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/TypeMapper.java",
"robolectric/sandbox/src/main/java/org/robolectric/util/Function.java",
"robolectric/sandbox/src/main/java/org/robolectric/util/JavaVersion.java",
]
}
java_library("robolectric_junit_java") {
bypass_platform_checks = true
testonly = true
deps = [
":robolectric_annotations_java",
":robolectric_sandbox_java",
":robolectric_shadowapi_java",
"//third_party/jsr-305:jsr_305_javalib",
"//third_party/junit:junit",
]
java_files = [ "robolectric/junit/src/main/java/org/robolectric/internal/SandboxTestRunner.java" ]
}
java_library("robolectric_shadowapi_java") {
testonly = true
deps = [
"//third_party/jsr-305:jsr_305_javalib",
]
java_files = [
"robolectric/shadowapi/src/main/java/org/robolectric/annotation/internal/DoNotInstrument.java",
"robolectric/shadowapi/src/main/java/org/robolectric/annotation/internal/Instrument.java",
"robolectric/shadowapi/src/main/java/org/robolectric/internal/IShadow.java",
"robolectric/shadowapi/src/main/java/org/robolectric/internal/ShadowProvider.java",
"robolectric/shadowapi/src/main/java/org/robolectric/shadow/api/Shadow.java",
"robolectric/shadowapi/src/main/java/org/robolectric/shadow/api/ShadowPicker.java",
"robolectric/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java",
]
}
java_library("shadows_core_java") {
output_name = "shadows-core-3.2"
# Skip platform checks since we must depend on accessibility_test_framework_java
# here which requires_android.
bypass_platform_checks = true
testonly = true
processor_args_javac =
[ "org.robolectric.annotation.processing.shadowPackage=org.robolectric" ]
provider_configurations = [
"local/shadows/resources/META-INF/services/org.robolectric.internal.ShadowProvider",
"local/shadows/framework/src/main/resources/META-INF/services/org.robolectric.ShadowsAdapter",
]
if (host_os == "linux") {
additional_jar_files = [
[
"../sqlite4java/lib/linux-x86_64/libsqlite4java.so",
"linux-x86_64/libsqlite4java.so",
],
[
"../sqlite4java/lib/linux-x86/libsqlite4java.so",
"linux-x86/libsqlite4java.so",
],
]
}
if (host_os == "mac") {
additional_jar_files = [ [
"../sqlite4java/lib/mac-x86_64/libsqlite4java.jnilib",
"mac-x86_64/libsqlite4java.jnilib",
] ]
}
if (host_os == "win") {
additional_jar_files = [
[
"../sqlite4java/lib/windows-x86/sqlite4java.dll",
"windows-x86/sqlite4java.dll",
],
[
"../sqlite4java/lib/windows-x86_64/sqlite4java.dll",
"windows-x86_64/sqlite4java.dll",
],
]
}
java_files = [
"robolectric/shadows/framework/src/main/java/android/webkit/RoboCookieManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/AccessibilityUtil.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/Bootstrap.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/ConfigurationV25.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/DeviceConfig.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/BackupAgentController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/ComponentController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/ContentProviderController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/FragmentController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/IntentServiceController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/ServiceController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/internal/DisplayConfig.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/RoboExecutorService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/BaseCursor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboCursor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboIntentSender.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboMenu.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboMenuItem.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboSubMenu.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/RoboWebSettings.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/fakes/package-info.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ClassNameResolver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/Converter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/Converter2.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ImageUtil.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/LegacyManifestParser.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/NativeAndroidInput.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/NativeBitSet64.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/NativeInput.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/Provider.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper2.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ResourceModeShadowPicker.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/RoboLayoutInflater.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/RoundRectangle.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAbsListView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAbsSeekBar.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAbsSpinner.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAbstractCursor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityRecord.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityWindowInfo.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccountManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivityGroup.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivityManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivityManagerNative.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivityThread.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAdapterView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAlarmManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAlertController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAlertDialog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAndroidBidi.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAnimationBridge.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAnimationUtils.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApkAssets.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppOpsManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppTask.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetHost.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetHostView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplication.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArrayAdapter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscApkAssets9.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscAssetInputStream.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscAssetManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscAssetManager9.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscResourcesImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAssetInputStream.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAssetManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAsyncQueryHandler.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAsyncTask.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAsyncTaskBridge.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAsyncTaskLoader.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioEffect.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAutofillManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBackgroundThread.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBackupManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBaseAdapter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBatteryManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBinderBridge.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmap.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmapDrawable.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmapFactory.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmapRegionDecoder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBitmapShader.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBlockGuardOs.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothAdapter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothDevice.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothGatt.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothServerSocket.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBroadcastPendingResult.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBroadcastReceiver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBuild.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCamera.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCameraCharacteristics.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCameraManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCanvas.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCaptioningManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCarrierConfigManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowChoreographer.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowClipboardManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowColor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowColorMatrixColorFilter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCompoundButton.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowConnectivityManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentObserver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentProvider.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentProviderClient.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentProviderOperation.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentProviderResult.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentUris.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextThemeWrapper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextWrapper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCookieManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCookieSyncManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCornerPathEffect.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCountDownTimer.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCursorWindow.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCursorWrapper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDashPathEffect.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDateFormat.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDateIntervalFormat.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDatePickerDialog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDebug.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDialog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDiscoverySession.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDownloadManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDrawable.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDropBoxManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowEdgeEffect.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowEnvironment.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowEuiccManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowEventLog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowExifInterface.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowExpandableListView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFileUtils.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFilter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFingerprintManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFloatMath.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFontFamily.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowGLES20.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowGLSurfaceView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowGeocoder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowGestureDetector.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowGradientDrawable.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowHandler.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowHttpResponseCache.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowIAppOpsService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowICU.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowIcon.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowImageDecoder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputDevice.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputEvent.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputEventReceiver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputMethodManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInstrumentation.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowIntent.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowIntentService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowIoUtils.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowJobScheduler.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowJobService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowJsPromptResult.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowJsResult.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowKeyCharacterMap.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowKeyguardManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLayoutAnimationController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyApkAssets.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyAssetInputStream.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyAssetManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyResourcesImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLinearGradient.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLinearLayout.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLinkMovementMethod.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLinux.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowListPopupWindow.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowListView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLoadedApk.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLocalActivityManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLocaleData.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLocationManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLooper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMatrix.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMeasuredParagraph.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaMetadataRetriever.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaRecorder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaRouter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaScannerConnection.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaStore.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMemoryMappedFile.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMessage.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMessageQueue.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMessenger.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMimeTypeMap.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMotionEvent.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNativeAllocationRegistry.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNativePluralRules.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNetwork.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNetworkInfo.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNetworkScoreManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNfcAdapter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNinePatch.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNotification.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNotificationManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNsdManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNumberPicker.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowObjectAnimator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowOpenGLMatrix.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowOutline.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowOverScroller.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageInstaller.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageParser.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPaint.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcelFileDescriptor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPath.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPathMeasure.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPathParser.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPeerHandle.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPendingIntent.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPhoneWindow.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPhoneWindowFor22.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPicture.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPlayerBase.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPolicyManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPopupMenu.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPopupWindow.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPorterDuffColorFilter.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPosix.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPowerManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPrecomputedText.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPreference.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowProcess.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowProgressBar.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowProgressDialog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowQueuedWork.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRegion.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRelativeLayout.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRemoteCallbackList.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRenderNode.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRenderNodeAnimator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowResolveInfo.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowResources.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowResourcesImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowResourcesManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowRestrictionsManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowResultReceiver.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSQLiteConnection.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSQLiteOpenHelper.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowScaleGestureDetector.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowScanResult.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowScrollView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowScroller.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSearchManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSeekBar.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSensor.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSensorManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowServiceManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSettings.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSharedMemory.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSharedPreferences.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowShortcutManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSliceManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSmsManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSocketTagger.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSpellChecker.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSslErrorHandler.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStatFs.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStateListDrawable.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStaticLayout.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStorageManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStrictModeVmPolicy.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowStringBlock.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSubscriptionManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSurface.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSurfaceView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSystemClock.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSystemProperties.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSystemServiceRegistry.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSystemVibrator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTabActivity.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTabHost.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTabWidget.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelecomManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelephony.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelephonyManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextPaint.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextToSpeech.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextUtils.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTile.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTileService.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTime.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTimePickerDialog.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTimeZoneFinder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowToast.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTouchDelegate.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTrafficStats.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTypedArray.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTypeface.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsageStatsManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVMRuntime.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowValueAnimator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVectorDrawable.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVelocityTracker.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVibrator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVideoView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowViewAnimator.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowViewConfiguration.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowViewGroup.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowViewRootImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVirtualRefBasePtr.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowVisualVoicemailSms.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWallpaperManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWebStorage.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWebSyncManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWebView.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWebViewDatabase.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiConfiguration.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiInfo.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiP2pGroup.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiP2pManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWindow.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWindowManager.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWindowManagerGlobal.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWindowManagerImpl.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowXmlBlock.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowZoomButtonsController.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/StorageVolumeBuilder.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/package-info.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/util/AppSingletonizer.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/util/DataSource.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/util/SQLiteLibraryLoader.java",
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/util/package-info.java",
]
annotation_processor_deps = [ ":robolectric_processor" ]
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_resources_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
"//third_party/accessibility_test_framework:accessibility_test_framework_java",
"//third_party/jsr-305:jsr_305_javalib",
# Note that gson is not a direct dependency for this library, but must be
# in the classpath when the Robolectric annotation processor runs.
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/gson:gson_java",
"//third_party/hamcrest:hamcrest_java",
"//third_party/icu4j:icu4j_java",
"//third_party/intellij:intellij_annotations_java",
"//third_party/sqlite4java:sqlite4java_java",
]
# Work-around for gradle generator not yet supporting annotation processors.
gradle_treat_as_prebuilt = true
}
java_library("shadows_multidex_java") {
# Skip platform checks since we must depend on android_support_multidex_java
# here which requires_android.
bypass_platform_checks = true
testonly = true
processor_args_javac = [ "org.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.multidex" ]
provider_configurations = [ "local/shadows/multidex/src/main/resources/META-INF/services/org.robolectric.internal.ShadowProvider" ]
java_files = [
"robolectric/shadows/multidex/src/main/java/org/robolectric/shadows/multidex/ShadowAndroidXMultiDex.java",
"robolectric/shadows/multidex/src/main/java/org/robolectric/shadows/multidex/ShadowMultiDex.java",
"robolectric/shadows/multidex/src/main/java/org/robolectric/shadows/multidex/package-info.java",
]
annotation_processor_deps = [ ":robolectric_processor" ]
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
":shadows_core_java",
"//build/android:sun_tools_java",
"//third_party/android_deps:com_android_support_multidex_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/gson:gson_java",
]
# Work-around for gradle generator not yet supporting annotation processors.
gradle_treat_as_prebuilt = true
}
java_library("shadows_play_services_java") {
# Skip platform checks since we must depend on android_support_v4_java
# and google_play_services_library here which both requires_android.
bypass_platform_checks = true
testonly = true
processor_args_javac = [ "org.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.gms" ]
provider_configurations = [ "local/shadows/playservices/src/main/resources/META-INF/services/org.robolectric.internal.ShadowProvider" ]
java_files = [
"robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGoogleAuthUtil.java",
"robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGooglePlayServicesUtil.java",
"robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/common/ShadowGoogleApiAvailability.java",
"robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/package-info.java",
]
annotation_processor_deps = [ ":robolectric_processor" ]
deps = [
":android-all-9-robolectric-4913185-2_java",
":robolectric_annotations_java",
":robolectric_resources_java",
":robolectric_shadowapi_java",
":robolectric_utils_java",
":shadows_core_java",
"$google_play_services_package:google_play_services_auth_base_java",
"$google_play_services_package:google_play_services_base_java",
"$google_play_services_package:google_play_services_basement_java",
"//third_party/android_deps:android_support_v4_java",
"//third_party/android_deps:com_google_guava_guava_java",
"//third_party/gson:gson_java",
]
# Work-around for gradle generator not yet supporting annotation processors.
gradle_treat_as_prebuilt = true
}