[Tizen-submit] 16290: Changes to Tizen:Mobile/libheap-monitor

noreply at tizen.org noreply at tizen.org
Tue Oct 22 03:59:03 GMT 2013


Hi,
Sung-jae Park have made the following changes to libheap-monitor in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16290

  submit:       Tizen:Mobile:build/libheap-monitor(cleanup) -> Tizen:Mobile


Message:
Submitter: Sung-jae Park <nicesj.park at samsung.com>
Comments: Sync with the latest 2.2
Git project: platform/framework/web/heap-monitor
Tag: submit/tizen/20131022.035955
Commit: d41e35de4036c319289f2dc34262ab7f37ccfbfd Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/apps/livebox/heap-monitor into work

State:   new        2013-10-22T04:00:11 tizenrobot
Comment: <no comment>
old:
----
  libheap-monitor-0.0.12.tar.gz

new:
----
  libheap-monitor-0.0.17.tar.gz

spec files:
-----------
--- libheap-monitor.spec
+++ libheap-monitor.spec
@@ -1,14 +1,13 @@
 Name: libheap-monitor
 Summary: Library for monitoring the heap usage
-Version: 0.0.12
+Version: 0.0.17
 Release: 1
-VCS:     platform/framework/web/heap-monitor#accepted/tizen/20130912.100858-0-g64ce0de529c87a9e83bfefc586e877ee43a7442f
+VCS:     platform/framework/web/heap-monitor#submit/tizen/20131022.035955-0-gd41e35de4036c319289f2dc34262ab7f37ccfbfd
 Group: HomeTF/Livebox
 License: Flora License
 Source0: %{name}-%{version}.tar.gz
 Source1001: 	libheap-monitor.manifest
 BuildRequires: cmake, gettext-tools, coreutils
-BuildRequires: pkgconfig(dlog)
 
 %description
 Monitoring the heap usage to manage them safely.
@@ -26,8 +25,13 @@
 cp %{SOURCE1001} .
 
 %build
-%cmake .
-CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -fno-builtin-malloc" make %{?jobs:-j%jobs}
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
+export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
+%endif
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -Werror -Winline -fno-builtin-malloc" make %{?jobs:-j%jobs}
 
 %install
 %make_install

other changes:
--------------

++++++ libheap-monitor-0.0.12.tar.gz -> libheap-monitor-0.0.17.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -13,32 +13,25 @@
 
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
 
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED
-	dlog
-)
-
-FOREACH(flag ${pkgs_CFLAGS})
-	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall -fno-builtin-malloc -O3 -g")
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+SET(EXTRA_CFLAGS "-fvisibility=hidden -Wall -fno-builtin-malloc -O3 -g")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wno-error=deprecated-declarations")
 
 ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
 ADD_DEFINITIONS("-DNDEBUG")
+ADD_DEFINITIONS("-DFLOG")
 ADD_DEFINITIONS("-DLOG_TAG=\"HEAP_MONITOR\"")
 ADD_DEFINITIONS("-D_THREAD_SAFETY")
+ADD_DEFINITIONS("-D_ESTIMATE_PERFORMANCE")
 
 ADD_LIBRARY(${PROJECT_NAME} SHARED
-	src/heap-monitor.c
+	src/allocator.c
 	src/dlist.c
+	src/heap-monitor.c
 )
 
 SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${VERSION_MAJOR})

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list