| Bob Badour | 3c53823 | 2021-02-12 21:26:48 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_native_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | // SPDX-license-identifier-MIT |
| 8 | // SPDX-license-identifier-Unicode-DFS |
| 9 | default_applicable_licenses: ["frameworks_native_license"], |
| 10 | } |
| 11 | |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 12 | cc_library_static { |
| 13 | name: "libpdx_uds", |
| 14 | clang: true, |
| 15 | cflags: [ |
| 16 | "-Wall", |
| 17 | "-Wextra", |
| 18 | "-Werror", |
| Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 19 | "-DLOG_TAG=\"libpdx_uds\"", |
| 20 | "-DTRACE=0", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 21 | ], |
| 22 | export_include_dirs: ["private"], |
| 23 | local_include_dirs: ["private"], |
| 24 | srcs: [ |
| Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 25 | "channel_event_set.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 26 | "channel_manager.cpp", |
| Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 27 | "channel_parcelable.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 28 | "client_channel_factory.cpp", |
| 29 | "client_channel.cpp", |
| 30 | "ipc_helper.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 31 | "service_endpoint.cpp", |
| 32 | ], |
| 33 | static_libs: [ |
| Alex Vakulenko | 409c6ee | 2017-03-23 17:45:40 -0700 | [diff] [blame] | 34 | "libcutils", |
| 35 | "libbase", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 36 | "libpdx", |
| 37 | ], |
| Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 38 | shared_libs: [ |
| 39 | "libbinder", |
| Alex Vakulenko | 4a7762a | 2017-05-01 17:54:24 -0700 | [diff] [blame] | 40 | "libselinux", |
| 41 | ], |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | cc_test { |
| 45 | name: "libpdx_uds_tests", |
| 46 | clang: true, |
| 47 | cflags: [ |
| 48 | "-Wall", |
| 49 | "-Wextra", |
| 50 | "-Werror", |
| 51 | ], |
| 52 | srcs: [ |
| Alex Vakulenko | fd22b3e | 2017-04-18 14:41:33 -0700 | [diff] [blame] | 53 | "client_channel_tests.cpp", |
| Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 54 | "ipc_helper_tests.cpp", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 55 | "remote_method_tests.cpp", |
| 56 | "service_framework_tests.cpp", |
| 57 | ], |
| 58 | static_libs: [ |
| Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 59 | "libgmock", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 60 | "libpdx_uds", |
| 61 | "libpdx", |
| 62 | ], |
| 63 | shared_libs: [ |
| Alex Vakulenko | f0a7bd0 | 2017-03-31 18:06:19 -0700 | [diff] [blame] | 64 | "libbase", |
| 65 | "libcutils", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 66 | "liblog", |
| 67 | "libutils", |
| Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 68 | "libbinder", |
| Peter Collingbourne | 198a39a | 2018-09-13 14:31:02 -0700 | [diff] [blame] | 69 | "libselinux", |
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 70 | ], |
| 71 | } |