blob: 221ce72a0052ad6480d3741617355f1358de4d9a [file] [log] [blame]
xunchang24788852019-03-22 16:08:52 -07001// Copyright (C) 2019 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
15cc_defaults {
16 name: "libinstall_defaults",
17
18 defaults: [
19 "recovery_defaults",
20 ],
21
22 shared_libs: [
23 "libbase",
24 "libbootloader_message",
25 "libcrypto",
26 "libext4_utils",
27 "libfs_mgr",
28 "libfusesideload",
29 "libhidl-gen-utils",
30 "libhidlbase",
31 "libhidltransport",
32 "liblog",
33 "libselinux",
34 "libtinyxml2",
35 "libutils",
36 "libz",
37 "libziparchive",
38 ],
39
40 static_libs: [
41 "libotautil",
42
43 // external dependencies
44 "libvintf_recovery",
45 "libvintf",
46 "libfstab",
47 ],
48}
49
Tao Bao2f8afba2019-04-08 11:26:11 -070050cc_library_static {
xunchang24788852019-03-22 16:08:52 -070051 name: "libinstall",
52 recovery_available: true,
53
54 defaults: [
55 "libinstall_defaults",
56 ],
57
58 srcs: [
59 "adb_install.cpp",
60 "asn1_decoder.cpp",
61 "fuse_sdcard_install.cpp",
62 "install.cpp",
63 "package.cpp",
64 "verifier.cpp",
65 ],
66
67 shared_libs: [
68 "librecovery_ui",
69 ],
70
71 export_include_dirs: [
72 "include",
73 ],
74
75 export_shared_lib_headers: [
76 "librecovery_ui",
77 ],
78}