e2fsprogs/lib/e2p/Android.bp
Alex Deymo a95c632b53 AOSP: Convert e2fsprogs targets to soong.
This patch also removes all the "-host" and "_static" suffix from all
the libraries adding "unique_host_soname: true". This prevents
confusions with the host installed libraries.

A new "libext2_misc" library is introduced to export some files from
the misc/ directory to other binaries in this project.

Bug: 34220783
Test: mmma external/e2fsprogs

Change-Id: Ia1b689991346b11f8cb38f7c6ee356e666e01d6d
From AOSP commit: 7a9e1a96766d31a41b88f0a539fcc3d532b5c530

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2017-05-23 23:00:54 -04:00

41 lines
806 B
Plaintext

// Copyright 2017 The Android Open Source Project
cc_library {
name: "libext2_e2p",
host_supported: true,
unique_host_soname: true,
srcs: [
"feature.c",
"fgetflags.c",
"fsetflags.c",
"fgetproject.c",
"fsetproject.c",
"fgetversion.c",
"fsetversion.c",
"getflags.c",
"getversion.c",
"hashstr.c",
"iod.c",
"ls.c",
"mntopts.c",
"parse_num.c",
"pe.c",
"pf.c",
"ps.c",
"setflags.c",
"setversion.c",
"uuid.c",
"ostype.c",
"percent.c",
],
cflags: [
"-W",
"-Wall",
],
header_libs: ["libext2-headers"],
export_include_dirs: ["."],
export_header_lib_headers: ["libext2-headers"],
}