| 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", |
| "heapprofd_java_test_cts.cc", |
| "heapprofd_test_cts.cc", |
| "producer_to_consumer_integrationtest_cts.cc", |
| "traced_perf_test_cts.cc", |
| ":perfetto_end_to_end_integrationtests", |
| ":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-art", |
| "vts10", |
| "general-tests", |
| "mcts-art", |
| ], |
| compile_multilib: "both", |
| multilib: { |
| lib32: { |
| suffix: "32", |
| }, |
| lib64: { |
| suffix: "64", |
| }, |
| }, |
| per_testcase_directory: true, |
| data: [ |
| ":CtsPerfettoNonProfileableApp", |
| ":CtsPerfettoProfileableApp", |
| ":CtsPerfettoProducerApp", |
| ":CtsPerfettoReleaseApp", |
| ":CtsPerfettoDebuggableApp", |
| "perfetto_device_preparer.sh", |
| ], |
| 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", |
| ], |
| } |