blob: 84c0f10c94302d84e8b5a3c38a9233b6b647bced [file] [log] [blame]
// 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",
],
}