Bob Badour | 3306e49 | 2021-02-25 15:35:37 -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 | default_applicable_licenses: ["frameworks_native_license"], |
| 8 | } |
| 9 | |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "libpdx_uds", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 12 | cflags: [ |
| 13 | "-Wall", |
| 14 | "-Wextra", |
| 15 | "-Werror", |
Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 16 | "-DLOG_TAG=\"libpdx_uds\"", |
| 17 | "-DTRACE=0", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 18 | ], |
| 19 | export_include_dirs: ["private"], |
| 20 | local_include_dirs: ["private"], |
| 21 | srcs: [ |
Corey Tabaka | 6890d95 | 2017-01-19 15:02:59 -0800 | [diff] [blame] | 22 | "channel_event_set.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 23 | "channel_manager.cpp", |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 24 | "channel_parcelable.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 25 | "client_channel_factory.cpp", |
| 26 | "client_channel.cpp", |
| 27 | "ipc_helper.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 28 | "service_endpoint.cpp", |
| 29 | ], |
| 30 | static_libs: [ |
Alex Vakulenko | 409c6ee | 2017-03-23 17:45:40 -0700 | [diff] [blame] | 31 | "libcutils", |
| 32 | "libbase", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 33 | "libpdx", |
| 34 | ], |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 35 | shared_libs: [ |
| 36 | "libbinder", |
Alex Vakulenko | 4a7762a | 2017-05-01 17:54:24 -0700 | [diff] [blame] | 37 | "libselinux", |
| 38 | ], |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | cc_test { |
| 42 | name: "libpdx_uds_tests", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 43 | cflags: [ |
| 44 | "-Wall", |
| 45 | "-Wextra", |
| 46 | "-Werror", |
| 47 | ], |
| 48 | srcs: [ |
Alex Vakulenko | fd22b3e | 2017-04-18 14:41:33 -0700 | [diff] [blame] | 49 | "client_channel_tests.cpp", |
Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 50 | "ipc_helper_tests.cpp", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 51 | "remote_method_tests.cpp", |
| 52 | "service_framework_tests.cpp", |
| 53 | ], |
| 54 | static_libs: [ |
Alex Vakulenko | d618b56 | 2017-04-17 12:02:38 -0700 | [diff] [blame] | 55 | "libgmock", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 56 | "libpdx_uds", |
| 57 | "libpdx", |
| 58 | ], |
| 59 | shared_libs: [ |
Alex Vakulenko | f0a7bd0 | 2017-03-31 18:06:19 -0700 | [diff] [blame] | 60 | "libbase", |
| 61 | "libcutils", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 62 | "liblog", |
| 63 | "libutils", |
Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 64 | "libbinder", |
Peter Collingbourne | 198a39a | 2018-09-13 14:31:02 -0700 | [diff] [blame] | 65 | "libselinux", |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 66 | ], |
| 67 | } |