diff options
author | Aaron Wisner <awisner@google.com> | 2018-08-24 09:59:50 -0500 |
---|---|---|
committer | Aaron Wisner <awisner@google.com> | 2018-08-24 10:53:04 -0500 |
commit | a5ad20aecc699847846c24ccda63ab04e58a64f0 (patch) | |
tree | fe2a935ca2fc17187403d1d9e7de7080baacd4ad /fastboot/fuzzy_fastboot/Android.bp | |
parent | c86b01baa1020716a634f264a6e96d88a5f2ad27 (diff) | |
download | system_core-a5ad20aecc699847846c24ccda63ab04e58a64f0.tar.gz system_core-a5ad20aecc699847846c24ccda63ab04e58a64f0.tar.bz2 system_core-a5ad20aecc699847846c24ccda63ab04e58a64f0.zip |
Fix mac build breakage due to missing usb_osx.cpp in
Android.cpp file for libfastboot2
https://android-review.googlesource.com/c/platform/system/core/+/722153
Test: Build on osx
Change-Id: I6151e37581ac332e4d5cfb5e40feb3ea0e3093df
Diffstat (limited to 'fastboot/fuzzy_fastboot/Android.bp')
-rw-r--r-- | fastboot/fuzzy_fastboot/Android.bp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fastboot/fuzzy_fastboot/Android.bp b/fastboot/fuzzy_fastboot/Android.bp index 9a68ff37a..301534bfb 100644 --- a/fastboot/fuzzy_fastboot/Android.bp +++ b/fastboot/fuzzy_fastboot/Android.bp @@ -28,4 +28,14 @@ cc_test_host { "libsparse", ], + // Static libs (libfastboot2) shared library dependencies are not transitively included + // This is needed to avoid link time errors when building for mac + target: { + darwin: { + host_ldlibs: [ + "-framework CoreFoundation", + "-framework IOKit", + ], + }, + } } |