mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
760 lines
52 KiB
Plaintext
760 lines
52 KiB
Plaintext
# 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-8.1.0-robolectric-r4402310_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.3_r2-robolectric-0_java") {
|
|
testonly = true
|
|
jar_path = "lib/android-all-4.3_r2-robolectric-0.jar"
|
|
}
|
|
|
|
java_prebuilt("android-all-5.0.0_r2-robolectric-1_java") {
|
|
testonly = true
|
|
jar_path = "lib/android-all-5.0.0_r2-robolectric-1.jar"
|
|
}
|
|
|
|
java_prebuilt("android-all-7.1.0_r7-robolectric-0_java") {
|
|
testonly = true
|
|
jar_path = "lib/android-all-7.1.0_r7-robolectric-0.jar"
|
|
}
|
|
|
|
java_prebuilt("android-all-8.0.0_r4-robolectric-0_java") {
|
|
testonly = true
|
|
jar_path = "lib/android-all-8.0.0_r4-robolectric-0.jar"
|
|
}
|
|
|
|
java_prebuilt("android-all-8.1.0-robolectric-r4402310_java") {
|
|
testonly = true
|
|
jar_path = "lib/android-all-8.1.0-robolectric-r4402310.jar"
|
|
}
|
|
|
|
java_library("robolectric_java") {
|
|
testonly = true
|
|
deps = [
|
|
":android-all-8.1.0-robolectric-r4402310_java",
|
|
":robolectric_annotations_java",
|
|
":robolectric_junit_java",
|
|
":robolectric_resources_java",
|
|
":robolectric_sandbox_java",
|
|
":robolectric_shadowapi_java",
|
|
":robolectric_utils_java",
|
|
":shadows_core_java",
|
|
"//third_party/bouncycastle:bouncycastle_java",
|
|
"//third_party/guava:guava_java",
|
|
"//third_party/jsr-305:jsr_305_javalib",
|
|
"//third_party/junit:junit",
|
|
"//third_party/xstream:xstream_java",
|
|
]
|
|
data_deps = [
|
|
":android-all-4.3_r2-robolectric-0_java",
|
|
":android-all-5.0.0_r2-robolectric-1_java",
|
|
":android-all-7.1.0_r7-robolectric-0_java",
|
|
":android-all-8.0.0_r4-robolectric-0_java",
|
|
]
|
|
java_files = [
|
|
"local/robolectric/src/main/java/org/robolectric/internal/dependency/MavenDependencyResolver.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/TestLifecycleApplicationImpl.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/AndroidInterceptors.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/ApplicationTestUtil.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/ActivityController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/BackupAgentController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/ComponentController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/ContentProviderController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/FragmentController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/IntentServiceController.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/controller/ServiceController.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/RoboInstrumentation.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/fakes/RoboResponseSource.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/ClassNameResolver.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/android/internal/ParallelUniverse.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/DeepCloner.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/internal/DefaultManifestFactory.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/internal/GradleManifestFactory.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/package-info.java",
|
|
"robolectric/robolectric/src/main/java/org/robolectric/util/FragmentTestUtil.java",
|
|
]
|
|
additional_jar_files = [ [
|
|
rebase_path(
|
|
"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-8.1.0-robolectric-r4402310_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",
|
|
"//build/android:sun_tools_java",
|
|
"//third_party/gson:gson_java",
|
|
"//third_party/guava:guava_java",
|
|
"//third_party/intellij:intellij_annotations_java",
|
|
"//third_party/jsr-305:jsr_305_javalib",
|
|
]
|
|
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/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/Validator.java",
|
|
"robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/package-info.java",
|
|
]
|
|
|
|
# Work-around for gradle generator not yet supporting annotation processors.
|
|
gradle_treat_as_prebuilt = true
|
|
}
|
|
|
|
java_library("robolectric_resources_java") {
|
|
testonly = true
|
|
deps = [
|
|
":android-all-8.1.0-robolectric-r4402310_java",
|
|
":robolectric_annotations_java",
|
|
":robolectric_utils_java",
|
|
"//third_party/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/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/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/builder/XmlBlock.java",
|
|
]
|
|
}
|
|
|
|
java_library("robolectric_utils_java") {
|
|
testonly = true
|
|
deps = [
|
|
":robolectric_annotations_java",
|
|
]
|
|
java_files = [
|
|
"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/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/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/internal/bytecode/ClassHandler.java",
|
|
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInfo.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/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/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/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/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/ShadowConfig.java",
|
|
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowConstants.java",
|
|
"robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ShadowImpl.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/util/Function.java",
|
|
"robolectric/sandbox/src/main/java/org/robolectric/util/JavaVersion.java",
|
|
]
|
|
}
|
|
|
|
java_library("robolectric_junit_java") {
|
|
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/util/ReflectionHelpers.java",
|
|
]
|
|
}
|
|
|
|
java_library("shadows_core_java") {
|
|
output_name = "shadows-core-3.2"
|
|
|
|
# TODO(mikecase): Remove this once crbug.com/638875 is fixed.
|
|
enable_incremental_javac_override = false
|
|
|
|
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 = [
|
|
[
|
|
rebase_path("../sqlite4java/lib/linux-x86_64/libsqlite4java.so"),
|
|
"linux-x86_64/libsqlite4java.so",
|
|
],
|
|
[
|
|
rebase_path("../sqlite4java/lib/linux-x86/libsqlite4java.so"),
|
|
"linux-x86/libsqlite4java.so",
|
|
],
|
|
]
|
|
}
|
|
if (host_os == "mac") {
|
|
additional_jar_files = [ [
|
|
rebase_path("../sqlite4java/lib/mac-x86_64/libsqlite4java.jnilib"),
|
|
"mac-x86_64/libsqlite4java.jnilib",
|
|
] ]
|
|
}
|
|
if (host_os == "win") {
|
|
additional_jar_files = [
|
|
[
|
|
rebase_path("../sqlite4java/lib/windows-x86/sqlite4java.dll"),
|
|
"windows-x86/sqlite4java.dll",
|
|
],
|
|
[
|
|
rebase_path("../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/ShadowsAdapter.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/android/AccessibilityUtil.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.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/RoboVibrator.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/Converter.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/CoreShadowsAdapter.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ImageUtil.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/RoboLayoutInflater.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/ShadowAccessibilityEvent.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/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/ShadowAssetManager.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/ShadowBackgroundThread.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/ShadowBluetoothAdapter.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothDevice.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothManager.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/ShadowCamera.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCanvas.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/ShadowColorMatrix.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/ShadowCursorAdapter.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/ShadowDialog.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.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/ShadowEdgeEffect.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowEnvironment.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/ShadowFilter.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFloatMath.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFrameLayout.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/ShadowInputDevice.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputEvent.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInputMethodManager.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/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/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/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/ShadowNetwork.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNetworkInfo.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/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/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/ShadowPathParser.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/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/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/ShadowResourceManager.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/ShadowResultReceiver.java",
|
|
"robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSQLiteConnection.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/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/ShadowShortcutManager.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/ShadowStrictMode.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/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/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/ShadowTextView.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/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/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/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/ShadowWallpaperManager.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/ShadowZoomButtonsController.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-8.1.0-robolectric-r4402310_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/gson:gson_java",
|
|
"//third_party/guava:guava_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/ShadowMultiDex.java",
|
|
"robolectric/shadows/multidex/src/main/java/org/robolectric/shadows/multidex/package-info.java",
|
|
]
|
|
|
|
annotation_processor_deps = [ ":robolectric_processor" ]
|
|
deps = [
|
|
":android-all-8.1.0-robolectric-r4402310_java",
|
|
":robolectric_annotations_java",
|
|
":robolectric_shadowapi_java",
|
|
":robolectric_utils_java",
|
|
":shadows_core_java",
|
|
"//build/android:sun_tools_java",
|
|
"//third_party/android_tools:android_support_multidex_java",
|
|
"//third_party/gson:gson_java",
|
|
"//third_party/guava:guava_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-8.1.0-robolectric-r4402310_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_tools:android_support_v4_java",
|
|
"//third_party/gson:gson_java",
|
|
"//third_party/guava:guava_java",
|
|
]
|
|
|
|
# Work-around for gradle generator not yet supporting annotation processors.
|
|
gradle_treat_as_prebuilt = true
|
|
}
|