%defattr(-,root,root,-)
%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
%if "%{?profile}" == "mobile"
-%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/usb.edj
+%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/usb-popup.edj
%endif
%{TZ_SYS_RO_SHARE}/packages/org.tizen.system-syspopup.xml
%endif
ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DSYSTEM_RES=\"${SYSTEM_RES}\"")
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
- ADD_DEFINITIONS("-DSYSTEM_RES=\"${SYSTEM_RES}\"")
- ADD_DEFINITIONS("-DELM_USB_EDC=\"${SYSTEM_RES}/usb.edj\"")
+ ADD_DEFINITIONS("-DELM_USB_EDC=\"${SYSTEM_RES}/usb-popup.edj\"")
ENDIF()
ENDIF(USB_POPUP STREQUAL on)
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
- ADD_CUSTOM_TARGET(usb.edj
- COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/usb.edc ${CMAKE_BINARY_DIR}/usb.edj
- DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/usb.edc
- COMMENT "making usb edj file"
+ ADD_CUSTOM_TARGET(usb-popup.edj
+ COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/usb-popup.edc ${CMAKE_BINARY_DIR}/usb-popup.edj
+ DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/usb-popup.edc
+ COMMENT "making usb popup edj file"
)
- ADD_DEPENDENCIES(${PACKAGE} usb.edj)
- INSTALL(FILES ${CMAKE_BINARY_DIR}/usb.edj DESTINATION ${SYSTEM_RES})
+ ADD_DEPENDENCIES(${PACKAGE} usb-popup.edj)
+ INSTALL(FILES ${CMAKE_BINARY_DIR}/usb-popup.edj DESTINATION ${SYSTEM_RES})
ENDIF()
ENDIF(USB_POPUP STREQUAL on)