1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_team: "trendy_team_motion", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "mechanics_tests", 22 manifest: "AndroidManifest.xml", 23 test_suites: ["device-tests"], 24 25 srcs: [ 26 "src/**/*.kt", 27 28 // TODO(b/240432457): Depend on mechanics directly 29 ":mechanics-srcs", 30 ], 31 32 static_libs: [ 33 // ":mechanics" dependencies 34 "androidx.compose.runtime_runtime", 35 "androidx.compose.ui_ui-util", 36 37 // ":mechanics_tests" dependencies 38 "androidx.compose.animation_animation-core", 39 "platform-test-annotations", 40 "PlatformMotionTesting", 41 "androidx.compose.ui_ui-test-junit4", 42 "androidx.test.runner", 43 "androidx.test.ext.junit", 44 "kotlin-test", 45 "truth", 46 ], 47 asset_dirs: ["goldens"], 48 kotlincflags: ["-Xjvm-default=all"], 49} 50