summaryrefslogtreecommitdiffstats
path: root/otautil/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-04 18:40:55 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-04 18:40:55 +0200
commit0ac03af39e25ab555537d61e72f5150b4781a888 (patch)
tree0f450c94da410e7abfe522793531ce1f26d909bb /otautil/Android.bp
parentMerge "Move menu headers/items to std::vector<std::string>." am: fb86bb2a07 am: 0d9ed29541 (diff)
parentMerge "otautil: Only build the needed files for host build." am: 5818e894df (diff)
downloadandroid_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar.gz
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar.bz2
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar.lz
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar.xz
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.tar.zst
android_bootable_recovery-0ac03af39e25ab555537d61e72f5150b4781a888.zip
Diffstat (limited to 'otautil/Android.bp')
-rw-r--r--otautil/Android.bp17
1 files changed, 10 insertions, 7 deletions
diff --git a/otautil/Android.bp b/otautil/Android.bp
index 45d119cb5..572d8df86 100644
--- a/otautil/Android.bp
+++ b/otautil/Android.bp
@@ -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",
+ ],
},
},
}