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