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", |
| 8 | ], |
| 9 | export_include_dirs: ["private"], |
| 10 | local_include_dirs: ["private"], |
| 11 | srcs: [ |
| 12 | "channel_manager.cpp", |
| 13 | "client_channel_factory.cpp", |
| 14 | "client_channel.cpp", |
| 15 | "ipc_helper.cpp", |
| 16 | "service_dispatcher.cpp", |
| 17 | "service_endpoint.cpp", |
| 18 | ], |
| 19 | static_libs: [ |
| 20 | "libpdx", |
| 21 | ], |
| 22 | } |
| 23 | |
| 24 | cc_test { |
| 25 | name: "libpdx_uds_tests", |
| 26 | clang: true, |
| 27 | cflags: [ |
| 28 | "-Wall", |
| 29 | "-Wextra", |
| 30 | "-Werror", |
| 31 | ], |
| 32 | srcs: [ |
| 33 | "remote_method_tests.cpp", |
| 34 | "service_framework_tests.cpp", |
| 35 | ], |
| 36 | static_libs: [ |
| 37 | "libpdx_uds", |
| 38 | "libpdx", |
| 39 | ], |
| 40 | shared_libs: [ |
| 41 | "liblog", |
| 42 | "libutils", |
| 43 | ], |
| 44 | } |