Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 1 | // These targets are appended to the autogenerated Android.bp by tools/gen_android_bp. |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2 | cc_library_static { |
| 3 | name: "perfetto_cts_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4 | srcs: [ |
| 5 | "src/base/android_task_runner.cc", |
| 6 | "src/base/test/test_task_runner.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 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", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 13 | "src/traced/probes/probes_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 14 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 15 | "test/fake_producer.cc", |
| 16 | "test/task_runner_thread.cc", |
| 17 | "test/test_helper.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 18 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 19 | export_include_dirs: [ |
| 20 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 21 | ], |
| 22 | shared_libs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 23 | "libprotobuf-cpp-lite", |
| 24 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 25 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 26 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 27 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 28 | "perfetto_trace_protos", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 29 | ], |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 30 | cflags: [ |
| 31 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 32 | ], |
| 33 | } |
| 34 | |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 35 | cc_library_static { |
| 36 | name: "perfetto_cts_jni_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 37 | srcs: [ |
| 38 | "src/base/android_task_runner.cc", |
| 39 | "src/base/test/test_task_runner.cc", |
| 40 | "test/fake_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 41 | ], |
| 42 | shared_libs: [ |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 43 | "libprotobuf-cpp-lite", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 44 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 45 | export_include_dirs: [ |
| 46 | ".", |
| 47 | ], |
| 48 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 49 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 50 | "perfetto_src_tracing_ipc", |
| 51 | ], |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 52 | cflags: [ |
| 53 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 54 | ], |
| 55 | } |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 56 | |
| 57 | java_library_static { |
| 58 | name: "perfetto_config-lite", |
| 59 | host_supported: true, |
| 60 | proto: { |
| 61 | type: "lite", |
| 62 | }, |
| 63 | srcs: [ |
| 64 | "protos/perfetto/config/perfetto_config.proto", |
| 65 | ], |
| 66 | } |