blob: 67362dece6dd6419ec60a678ff70af3067bd80e1 [file] [log] [blame]
Dan Willemsen59e086f2016-07-25 17:13:45 -07001cc_defaults {
2 name: "installd_defaults",
3
4 cflags: [
5 "-Wall",
6 "-Werror",
7 ],
8 srcs: [
9 "commands.cpp",
10 "utils.cpp",
11 ],
12 shared_libs: [
13 "libbase",
14 "libcutils",
15 "liblog",
16 "liblogwrap",
17 "libselinux",
18 ],
19
20 clang: true,
21}
22
23//
24// Static library used in testing and executable
25//
26
27cc_library_static {
28 name: "libinstalld",
29 defaults: ["installd_defaults"],
30
31 export_include_dirs: ["."],
32}
33
34//
35// Executable
36//
37
38cc_binary {
39 name: "installd",
40 defaults: ["installd_defaults"],
41 srcs: ["installd.cpp"],
42
43 static_libs: ["libdiskusage"],
44
45 init_rc: ["installd.rc"],
46}
47
48subdirs = ["tests"]