projects
/
platform
/
core
/
api
/
video-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f040e
)
Add gcov environment
49/189349/1
author
SeokHoon Lee
<andy.shlee@samsung.com>
Mon, 17 Sep 2018 06:58:37 +0000
(15:58 +0900)
committer
SeokHoon Lee
<andy.shlee@samsung.com>
Mon, 17 Sep 2018 06:58:55 +0000
(15:58 +0900)
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Iebf3d0b004651029bc620f7fff8cabb71bde53e7
packaging/capi-media-video-util.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-media-video-util.spec
b/packaging/capi-media-video-util.spec
index
f22bc85
..
b192626
100755
(executable)
--- a/
packaging/capi-media-video-util.spec
+++ b/
packaging/capi-media-video-util.spec
@@
-36,6
+36,13
@@
A Video Utility library in Tizen Native API (Developement)
cp %{SOURCE1001} .
%build
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
+export FFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
+%endif
+
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}