| /* |
| * Copyright (C) 2024 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_applicable_licenses: ["Android-Apache-2.0"], |
| default_team: "trendy_team_system_performance", |
| } |
| |
| android_test { |
| name: "CtsProfilingModuleTests", |
| defaults: ["cts_defaults"], |
| static_libs: [ |
| "androidx.test.rules", |
| "androidx.test.ext.truth", |
| "compatibility-device-util-axt", |
| "ctstestrunner-axt", |
| "cts-wm-util", |
| "modules-utils-build", |
| "service-profiling", |
| "profiling_flags_not_exported_lib", |
| "framework-profiling.impl", |
| "testng", |
| ], |
| libs: [ |
| "android.test.runner.stubs.system", |
| "android.test.base.stubs.system", |
| "android.test.mock.stubs.system", |
| "junit", |
| ], |
| // include both the 32 and 64 bit versions |
| compile_multilib: "both", |
| srcs: [ |
| "src/android/profiling/cts/*.java", |
| ], |
| jni_libs: [ |
| "libcts_profiling_module_test_native", |
| ], |
| jarjar_rules: "jarjar-rules.txt", |
| test_mainline_modules: ["com.google.android.profiling.apex"], |
| test_suites: [ |
| "cts", |
| "general-tests", |
| "mts-profiling", |
| "mcts-profiling", |
| ], |
| min_sdk_version: "35", |
| sdk_version: "module_current", |
| } |