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", |
| 7 | "src/ftrace_reader/cpu_reader.cc", |
| 8 | "src/ftrace_reader/event_info.cc", |
| 9 | "src/ftrace_reader/format_parser.cc", |
| 10 | "src/ftrace_reader/ftrace_controller.cc", |
| 11 | "src/ftrace_reader/ftrace_procfs.cc", |
| 12 | "src/ftrace_reader/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 | } |