projects
/
platform
/
core
/
api
/
wav-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac8c70e
)
Add gcov environment
53/189453/1
accepted/tizen/unified/20181107.082049
submit/tizen/20181106.060307
author
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 02:55:14 +0000
(11:55 +0900)
committer
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 02:55:27 +0000
(11:55 +0900)
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I815e51bc8c51858ecc581b769685f62320f98621
packaging/capi-media-wav-player.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-media-wav-player.spec
b/packaging/capi-media-wav-player.spec
index
e443d2b
..
d7016ae
100755
(executable)
--- a/
packaging/capi-media-wav-player.spec
+++ b/
packaging/capi-media-wav-player.spec
@@
-28,6
+28,12
@@
Requires: %{name} = %{version}-%{release}
cp %{SOURCE1001} .
%build
+%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"