• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_perfetto_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["external_perfetto_license"],
8}
9
10cc_test {
11    name: "CtsHeapprofdJavaCtsTest",
12    team: "trendy_team_perfetto",
13    srcs: [
14        "heapprofd_java_test_cts.cc",
15        ":perfetto_protos_perfetto_config_cpp_gen",
16        ":perfetto_protos_perfetto_common_cpp_gen",
17    ],
18    generated_headers: [
19        "perfetto_protos_perfetto_config_cpp_gen_headers",
20        "perfetto_protos_perfetto_common_cpp_gen_headers",
21    ],
22    static_libs: [
23        "libgmock",
24        "perfetto_cts_deps",
25        "perfetto_trace_protos",
26    ],
27    whole_static_libs: [
28        "perfetto_gtest_logcat_printer",
29    ],
30    shared_libs: [
31        "libandroid",
32        "liblog",
33    ],
34    test_suites: [
35        "cts",
36        "general-tests",
37        "mts-art",
38        "mcts-art",
39    ],
40    compile_multilib: "both",
41    multilib: {
42        lib32: {
43            suffix: "32",
44        },
45        lib64: {
46            suffix: "64",
47        },
48    },
49    per_testcase_directory: true,
50    data: [
51        ":CtsPerfettoNonProfileableApp",
52        ":CtsPerfettoProfileableApp",
53        ":CtsPerfettoProducerApp",
54        ":CtsPerfettoReleaseApp",
55        ":CtsPerfettoDebuggableApp",
56        ":perfetto_device_preparer_sh",
57    ],
58    stl: "libc++_static",
59    // This test is also run via Mainline Testing against the ART Mainline
60    // Module, which is updatable since Android 12 (API level 31).
61    min_sdk_version: "31",
62    defaults: [
63        "perfetto_defaults",
64    ],
65}
66