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", |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 16 | "channel_parcelable.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 17 | "client_channel_factory.cpp", |
| 18 | "client_channel.cpp", |
| 19 | "ipc_helper.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 20 | "service_endpoint.cpp", |
| 21 | ], |
| 22 | static_libs: [ |
Alex Vakulenko | 409c6ee | 2017-03-23 17:45:40 -0700 | [diff] [blame] | 23 | "libcutils", |
| 24 | "libbase", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 25 | "libpdx", |
| 26 | ], |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 27 | shared_libs: [ |
| 28 | "libbinder", |
Alex Vakulenko | 4a7762a | 2017-05-01 17:54:24 -0700 | [diff] [blame] | 29 | "libselinux", |
| 30 | ], |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | cc_test { |
| 34 | name: "libpdx_uds_tests", |
| 35 | clang: true, |
| 36 | cflags: [ |
| 37 | "-Wall", |
| 38 | "-Wextra", |
| 39 | "-Werror", |
| 40 | ], |
| 41 | srcs: [ |
Alex Vakulenko | fd22b3e | 2017-04-18 14:41:33 -0700 | [diff] [blame] | 42 | "client_channel_tests.cpp", |
Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 43 | "ipc_helper_tests.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 44 | "remote_method_tests.cpp", |
| 45 | "service_framework_tests.cpp", |
| 46 | ], |
| 47 | static_libs: [ |
Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 48 | "libgmock", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 49 | "libpdx_uds", |
| 50 | "libpdx", |
| 51 | ], |
| 52 | shared_libs: [ |
Alex Vakulenko | f0a7bd0 | 2017-03-31 18:06:19 -0700 | [diff] [blame] | 53 | "libbase", |
| 54 | "libcutils", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 55 | "liblog", |
| 56 | "libutils", |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 57 | "libbinder", |
Peter Collingbourne | 198a39a | 2018-09-13 14:31:02 -0700 | [diff] [blame] | 58 | "libselinux", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 59 | ], |
| 60 | } |