@@ -624,10 +624,12 @@ cc_library_static {
624624 " upstream-openbsd/lib/libc/string/wcslcpy.c" ,
625625 " upstream-openbsd/lib/libc/string/wcswidth.c" ,
626626
627- // This file is originally from OpenBSD, and benefits from
628- // being compiled with openbsd-compat.h.
629- // TODO: clean this up instead.
627+ // These files are originally from OpenBSD,
628+ // and benefit from being compiled with openbsd-compat.h.
629+ // TODO: clean them up instead.
630630 " bionic/fts.c" ,
631+ " stdio/vfprintf.cpp" ,
632+ " stdio/vfwprintf.cpp" ,
631633 ],
632634
633635 // Each architecture has optimized versions of some routines,
@@ -686,9 +688,11 @@ cc_library_static {
686688
687689 local_include_dirs : [
688690 " private" ,
689- " upstream-openbsd/android/include" ,
690691 " stdio" ,
691- " upstream-openbsd/lib/libc/include" ,
692+ " upstream-openbsd/android/include/" ,
693+ " upstream-openbsd/lib/libc/gdtoa/" ,
694+ " upstream-openbsd/lib/libc/include/" ,
695+ " upstream-openbsd/lib/libc/stdio/" ,
692696 ],
693697
694698 name : " libc_openbsd" ,
@@ -698,8 +702,6 @@ cc_library_static {
698702 name : " libc_openbsd_large_stack" ,
699703 defaults : [" libc_defaults" ],
700704 srcs : [
701- " stdio/vfprintf.cpp" ,
702- " stdio/vfwprintf.cpp" ,
703705 " upstream-openbsd/lib/libc/string/memmem.c" ,
704706 " upstream-openbsd/lib/libc/string/strstr.c" ,
705707 ],
@@ -710,11 +712,7 @@ cc_library_static {
710712 ],
711713
712714 local_include_dirs : [
713- " private" ,
714715 " upstream-openbsd/android/include/" ,
715- " upstream-openbsd/lib/libc/gdtoa/" ,
716- " upstream-openbsd/lib/libc/include/" ,
717- " upstream-openbsd/lib/libc/stdio/" ,
718716 ],
719717}
720718
0 commit comments