blob: 5e887ba9533a456c88eff81fadbc2bf30f52d12f [file] [log] [blame]
Tom Marshalla08c6f12019-01-04 14:37:31 -08001//
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
17cc_library_static {
18 name: "libvolume_manager",
19 srcs: [
20 "Disk.cpp",
21 "DiskPartition.cpp",
22 "EmulatedVolume.cpp",
23 "NetlinkHandler.cpp",
24 "NetlinkManager.cpp",
25 "Process.cpp",
26 "PublicVolume.cpp",
27 "Utils.cpp",
28 "VolumeBase.cpp",
29 "VolumeManager.cpp",
30 "fs/Exfat.cpp",
31 "fs/Ext4.cpp",
32 "fs/F2fs.cpp",
33 "fs/Ntfs.cpp",
34 "fs/Vfat.cpp",
35 ],
36 cflags: [
37 "-Wall",
38 "-Werror",
39 ],
40 include_dirs: [
41 "external/gptfdisk",
42 ],
43 static_libs: [
44 "libbase",
45 "libfs_mgr",
46 "libdiskconfig",
47 "libselinux",
48 ],
49 whole_static_libs: [
50 "libext2_blkid",
51 "libext2_uuid",
52 "libsysutils",
53 ],
54 export_include_dirs: ["include"],
55}