Files
android_packages_modules_Co…/tests/benchmark/Android.bp
Junyu Lai 56b03edede Move test zip file to assets
This is a no-op refactoring which move test data from resources
to assets, and repacking zip file to contain netstats sub-folder.

This is needed for later patches to put more test data points,
and having easier way to access them in batch.

Test: atest ConnectivityBenchmarkTests
Bug: 269409485
Change-Id: I1d09ac0187c9ce12982161243929d8e10483da45
2023-10-04 17:24:37 +08:00

44 lines
1.3 KiB
Plaintext

//
// 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 {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "ConnectivityBenchmarkTests",
defaults: [
"framework-connectivity-internal-test-defaults",
],
platform_apis: true,
srcs: [
"src/**/*.kt",
"src/**/*.aidl",
],
asset_dirs: ["assets"],
static_libs: [
"androidx.test.rules",
"mockito-target-minus-junit4",
"net-tests-utils",
"service-connectivity-pre-jarjar",
"service-connectivity-tiramisu-pre-jarjar",
],
test_suites: ["device-tests"],
jarjar_rules: ":connectivity-jarjar-rules",
}