From 9a319f01f8768a1342c3f1c684f04c112a51f45c Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Thu, 4 Jan 2018 13:19:11 -0800 Subject: Merge libmounts into libotautil. Export its header (mounts.h) from there, and drop the dot dot dependency from libupdater / updater. Test: mmma bootable/recovery Test: recovery_component_test Change-Id: Ic26a6b9b78a34dbe1f178b138f3abaafffbec44c --- otautil/Android.bp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'otautil/Android.bp') diff --git a/otautil/Android.bp b/otautil/Android.bp index 958f98b76..45d119cb5 100644 --- a/otautil/Android.bp +++ b/otautil/Android.bp @@ -21,6 +21,7 @@ cc_library_static { "SysUtil.cpp", "DirUtil.cpp", "ThermalUtil.cpp", + "mounts.cpp", "paths.cpp", "rangeset.cpp", ], @@ -39,4 +40,12 @@ cc_library_static { export_include_dirs: [ "include", ], + + target: { + darwin: { + exclude_srcs: [ + "mounts.cpp", + ], + }, + }, } -- cgit v1.2.3