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