| // Copyright (C) 2023 The Android Open Source Project | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| // See the License for the specific language governing permissions and | |
| // limitations under the License. | |
| package { | |
| default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_", | |
| // See: http://go/android-license-faq | |
| // A large-scale-change added 'default_applicable_licenses' to import | |
| // all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license" | |
| // to get the below license kinds: | |
| // SPDX-license-identifier-Apache-2.0 | |
| default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"], | |
| } | |
| android_test { | |
| name: "PlatformComposeSceneTransitionLayoutTests", | |
| manifest: "AndroidManifest.xml", | |
| defaults: ["MotionTestDefaults"], | |
| test_suites: ["device-tests"], | |
| srcs: [ | |
| "src/**/*.kt", | |
| ], | |
| static_libs: [ | |
| "PlatformComposeCore", | |
| "PlatformComposeSceneTransitionLayout", | |
| "PlatformComposeSceneTransitionLayoutTestsUtils", | |
| "PlatformMotionTesting", | |
| "PlatformMotionTestingCompose", | |
| "PlatformMotionTestingComposeValues", | |
| "PlatformTestingCompose", | |
| "androidx.activity_activity", | |
| "androidx.collection_collection", | |
| "androidx.compose.animation_animation", | |
| "androidx.compose.animation_animation-core", | |
| "androidx.compose.foundation_foundation", | |
| "androidx.compose.foundation_foundation-layout", | |
| "androidx.compose.material3_material3", | |
| "androidx.compose.runtime_runtime", | |
| "androidx.compose.ui_ui", | |
| "androidx.compose.ui_ui-geometry", | |
| "androidx.compose.ui_ui-graphics", | |
| "androidx.compose.ui_ui-test", | |
| "androidx.compose.ui_ui-test-junit4", | |
| "androidx.compose.ui_ui-test-manifest", | |
| "androidx.compose.ui_ui-text", | |
| "androidx.compose.ui_ui-unit", | |
| "androidx.compose.ui_ui-util", | |
| "androidx.core_core", | |
| "androidx.lifecycle_lifecycle-common", | |
| "androidx.lifecycle_lifecycle-runtime", | |
| "androidx.lifecycle_lifecycle-runtime-compose", | |
| "androidx.lifecycle_lifecycle-viewmodel", | |
| "androidx.navigation_navigation-compose", | |
| "androidx.navigationevent_navigationevent", | |
| "androidx.savedstate_savedstate", | |
| "androidx.test.ext.junit", | |
| "androidx.test.ext.junit-nodeps", | |
| "androidx.test.runner", | |
| "com.android.tunable", | |
| "com_android_scenetransitionlayout_flags_lib", | |
| "com_android_systemui_flags_lib", | |
| "error_prone_annotations", | |
| "flag-junit", | |
| "flag-junit-base", | |
| "guava", | |
| "junit", | |
| "kotlinx_coroutines", | |
| "kotlinx_coroutines_test", | |
| "mechanics", | |
| "platform-parametric-runner-lib", | |
| "platform-screenshot-diff-core", | |
| "platform-test-annotations", | |
| "truth", | |
| ], | |
| libs: [ | |
| "SceneTransitionLayoutDelicateApiLib", | |
| ], | |
| associates: [ | |
| "PlatformComposeSceneTransitionLayout", | |
| ], | |
| asset_dirs: ["goldens"], | |
| kotlincflags: ["-Xjvm-default=all"], | |
| use_resource_processor: true, | |
| strict_deps: "error", | |
| } |