Merge "otautil: Only build the needed files for host build."
This commit is contained in:
+10
-7
@@ -17,17 +17,13 @@ cc_library_static {
|
|||||||
|
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
|
|
||||||
|
// Minimal set of files to support host build.
|
||||||
srcs: [
|
srcs: [
|
||||||
"SysUtil.cpp",
|
|
||||||
"DirUtil.cpp",
|
|
||||||
"ThermalUtil.cpp",
|
|
||||||
"mounts.cpp",
|
|
||||||
"paths.cpp",
|
"paths.cpp",
|
||||||
"rangeset.cpp",
|
"rangeset.cpp",
|
||||||
],
|
],
|
||||||
|
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libselinux",
|
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -42,10 +38,17 @@ cc_library_static {
|
|||||||
],
|
],
|
||||||
|
|
||||||
target: {
|
target: {
|
||||||
darwin: {
|
android: {
|
||||||
exclude_srcs: [
|
srcs: [
|
||||||
|
"DirUtil.cpp",
|
||||||
|
"SysUtil.cpp",
|
||||||
|
"ThermalUtil.cpp",
|
||||||
"mounts.cpp",
|
"mounts.cpp",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
static_libs: [
|
||||||
|
"libselinux",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user