Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67020d23 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Link libgtest_main before libgtest"

parents 0d97557d 3a0a8918
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ LOCAL_LDLIBS_darwin += -lpthread
LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
LOCAL_C_INCLUDES +=  external/gtest/include

LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
LOCAL_STATIC_LIBRARIES += libgtest_main_host libgtest_host
+2 −2
Original line number Diff line number Diff line
@@ -7,9 +7,9 @@ LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING
LOCAL_C_INCLUDES += external/gtest/include

ifndef LOCAL_SDK_VERSION
LOCAL_STATIC_LIBRARIES += libgtest libgtest_main
LOCAL_STATIC_LIBRARIES += libgtest_main libgtest
else
LOCAL_STATIC_LIBRARIES += libgtest_ndk libgtest_main_ndk
LOCAL_STATIC_LIBRARIES += libgtest_main_ndk libgtest_ndk
endif

ifdef LOCAL_MODULE_PATH