diff options
author | Tianjie Xu <xunchang@google.com> | 2018-02-17 21:58:54 -0800 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2018-02-17 22:06:31 -0800 |
commit | 7a4dacf7245c484f4b602f02ccd470f04535dc62 (patch) | |
tree | 3a7a4bca7db8f84e28a6418ccbf1f5995072084a /applypatch | |
parent | 31bcd7c002c0b556790e7fa0db39297f1624e7e1 (diff) | |
download | android_bootable_recovery-7a4dacf7245c484f4b602f02ccd470f04535dc62.tar.gz android_bootable_recovery-7a4dacf7245c484f4b602f02ccd470f04535dc62.tar.bz2 android_bootable_recovery-7a4dacf7245c484f4b602f02ccd470f04535dc62.zip |
Disable building libapplypatch on mac
The sdk_mac on build server fails with the error:
bootable/recovery/applypatch/freecache.cpp:23:10: fatal error: 'sys/statfs.h' file not found
So we will disable libapplypatch on mac.
Test: the library still builds on linux; and check the other host targets in the same cl.
Change-Id: Ie4a30708726e51c810f7ad7f1085d38154076cca
Diffstat (limited to 'applypatch')
-rw-r--r-- | applypatch/Android.bp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applypatch/Android.bp b/applypatch/Android.bp index d3efa152..cb0b3674 100644 --- a/applypatch/Android.bp +++ b/applypatch/Android.bp @@ -57,6 +57,12 @@ cc_library_static { "libotautil", "libz", ], + + target: { + darwin: { + enabled: false, + }, + }, } cc_library_static { |