blob: 21ac11b4cfe9523c0efcd636fc27cc7a59ee35b7 [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -08001package {
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
7license {
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 Willemsene05dc6d2016-07-25 17:13:45 -070018cc_binary {
19 name: "service",
20
21 srcs: ["service.cpp"],
22
23 shared_libs: [
Marco Nelissenb9ec70e2018-06-07 11:31:03 -070024 "libcutils",
Dan Willemsene05dc6d2016-07-25 17:13:45 -070025 "libutils",
26 "libbinder",
27 ],
28
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -070029 cflags: [
30 "-DXP_UNIX",
31 "-Wall",
32 "-Werror",
33 ],
Martijn Coenen3def1f22017-04-07 10:46:57 -070034}
35
36cc_binary {
37 name: "vndservice",
38
39 proprietary: true,
40 srcs: ["service.cpp"],
41
42 shared_libs: [
Marco Nelissenb9ec70e2018-06-07 11:31:03 -070043 "libcutils",
Martijn Coenen3def1f22017-04-07 10:46:57 -070044 "libutils",
45 "libbinder",
46 ],
47
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -070048 cflags: [
49 "-DXP_UNIX",
50 "-DVENDORSERVICES",
51 "-Wall",
52 "-Werror",
53 ],
Dan Willemsene05dc6d2016-07-25 17:13:45 -070054}
Yifan Hong86cf0532021-06-16 22:56:50 -070055
56cc_binary_host {
57 name: "aservice",
58
59 srcs: ["service.cpp"],
60
61 shared_libs: [
62 "libcutils",
63 "libutils",
64 "libbinder",
65 ],
66
67 cflags: [
68 "-DXP_UNIX",
69 "-Wall",
70 "-Werror",
71 ],
72}