Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 1 | // 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 Bao | ef5e38f | 2018-07-24 15:34:39 -0700 | [diff] [blame] | 15 | cc_defaults { |
| 16 | name: "libupdater_defaults", |
Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 17 | |
| 18 | defaults: [ |
| 19 | "recovery_defaults", |
| 20 | ], |
| 21 | |
Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 22 | static_libs: [ |
| 23 | "libapplypatch", |
| 24 | "libbootloader_message", |
| 25 | "libbspatch", |
| 26 | "libedify", |
Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 27 | "libotautil", |
| 28 | "libext4_utils", |
Yifan Hong | 8ff84d7 | 2018-12-19 16:21:55 -0800 | [diff] [blame] | 29 | "libdm", |
Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 30 | "libfec", |
| 31 | "libfec_rs", |
| 32 | "libverity_tree", |
| 33 | "libfs_mgr", |
| 34 | "libgtest_prod", |
| 35 | "liblog", |
Yifan Hong | 8ff84d7 | 2018-12-19 16:21:55 -0800 | [diff] [blame] | 36 | "liblp", |
Tao Bao | 673bb6f | 2018-08-03 20:56:25 -0700 | [diff] [blame] | 37 | "libselinux", |
| 38 | "libsparse", |
| 39 | "libsquashfs_utils", |
| 40 | "libbrotli", |
| 41 | "libbz", |
| 42 | "libziparchive", |
| 43 | "libz", |
| 44 | "libbase", |
| 45 | "libcrypto", |
| 46 | "libcrypto_utils", |
| 47 | "libcutils", |
| 48 | "libutils", |
| 49 | "libtune2fs", |
| 50 | |
| 51 | "libext2_com_err", |
| 52 | "libext2_blkid", |
| 53 | "libext2_quota", |
| 54 | "libext2_uuid", |
| 55 | "libext2_e2p", |
| 56 | "libext2fs", |
| 57 | ], |
| 58 | } |
Tao Bao | ef5e38f | 2018-07-24 15:34:39 -0700 | [diff] [blame] | 59 | |
| 60 | cc_library_static { |
| 61 | name: "libupdater", |
| 62 | |
| 63 | defaults: [ |
| 64 | "recovery_defaults", |
| 65 | "libupdater_defaults", |
| 66 | ], |
| 67 | |
| 68 | srcs: [ |
| 69 | "blockimg.cpp", |
| 70 | "commands.cpp", |
Yifan Hong | 8ff84d7 | 2018-12-19 16:21:55 -0800 | [diff] [blame] | 71 | "dynamic_partitions.cpp", |
Tao Bao | ef5e38f | 2018-07-24 15:34:39 -0700 | [diff] [blame] | 72 | "install.cpp", |
Tianjie Xu | 58d5912 | 2019-05-03 01:05:04 -0700 | [diff] [blame^] | 73 | "updater.cpp", |
Tao Bao | ef5e38f | 2018-07-24 15:34:39 -0700 | [diff] [blame] | 74 | ], |
| 75 | |
| 76 | include_dirs: [ |
| 77 | "external/e2fsprogs/misc", |
| 78 | ], |
| 79 | |
| 80 | export_include_dirs: [ |
| 81 | "include", |
| 82 | ], |
| 83 | } |