Fix unwinding_through_signal_frame test.

I accidentally removed the compilcation of the test implementation file
with special flags needed for the test to work. This change creates the
impl as a library with those flags back.

Bug: 14819262
Change-Id: Ib84fd26a7f4d40a0267d3ed686185b0abc5a3706
This commit is contained in:
Christopher Ferris 2014-05-29 20:00:12 -07:00
parent 941707429d
commit d178c83d45

View File

@ -86,7 +86,6 @@ libBionicStandardTests_src_files := \
signal_test.cpp \
stack_protector_test.cpp \
stack_unwinding_test.cpp \
stack_unwinding_test_impl.c \
stdatomic_test.cpp \
stdint_test.cpp \
stdio_test.cpp \
@ -121,6 +120,9 @@ libBionicStandardTests_cppflags := \
libBionicStandardTests_ldlibs_host := \
-lrt \
libBionicStandardTests_whole_static_libraries := \
libBionicUnwindTest \
module := libBionicStandardTests
module_tag := optional
build_type := target
@ -129,6 +131,25 @@ include $(LOCAL_PATH)/Android.build.mk
build_type := host
include $(LOCAL_PATH)/Android.build.mk
# -----------------------------------------------------------------------------
# Special stack unwinding test library compiled with special flags.
# -----------------------------------------------------------------------------
libBionicUnwindTest_cflags := \
$(test_cflags) \
-fexceptions \
-fnon-call-exceptions \
libBionicUnwindTest_src_files := \
stack_unwinding_test_impl.c \
module := libBionicUnwindTest
module_tag := optional
build_type := target
build_target := STATIC_TEST_LIBRARY
include $(LOCAL_PATH)/Android.build.mk
build_type := host
include $(LOCAL_PATH)/Android.build.mk
# -----------------------------------------------------------------------------
# Fortify tests.
# -----------------------------------------------------------------------------