From: MyungJoo Ham Date: Thu, 6 Oct 2016 02:09:33 +0000 (+0000) Subject: Remove unused ccompiler definitions X-Git-Tag: submit/tizen/20170124.103319~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=993ca33276b834348ef10f35921b5408284c42f4;p=apps%2Fnative%2Fboot-animation.git Remove unused ccompiler definitions To promote configurability and increase build performance, we are unifying build projects, which requires to remove the usage of macro "profile" and "repository". Before completely remocing profile from this package, unused compiler definition that uses profile macro is removed. Note This targets Tizen 4.0 (tizen branch) Change-Id: I4c2782f18d61514afdcaecd56ca89d34508e4c71 Signed-off-by: MyungJoo Ham --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ec6636..700b5e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,6 @@ ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS}) TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS}) -#IF("${TIZEN_PROFILE_NAME}" STREQUAL "mobile") ADD_CUSTOM_COMMAND(OUTPUT 360x360_PowerOn.edj COMMAND edje_cc -id ${CMAKE_SOURCE_DIR}/data/image/ ${CMAKE_SOURCE_DIR}/data/edje/360x360/360x360_PowerOn.edc ${CMAKE_BINARY_DIR}/360x360_PowerOn.edj diff --git a/packaging/boot-animation.spec b/packaging/boot-animation.spec index 5d8ec05..e6f7d53 100644 --- a/packaging/boot-animation.spec +++ b/packaging/boot-animation.spec @@ -46,7 +46,7 @@ Shows an animation and plays a sound when the device is booted or shutdown. %define ARCH emulator %endif -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DUSE_MICRO_ANI=%{micro_ani} -DARCH=%{ARCH} -DTIZEN_PROFILE_NAME=%{profile} +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DUSE_MICRO_ANI=%{micro_ani} -DARCH=%{ARCH} make %{?jobs:-j%jobs}