projects
/
platform
/
core
/
api
/
audio-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5126001
)
Add gcov environment
46/189446/2
author
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 01:28:58 +0000
(10:28 +0900)
committer
SeokHoon Lee
<andy.shlee@samsung.com>
Tue, 18 Sep 2018 01:35:43 +0000
(10:35 +0900)
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I0c6d7329d49a8af7cd8a6c77840b2623e6f47fdd
packaging/capi-media-audio-io.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-media-audio-io.spec
b/packaging/capi-media-audio-io.spec
index 2cac7c8368b116aa27573429c2be38a7041d0bff..28484c719b824929a2feb7584c4cf177e47f2641 100644
(file)
--- a/
packaging/capi-media-audio-io.spec
+++ b/
packaging/capi-media-audio-io.spec
@@
-41,6
+41,12
@@
An Audio Input & Audio Output library in Tizen Native API (Tool)
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"