| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libpdx_uds", |
| 3 | clang: true, |
| 4 | cflags: [ |
| 5 | "-Wall", |
| 6 | "-Wextra", |
| 7 | "-Werror", |
| Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 8 | "-DLOG_TAG=\"libpdx_uds\"", |
| 9 | "-DTRACE=0", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 10 | ], |
| 11 | export_include_dirs: ["private"], |
| 12 | local_include_dirs: ["private"], |
| 13 | srcs: [ |
| Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 14 | "channel_event_set.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 15 | "channel_manager.cpp", |
| 16 | "client_channel_factory.cpp", |
| 17 | "client_channel.cpp", |
| 18 | "ipc_helper.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 19 | "service_endpoint.cpp", |
| 20 | ], |
| 21 | static_libs: [ |
| Alex Vakulenko | 409c6ee | 2017-03-23 17:45:40 -0700 | [diff] [blame] | 22 | "libcutils", |
| 23 | "libbase", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 24 | "libpdx", |
| 25 | ], |
| Alex Vakulenko | 4a7762a | 2017-05-01 17:54:24 -0700 | [diff] [blame] | 26 | whole_static_libs: [ |
| 27 | "libselinux", |
| 28 | ], |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | cc_test { |
| 32 | name: "libpdx_uds_tests", |
| 33 | clang: true, |
| 34 | cflags: [ |
| 35 | "-Wall", |
| 36 | "-Wextra", |
| 37 | "-Werror", |
| 38 | ], |
| 39 | srcs: [ |
| Alex Vakulenko | fd22b3e | 2017-04-18 14:41:33 -0700 | [diff] [blame] | 40 | "client_channel_tests.cpp", |
| Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 41 | "ipc_helper_tests.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 42 | "remote_method_tests.cpp", |
| 43 | "service_framework_tests.cpp", |
| 44 | ], |
| 45 | static_libs: [ |
| Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 46 | "libgmock", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 47 | "libpdx_uds", |
| 48 | "libpdx", |
| 49 | ], |
| 50 | shared_libs: [ |
| Alex Vakulenko | f0a7bd0 | 2017-03-31 18:06:19 -0700 | [diff] [blame] | 51 | "libbase", |
| 52 | "libcutils", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 53 | "liblog", |
| 54 | "libutils", |
| 55 | ], |
| 56 | } |