Bob Badour | 3c53823 | 2021-02-12 21:26:48 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["frameworks_native_cmds_service_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change |
| 6 | // See: http://go/android-license-faq |
| 7 | license { |
| 8 | name: "frameworks_native_cmds_service_license", |
| 9 | visibility: [":__subpackages__"], |
| 10 | license_kinds: [ |
| 11 | "SPDX-license-identifier-Apache-2.0", |
| 12 | ], |
| 13 | license_text: [ |
| 14 | "NOTICE", |
| 15 | ], |
| 16 | } |
| 17 | |
Dan Willemsen | e05dc6d | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 18 | cc_binary { |
| 19 | name: "service", |
| 20 | |
| 21 | srcs: ["service.cpp"], |
| 22 | |
| 23 | shared_libs: [ |
Marco Nelissen | b9ec70e | 2018-06-07 11:31:03 -0700 | [diff] [blame] | 24 | "libcutils", |
Dan Willemsen | e05dc6d | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 25 | "libutils", |
| 26 | "libbinder", |
| 27 | ], |
| 28 | |
Chih-Hung Hsieh | 734e378 | 2017-10-05 13:44:13 -0700 | [diff] [blame] | 29 | cflags: [ |
Chih-Hung Hsieh | 734e378 | 2017-10-05 13:44:13 -0700 | [diff] [blame] | 30 | "-Wall", |
| 31 | "-Werror", |
| 32 | ], |
Martijn Coenen | 3def1f2 | 2017-04-07 10:46:57 -0700 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | cc_binary { |
| 36 | name: "vndservice", |
| 37 | |
| 38 | proprietary: true, |
| 39 | srcs: ["service.cpp"], |
| 40 | |
| 41 | shared_libs: [ |
Marco Nelissen | b9ec70e | 2018-06-07 11:31:03 -0700 | [diff] [blame] | 42 | "libcutils", |
Martijn Coenen | 3def1f2 | 2017-04-07 10:46:57 -0700 | [diff] [blame] | 43 | "libutils", |
| 44 | "libbinder", |
| 45 | ], |
| 46 | |
Chih-Hung Hsieh | 734e378 | 2017-10-05 13:44:13 -0700 | [diff] [blame] | 47 | cflags: [ |
Chih-Hung Hsieh | 734e378 | 2017-10-05 13:44:13 -0700 | [diff] [blame] | 48 | "-DVENDORSERVICES", |
| 49 | "-Wall", |
| 50 | "-Werror", |
| 51 | ], |
Dan Willemsen | e05dc6d | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 52 | } |
Yifan Hong | 86cf053 | 2021-06-16 22:56:50 -0700 | [diff] [blame] | 53 | |
| 54 | cc_binary_host { |
| 55 | name: "aservice", |
| 56 | |
| 57 | srcs: ["service.cpp"], |
| 58 | |
| 59 | shared_libs: [ |
| 60 | "libcutils", |
| 61 | "libutils", |
| 62 | "libbinder", |
| 63 | ], |
| 64 | |
| 65 | cflags: [ |
Yifan Hong | 86cf053 | 2021-06-16 22:56:50 -0700 | [diff] [blame] | 66 | "-Wall", |
| 67 | "-Werror", |
| 68 | ], |
| 69 | } |