diff options
-rw-r--r-- | hwc3/Android.mk | 2 | ||||
-rw-r--r-- | libacryl/Android.mk | 2 | ||||
-rw-r--r-- | libhwc2.1/Android.mk | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/hwc3/Android.mk b/hwc3/Android.mk index fd3504b..38f9595 100644 --- a/hwc3/Android.mk +++ b/hwc3/Android.mk @@ -90,7 +90,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open diff --git a/libacryl/Android.mk b/libacryl/Android.mk index 87144e6..43471e3 100644 --- a/libacryl/Android.mk +++ b/libacryl/Android.mk @@ -46,7 +46,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open diff --git a/libhwc2.1/Android.mk b/libhwc2.1/Android.mk index 7be4c57..746bb7a 100644 --- a/libhwc2.1/Android.mk +++ b/libhwc2.1/Android.mk @@ -51,7 +51,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open @@ -162,7 +162,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open @@ -234,7 +234,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open @@ -289,7 +289,7 @@ ifeq ($(CLANG_COVERAGE),true) # enable code coverage (these flags are copied from build/soong/cc/coverage.go) LOCAL_CFLAGS += -fprofile-instr-generate -fcoverage-mapping LOCAL_CFLAGS += -Wno-frame-larger-than= -LOCAL_STATIC_LIBRARIES += libprofile-clang-extras_ndk +LOCAL_WHOLE_STATIC_LIBRARIES += libprofile-clang-extras_ndk LOCAL_LDFLAGS += -fprofile-instr-generate LOCAL_LDFLAGS += -Wl,--wrap,open |