• Kito Cheng's avatar
    Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a · 9b84824d
    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.
    
    (cherry-pick of 8baa929d.)
    
    Change-Id: Icd0eb0f4ce0511fb9ec00a504d491afd47d744d3
    9b84824d
eventfd_write.cpp 1.53 KB