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: "CtsPerfettoReporterTestCases",
  team: "trendy_team_perfetto",
  srcs: [
    "reporter_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_flags_c_lib",
    "perfetto_trace_protos",
  ],
  whole_static_libs: [
    "perfetto_gtest_logcat_printer",
  ],
  shared_libs: [
    "libandroid",
    "liblog",
  ],
  test_suites: [
    "cts",
    "vts10",
    "general-tests",
  ],
  compile_multilib: "both",
  multilib: {
    lib32: {
        suffix: "32",
    },
    lib64: {
        suffix: "64",
    },
  },
  per_testcase_directory: true,
  data: [
        ":CtsPerfettoReporterApp"
  ],
  stl: "libc++_static",
  defaults: [
    "perfetto_defaults",
  ],
}
