Kito Cheng 9b84824dfd Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a
- 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 8baa929d5d3bcf63381cf78ba76168c80c303f5e.)

Change-Id: Icd0eb0f4ce0511fb9ec00a504d491afd47d744d3
2013-04-03 11:14:20 -07:00
..
2012-08-01 17:53:07 -07:00
2012-08-10 12:23:58 -07:00
2013-01-11 16:44:15 -08:00
2012-08-02 16:07:26 -07:00
2013-02-26 13:27:15 -08:00
2013-01-29 17:49:12 -08:00
2012-08-02 18:03:54 -07:00
2009-03-03 19:28:35 -08:00
2013-01-23 16:49:47 -08:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2013-01-16 09:40:25 -08:00
2012-09-11 22:47:31 +03:00
2009-03-03 19:28:35 -08:00
2012-08-02 18:03:54 -07:00
2009-03-03 19:28:35 -08:00
2010-10-13 15:46:55 +02:00