blob: c77bac8fbfdeeebf465c96f370e544ddc6330efe [file] [log] [blame]
Tao Bao673bb6f2018-08-03 20:56:25 -07001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Tao Baoef5e38f2018-07-24 15:34:39 -070015cc_defaults {
16 name: "libupdater_defaults",
Tao Bao673bb6f2018-08-03 20:56:25 -070017
18 defaults: [
19 "recovery_defaults",
20 ],
21
Tao Bao673bb6f2018-08-03 20:56:25 -070022 static_libs: [
23 "libapplypatch",
24 "libbootloader_message",
25 "libbspatch",
26 "libedify",
27 "libotafault",
28 "libotautil",
29 "libext4_utils",
30 "libfec",
31 "libfec_rs",
32 "libverity_tree",
33 "libfs_mgr",
34 "libgtest_prod",
35 "liblog",
36 "libselinux",
37 "libsparse",
38 "libsquashfs_utils",
39 "libbrotli",
40 "libbz",
41 "libziparchive",
42 "libz",
43 "libbase",
44 "libcrypto",
45 "libcrypto_utils",
46 "libcutils",
47 "libutils",
48 "libtune2fs",
49
50 "libext2_com_err",
51 "libext2_blkid",
52 "libext2_quota",
53 "libext2_uuid",
54 "libext2_e2p",
55 "libext2fs",
56 ],
57}
Tao Baoef5e38f2018-07-24 15:34:39 -070058
59cc_library_static {
60 name: "libupdater",
61
62 defaults: [
63 "recovery_defaults",
64 "libupdater_defaults",
65 ],
66
67 srcs: [
68 "blockimg.cpp",
69 "commands.cpp",
70 "install.cpp",
71 ],
72
73 include_dirs: [
74 "external/e2fsprogs/misc",
75 ],
76
77 export_include_dirs: [
78 "include",
79 ],
80}