• Kito Cheng's avatar
    Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a · 8baa929d
    Kito Cheng authored
     - eventfd.cpp and eventfd.s will output to the same file when building libc.a
       out/target/product/*/obj/STATIC_LIBRARIES/libc_intermediates/WHOLE/libc_common_objs/eventfd.o
     - And then `eventfd` will undefined when statically linked to libc.
    
    Also add a unit test.
    
    Change-Id: Ib310ade3256712ca617a90539e8eb07459c98505
    8baa929d
Android.mk 27.1 KB