blob: 27ef78854c311cc0be5102def06de65885a87dfd [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -08001package {
2 default_applicable_licenses: ["frameworks_native_cmds_cmd_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8 name: "frameworks_native_cmds_cmd_license",
9 visibility: [":__subpackages__"],
10 license_kinds: [
11 "SPDX-license-identifier-Apache-2.0",
12 ],
13 license_text: [
14 "NOTICE",
15 ],
16}
17
Alex Buynytskyya39d87a2018-12-12 17:40:52 -080018cc_library_static {
19 name: "libcmd",
20
21 srcs: ["cmd.cpp"],
22 export_include_dirs: ["."],
23
24 shared_libs: [
25 "libutils",
26 "liblog",
27 "libselinux",
28 "libbinder",
29 ],
Tomasz Wasilczyk09f0cc62023-08-22 17:40:55 +000030 whole_static_libs: [
31 "libc++fs",
32 ],
Alex Buynytskyya39d87a2018-12-12 17:40:52 -080033
34 cflags: [
35 "-Wall",
36 "-Werror",
37 "-DXP_UNIX",
38 ],
39}
40
Dan Willemsend9608942018-11-16 16:08:45 -080041cc_binary {
42 name: "cmd",
43
Alex Buynytskyya39d87a2018-12-12 17:40:52 -080044 srcs: ["main.cpp"],
45
46 static_libs: [
47 "libcmd",
48 ],
Dan Willemsend9608942018-11-16 16:08:45 -080049
50 shared_libs: [
51 "libutils",
52 "liblog",
53 "libselinux",
54 "libbinder",
Samiul Islam8cd95232021-08-26 11:41:49 +010055 "packagemanager_aidl-cpp",
Dan Willemsend9608942018-11-16 16:08:45 -080056 ],
57
58 cflags: [
59 "-Wall",
60 "-Werror",
61 "-DXP_UNIX",
62 ],
63}