diff options
author | Tao Bao <tbao@google.com> | 2018-05-04 18:36:27 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-04 18:36:27 +0200 |
commit | 17a27aa2e2d981d8a26b3ab22939ca7fcdb37892 (patch) | |
tree | 0f450c94da410e7abfe522793531ce1f26d909bb | |
parent | Merge "Move menu headers/items to std::vector<std::string>." am: fb86bb2a07 (diff) | |
parent | Merge "otautil: Only build the needed files for host build." (diff) | |
download | android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar.gz android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar.bz2 android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar.lz android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar.xz android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.tar.zst android_bootable_recovery-17a27aa2e2d981d8a26b3ab22939ca7fcdb37892.zip |
-rw-r--r-- | otautil/Android.bp | 17 |
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", + ], }, }, } |