blob: c05189a94400db1446264ab8cb653a66b8b4e407 [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_perfetto_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["external_perfetto_license"],
}
cc_test {
name: "CtsPerfettoTestCases",
srcs: [
"device_feature_test_cts.cc",
"end_to_end_integrationtest_cts.cc",
"heapprofd_java_test_cts.cc",
"heapprofd_test_cts.cc",
"traced_perf_test_cts.cc",
":perfetto_protos_perfetto_config_cpp_gen",
":perfetto_protos_perfetto_common_cpp_gen"
],
generated_headers: [
"perfetto_protos_perfetto_config_cpp_gen_headers",
"perfetto_protos_perfetto_common_cpp_gen_headers",
],
static_libs: [
"libgmock",
"libprotobuf-cpp-lite",
"libperfetto_client_experimental",
"perfetto_cts_deps",
"perfetto_trace_protos",
],
whole_static_libs: [
"perfetto_gtest_logcat_printer",
],
shared_libs: [
"libandroid",
"liblog",
],
test_suites: [
"cts",
"mts",
"vts10",
"general-tests",
],
compile_multilib: "both",
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
per_testcase_directory: true,
data: [
":CtsPerfettoNonProfileableApp",
":CtsPerfettoProfileableApp",
":CtsPerfettoProducerApp",
":CtsPerfettoReleaseApp",
":CtsPerfettoDebuggableApp",
],
stl: "libc++_static",
// This test is also run via Mainline Testing against the ART Mainline
// Module, which is updatable since Android 12 (API level 31).
min_sdk_version: "31",
defaults: [
"perfetto_defaults",
],
}