Remove unused ccompiler definitions 16/91116/3
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 6 Oct 2016 02:09:33 +0000 (02:09 +0000)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 9 Dec 2016 05:23:33 +0000 (14:23 +0900)
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 <myungjoo.ham@samsung.com>
CMakeLists.txt
packaging/boot-animation.spec

index 3ec6636aa1584043fad761141d621f3f2a036c46..700b5e4b476e7ab8f3eab464fbc8c59c88e8e9ff 100644 (file)
@@ -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
index 5d8ec0546990d3e60b95862e35df2c9ed736a56e..e6f7d53f7d364c07b3f0710e219ef565424d6e02 100644 (file)
@@ -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}