aboutsummaryrefslogtreecommitdiff
path: root/Android.bp.extras
blob: 84c0f10c94302d84e8b5a3c38a9233b6b647bced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// These targets are appended to the autogenerated Android.bp by tools/gen_android_bp.
cc_library_static {
  name: "perfetto_cts_deps",
  srcs: [
    "src/base/android_task_runner.cc",
    "src/base/test/test_task_runner.cc",
    "src/traced/probes/ftrace/cpu_reader.cc",
    "src/traced/probes/ftrace/event_info.cc",
    "src/traced/probes/ftrace/format_parser.cc",
    "src/traced/probes/ftrace/ftrace_controller.cc",
    "src/traced/probes/ftrace/ftrace_procfs.cc",
    "src/traced/probes/ftrace/proto_translation_table.cc",
    "src/traced/probes/probes_producer.cc",
    "test/end_to_end_integrationtest.cc",
    "test/fake_producer.cc",
    "test/task_runner_thread.cc",
    "test/test_helper.cc",
  ],
  export_include_dirs: [
    ".",
  ],
  shared_libs: [
    "libprotobuf-cpp-lite",
  ],
  static_libs: [
    "libgmock",
    "libgtest",
    "perfetto_src_tracing_ipc",
    "perfetto_trace_protos",
  ],
  cflags: [
    "-DPERFETTO_BUILD_WITH_ANDROID",
  ],
}

cc_library_static {
  name: "perfetto_cts_jni_deps",
  srcs: [
    "src/base/android_task_runner.cc",
    "src/base/test/test_task_runner.cc",
    "test/fake_producer.cc",
  ],
  shared_libs: [
    "libprotobuf-cpp-lite",
  ],
  export_include_dirs: [
    ".",
  ],
  static_libs: [
    "libgtest",
    "perfetto_src_tracing_ipc",
  ],
  cflags: [
    "-DPERFETTO_BUILD_WITH_ANDROID",
  ],
}

java_library_host {
  name: "perfetto_config-full",
  proto: {
      type: "full",
  },
  srcs: [
    "protos/perfetto/config/perfetto_config.proto",
  ],
}