1// Copyright (C) 2017 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 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "frameworks_base_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["frameworks_base_license"], 22} 23 24android_test { 25 name: "TestablesTests", 26 platform_apis: true, 27 srcs: [ 28 "src/**/*.java", 29 "src/**/*.kt", 30 "src/**/I*.aidl", 31 ], 32 asset_dirs: ["goldens"], 33 resource_dirs: ["res"], 34 static_libs: [ 35 "PlatformMotionTesting", 36 "androidx.core_core-animation", 37 "androidx.core_core-ktx", 38 "androidx.test.ext.junit", 39 "androidx.test.rules", 40 "hamcrest-library", 41 "kotlinx_coroutines_test", 42 "mockito-target-inline-minus-junit4", 43 "platform-screenshot-diff-core", 44 "platform-test-annotations", 45 "testables", 46 "truth", 47 ], 48 compile_multilib: "both", 49 jni_libs: [ 50 "libdexmakerjvmtiagent", 51 "libmultiplejvmtiagentsinterferenceagent", 52 ], 53 libs: [ 54 "android.test.runner.stubs.system", 55 "android.test.base.stubs.system", 56 "android.test.mock.stubs.system", 57 ], 58 certificate: "platform", 59 test_config: "AndroidTest.xml", 60 test_suites: [ 61 "device-tests", 62 "automotive-tests", 63 ], 64} 65