projects
/
platform
/
core
/
api
/
sound-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f2f2f
)
Add gcov environment
58/189458/1
author
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 04:44:09 +0000
(13:44 +0900)
committer
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 04:44:24 +0000
(13:44 +0900)
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I34d80dc365b953f7f5706151fb908f553a3fb68a
packaging/capi-media-sound-manager.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-media-sound-manager.spec
b/packaging/capi-media-sound-manager.spec
index
9430f4c
..
00311e8
100644
(file)
--- a/
packaging/capi-media-sound-manager.spec
+++ b/
packaging/capi-media-sound-manager.spec
@@
-45,6
+45,12
@@
rm include/sound_manager_internal_tv.h
export CFLAGS+=" -DTIZEN_FEATURE_TV_PROD"
%endif
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
+%endif
+
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
%if "%{tizen_profile_name}" != "tv"