Merge "otautil: Only build the needed files for host build." am: 5818e894df

am: d7d087f31c

Change-Id: I2fe3c3b0a718482114bcb744211ed6b9fa1d0904
This commit is contained in:
Tao Bao
2018-05-04 09:36:27 -07:00
committed by android-build-merger

View File

@@ -17,17 +17,13 @@ cc_library_static {
host_supported: true,
// Minimal set of files to support host build.
srcs: [
"SysUtil.cpp",
"DirUtil.cpp",
"ThermalUtil.cpp",
"mounts.cpp",
"paths.cpp",
"rangeset.cpp",
],
static_libs: [
"libselinux",
"libbase",
],
@@ -42,10 +38,17 @@ cc_library_static {
],
target: {
darwin: {
exclude_srcs: [
android: {
srcs: [
"DirUtil.cpp",
"SysUtil.cpp",
"ThermalUtil.cpp",
"mounts.cpp",
],
static_libs: [
"libselinux",
],
},
},
}