Tom Marshall | 292bd23 | 2019-01-04 14:37:31 -0800 | [diff] [blame^] | 1 | // |
| 2 | // Copyright (C) 2019 The LineageOS Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | cc_library_shared { |
| 18 | name: "libvolume_manager", |
| 19 | recovery_available: true, |
| 20 | srcs: [ |
| 21 | "Disk.cpp", |
| 22 | "DiskPartition.cpp", |
| 23 | "EmulatedVolume.cpp", |
| 24 | "NetlinkHandler.cpp", |
| 25 | "NetlinkManager.cpp", |
| 26 | "Process.cpp", |
| 27 | "PublicVolume.cpp", |
| 28 | "Utils.cpp", |
| 29 | "VolumeBase.cpp", |
| 30 | "VolumeManager.cpp", |
| 31 | "fs/Exfat.cpp", |
| 32 | "fs/Ext4.cpp", |
| 33 | "fs/F2fs.cpp", |
| 34 | "fs/Ntfs.cpp", |
| 35 | "fs/Vfat.cpp", |
| 36 | ], |
| 37 | cflags: [ |
| 38 | "-Wall", |
| 39 | "-Werror", |
| 40 | ], |
| 41 | include_dirs: [ |
| 42 | "external/gptfdisk", |
| 43 | ], |
| 44 | shared_libs: [ |
| 45 | "libbase", |
| 46 | "libcutils", |
| 47 | "libdiskconfig", |
| 48 | "liblog", |
| 49 | "libselinux", |
| 50 | "libsgdisk", |
| 51 | "libsysutils", |
| 52 | ], |
| 53 | static_libs: [ |
| 54 | "libfs_mgr", |
| 55 | "libfstab", |
| 56 | "libext2_blkid", |
| 57 | "libext2_uuid", |
| 58 | ], |
| 59 | export_include_dirs: ["include"], |
| 60 | } |