upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
36
android/system/core/libdiskconfig/Android.bp
Normal file
36
android/system/core/libdiskconfig/Android.bp
Normal file
|
@ -0,0 +1,36 @@
|
|||
cc_library {
|
||||
name: "libdiskconfig",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
srcs: [
|
||||
"diskconfig.c",
|
||||
"diskutils.c",
|
||||
"write_lst.c",
|
||||
"config_mbr.c",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
],
|
||||
cflags: ["-Werror"],
|
||||
export_include_dirs: ["include"],
|
||||
local_include_dirs: ["include"],
|
||||
|
||||
target: {
|
||||
darwin: {
|
||||
enabled: false,
|
||||
},
|
||||
linux: {
|
||||
cflags: [
|
||||
"-O2",
|
||||
"-g",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-D_LARGEFILE64_SOURCE",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue