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", |
| 29 | "libfec", |
| 30 | "libfec_rs", |
| 31 | "libverity_tree", |
| 32 | "libfs_mgr", |
| 33 | "libgtest_prod", |
| 34 | "liblog", |
| 35 | "libselinux", |
| 36 | "libsparse", |
| 37 | "libsquashfs_utils", |
| 38 | "libbrotli", |
| 39 | "libbz", |
| 40 | "libziparchive", |
| 41 | "libz", |
| 42 | "libbase", |
| 43 | "libcrypto", |
| 44 | "libcrypto_utils", |
| 45 | "libcutils", |
| 46 | "libutils", |
| 47 | "libtune2fs", |
| 48 | |
| 49 | "libext2_com_err", |
| 50 | "libext2_blkid", |
| 51 | "libext2_quota", |
| 52 | "libext2_uuid", |
| 53 | "libext2_e2p", |
| 54 | "libext2fs", |
| 55 | ], |
| 56 | } |
Tao Bao | ef5e38f | 2018-07-24 15:34:39 -0700 | [diff] [blame] | 57 | |
| 58 | cc_library_static { |
| 59 | name: "libupdater", |
| 60 | |
| 61 | defaults: [ |
| 62 | "recovery_defaults", |
| 63 | "libupdater_defaults", |
| 64 | ], |
| 65 | |
| 66 | srcs: [ |
| 67 | "blockimg.cpp", |
| 68 | "commands.cpp", |
| 69 | "install.cpp", |
| 70 | ], |
| 71 | |
| 72 | include_dirs: [ |
| 73 | "external/e2fsprogs/misc", |
| 74 | ], |
| 75 | |
| 76 | export_include_dirs: [ |
| 77 | "include", |
| 78 | ], |
| 79 | } |