From: Chanwoo Choi Date: Mon, 10 Jun 2024 07:11:12 +0000 (+0900) Subject: Remove not-allowed packages on rs_resource_tizeniot and testproject X-Git-Tag: accepted/tizen/unified/20240719.080553~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c67aae377ebfe013dfc08f8590289904026e4e99;p=platform%2Fhal%2Fbackend%2Frootstrap-data-common.git Remove not-allowed packages on rs_resource_tizeniot and testproject Change-Id: Ie83c2fe3078dcd716330a584fd607792930fc0b3 Signed-off-by: Chanwoo Choi --- diff --git a/rs_resource_tizeniot/capi-network-zigbee-rs.xml b/rs_resource_tizeniot/capi-network-zigbee-rs.xml deleted file mode 100644 index ad065c9..0000000 --- a/rs_resource_tizeniot/capi-network-zigbee-rs.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - steve.jun@samsung.com - sareome.kim@samsung.com - - - - - - - - - - /usr/include/network/zigbee.h - /usr/include/network/zigbee-zdo-type.h - /usr/include/network/zigbee-zcl-type.h - /usr/lib/libcapi-network-zigbee.so* - - /usr/include/network - /usr/lib - libcapi-network-zigbee.so - diff --git a/rs_resource_tizeniot/capi-system-peripheral-io-rs.xml b/rs_resource_tizeniot/capi-system-peripheral-io-rs.xml deleted file mode 100644 index ce13a97..0000000 --- a/rs_resource_tizeniot/capi-system-peripheral-io-rs.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - knhoon.baik@samsung.com - kibak.yoon@samsung.com - segwon.han@samsung.com - - - - - - - - - - /usr/include/peripheral_io.h - /usr/lib/libcapi-system-peripheral-io.so* - - /usr/include - /usr/lib - libcapi-system-peripheral-io.so - diff --git a/rs_resource_tizeniot/update-control-rs.xml b/rs_resource_tizeniot/update-control-rs.xml deleted file mode 100644 index 9558941..0000000 --- a/rs_resource_tizeniot/update-control-rs.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - knhoon.baik@samsung.com - sunm.lee@samsung.com - - - - - - - - - - /usr/include/system/update_control.h - /usr/lib/libupdate-control.so* - - /usr/include/system - /usr/lib - libupdate-control.so - diff --git a/testproject/.cproject b/testproject/.cproject deleted file mode 100644 index 94ab615..0000000 --- a/testproject/.cproject +++ /dev/null @@ -1,588 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/testproject/.exportMap b/testproject/.exportMap deleted file mode 100644 index 43e310e..0000000 --- a/testproject/.exportMap +++ /dev/null @@ -1,4 +0,0 @@ -{ - global: main; - local: *; -}; diff --git a/testproject/.project b/testproject/.project deleted file mode 100644 index ee634c8..0000000 --- a/testproject/.project +++ /dev/null @@ -1,46 +0,0 @@ - - - BasicUI - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - - - 1473396421140 - - 26 - - org.eclipse.ui.ide.multiFilter - 1.0-projectRelativePath-matches-false-false-*/.tpk - - - - 1473396421145 - - 6 - - org.eclipse.ui.ide.multiFilter - 1.0-name-matches-false-false-project_def.prop - - - - diff --git a/testproject/.tproject b/testproject/.tproject deleted file mode 100644 index 56660b2..0000000 --- a/testproject/.tproject +++ /dev/null @@ -1,12 +0,0 @@ - - - - - mobile-3.0 - - - - - - - diff --git a/testproject/Build/appendix.mk b/testproject/Build/appendix.mk deleted file mode 100644 index 2e06c34..0000000 --- a/testproject/Build/appendix.mk +++ /dev/null @@ -1 +0,0 @@ -# Appendix diff --git a/testproject/Build/basedef.mk b/testproject/Build/basedef.mk deleted file mode 100644 index 64fbf82..0000000 --- a/testproject/Build/basedef.mk +++ /dev/null @@ -1,34 +0,0 @@ -# Add inputs and outputs from these tool invocations to the build variables - - -OS_NAME := $(shell $(UNAME)) - - -#ifeq ($(origin BUILD_CONFIG), undefined) -BUILD_CONFIG ?= Debug -#endif - -#ifeq ($(origin ARCH), undefined) -ARCH ?= i386 -#endif - -#ifeq ($(origin PROJPATH), undefined) -PROJPATH ?= . -#endif - - -#ifeq ($(origin PROJ_PATH), undefined) -PROJ_PATH ?= $(PROJPATH) -#endif - -#ifeq ($(strip $(OUTPUT_DIR)),) -OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG) -#endif - -#ifeq ($(strip $(BUILD_ARCH)),) -BUILD_ARCH ?= $(ARCH) -#endif - -#ifeq ($(strip $(ENVENTOR_PATH)),) -ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor -#endif diff --git a/testproject/Build/build_c.mk b/testproject/Build/build_c.mk deleted file mode 100644 index 81940cd..0000000 --- a/testproject/Build/build_c.mk +++ /dev/null @@ -1,110 +0,0 @@ -# C/C++ build script - - -_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2)) -_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c) -_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp) - - -# parameter : -# $(1) - C/C++ soruce file -# $(2) - output path -# $(3) - .ext -CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(call CONVERT_4MAKE_TO_OUT,$(patsubst %.$(3),%.o,$(1)))) - -CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c) -CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp) - - -# parameter : -# $(1) - encoded one C/C++ soruce file -# $(2) - output path -# $(3) - ext title (C/C++) -# $(4) - ext (c/cpp) -# $(5) - compiler ($(CC)/$(CXX)) -# $(6) - build opt -# $(7) - build opt file -# output : -# $(8) - output files list -define C_BUILD_PROC_RAW -$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4)) : $(call DECODE_4MAKE,$(1)) $(7) - @echo ' Building file: $$<' - @echo ' Invoking: $(3) Compiler' - $$(call MAKEDIRS,$$(@D)) - $(5) -c "$$<" -o "$$@" $(6) @$(7) - @echo ' Finished building: $$<' -$(8) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4)) -endef - - -# parameter : -# $(1) - output paths -# $(2) - src paths -# $(3) - inc paths -# $(4) - inc files -# $(5) - Defs -# $(6) - UnDefs -# $(7) - compiler opt -# $(8) - compiler opt file -# $(9) - ext title (C/C++) -# $(10) - ext (c/cpp) -# $(11) - compiler ($(CC)/$(CXX)) -# output : -# $(12) - OBJS -# return : -# none -define C_PROC_RAW - -_OUTPUT_DIR := $$(strip $(1))# -_SRCS := $(2)# -_INCS := $(3)# -_INC_FILES := $(4)# -_DEFS := $(5)# -_UNDEFS := $(6)# - -_OPT := $(7) -_OPT_FILE := $(8) - -_EXT_TITLE := $(9) -_EXT := $(10) -_COMPILER := $(11) - -#_OUTPUT_FILES := $(12) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) -_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS)) - -ifneq ($$(strip $$(_SRCS)),) - -_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS)) -_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS)) - -_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ - $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) - -ifneq ($$(strip $$(_ALL_SRCS)),) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) - -_CDEFS := $$(CDEFS) -_CDEFS += $$(addprefix -D,$$(_DEFS)) -_CDEFS += $$(addprefix -U,$$(_UNDEFS)) - -_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS)) -_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS)) - -_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES)) -_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES)) - -_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES)) - -_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT) - -$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$(12)))) - -endif # (_(strip _(_ALL_SRCS)),) - -endif # (_(strip _(_SRCS)),) - - -endef diff --git a/testproject/Build/build_edc.mk b/testproject/Build/build_edc.mk deleted file mode 100644 index 6f85fdd..0000000 --- a/testproject/Build/build_edc.mk +++ /dev/null @@ -1,81 +0,0 @@ -# EDC build script - - -FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.edj,$(1)) - -# parameter : -# $(1) - C/C++ soruce file -# $(2) - output path -CONVERT_ESC_EDC_TO_EDJ = $(call CONVERT_4MAKE_TO_OUT,$(call FUNC_EDC2EDJ,$(1),$(2))) - - -# parameter : -# $(1) - encoded one C/C++ soruce file -# $(2) - output path -# $(3) - build opt -# output : -# $(4) - output files list -define EDJ_BUILD_PROC_RAW -$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1)) - @echo ' Building file: $$<' - @echo ' Invoking: EDC Resource Compiler' - $$(call MAKEDIRS,$$(@D)) - $$(EDJE_CC) $(3) "$$<" "$$@" - @echo ' Finished building: $$<' -$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) -endef - - -# parameter : -# $(1) - output paths -# $(2) - src paths -# $(3) - image inc paths -# $(4) - sound inc paths -# $(5) - font inc paths -# output : -# $(6) - OBJS -# return : -# none -define EDJ_PROC_RAW - -_OUTPUT_DIR := $$(strip $(1))# -_SRCS := $(2)# -_IMAGE_DIRS := $(3)# -_SOUND_DIRS := $(4)# -_FONT_DIRS := $(5)# - -ifneq ($$(strip $$(_SRCS)),) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) - -_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS)) -_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS)) - -_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ - $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) - -ifneq ($$(strip $$(_ALL_SRCS)),) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) - -_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images" -_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds" -_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts" - -ifneq ($$(strip $$(_IMAGE_DIRS)),) -_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS)) -endif -ifneq ($$(strip $$(_SOUND_DIRS)),) -_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS)) -endif -ifneq ($$(strip $$(_FONT_DIRS)),) -_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS)) -endif - -$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6)))) - -endif # (_(strip _(_ALL_SRCS)),) - -endif # (_(strip _(_SRCS)),) - -endef diff --git a/testproject/Build/build_po.mk b/testproject/Build/build_po.mk deleted file mode 100644 index d88d71a..0000000 --- a/testproject/Build/build_po.mk +++ /dev/null @@ -1,64 +0,0 @@ -# PO build script - - -_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).mo,$(notdir $(1))) - - -# parameter : -# $(1) - C/C++ soruce file -# $(2) - output path -# $(3) - app name -CONVERT_ESC_PO_TO_MO = $(call CONVERT_4MAKE_TO_OUT,$(call _FUNC_PO2MO,$(1),$(2),$(3))) - - -# parameter : -# $(1) - encoded one C/C++ soruce file -# $(2) - output path -# $(3) - app name -# output : -# $(4) - output files list -define MO_BUILD_PROC_RAW -$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1)) - @echo ' Building file: $$<' - @echo ' Invoking: msgfmt String Formatter' - $$(call MAKEDIRS,$$(@D)) - $$(MSGFMT) -o "$$@" "$$<" - @echo ' Finished building: $$<' -$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) -endef - - -# parameter : -# $(1) - output dir -# $(2) - src paths -# $(3) - app name -# output : -# $(4) - OBJS - -define MO_PROC_RAW - -_OUTPUT_DIR := $(1) -_SRCS := $(2) -_APPNAME := $(3) - -ifneq ($$(strip $$(_SRCS)),) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) - -_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS)) -_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS)) - -_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ - $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) - -ifneq ($$(strip $$(_ALL_SRCS)),) - -_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) - -$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4)))) - -endif # (_(strip _(_ALL_SRCS)),) - -endif # (_(strip _(_SRCS)),) - -endef diff --git a/testproject/Build/flags.mk b/testproject/Build/flags.mk deleted file mode 100644 index 0ee8efb..0000000 --- a/testproject/Build/flags.mk +++ /dev/null @@ -1,16 +0,0 @@ - -DEBUG_OP = -g3 -CPP_DEBUG_OP = - -OPTIMIZATION_OP = -O0 -CPP_OPTIMIZATION_OP = - -COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 - -CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) - -LINK_FLAGS = - -AR_FLAGS = - -EDC_COMPILE_FLAGS = \ No newline at end of file diff --git a/testproject/Build/funcs.mk b/testproject/Build/funcs.mk deleted file mode 100644 index 8297d18..0000000 --- a/testproject/Build/funcs.mk +++ /dev/null @@ -1,50 +0,0 @@ - -BSLASH := \\# -NULL_CHAR := # -SPACE := \ # -COLON := :# -DOTDOT := ..# -SPACE_ESC := &sp;# -COLON_ESC := &co;# -SPACE_OUT := ~sp~# -COLON_OUT := ~co~# -DOTDOT_OUT := ~dtdt~# - -BSLASH2SLASH = $(subst $(BSLASH),/,$(1)) - -REMOVE_TAIL = $(patsubst %/,%,$(1)) - -#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4)) -LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z]) - -#ifneq ($(findstring Windows,$(OS)),) -# ... -#endif - -FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///') -FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') -FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///') - -FIND_FILES_ABS = $(shell $(FIND) $(1)) -FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g') -FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') - -FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g') - -#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') -#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g') -ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1))) -DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1))) -ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1)) -DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1)) - -CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1)))) -CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1)))) -CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1)))) - -PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1))) -define MAKEDIRS0 - @echo ' Building directory: $(1)' - @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1)) -endef -MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0) diff --git a/testproject/Build/makefile b/testproject/Build/makefile deleted file mode 100644 index 9348c50..0000000 --- a/testproject/Build/makefile +++ /dev/null @@ -1,34 +0,0 @@ -# -# Usege : make -f /Build/makefile -C -# - -BUILD_SCRIPT_VERSION := 1.1.0 - -.PHONY : app_version app_build app_clean build_version - - -all : app_build - -clean : app_clean - -version : build_version - -#PROJ_ROOT = . -BUILD_ROOT := $(PROJ_PATH)/Build# - -ifeq ($(MAKE_NAME),mingw32-make) -ifneq ($(SHELL),) -OPTIONS += --eval="SHELL=$(SHELL)" -endif -endif - -app_build : - @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk" - @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) - -app_clean : - @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean - -build_version : - @echo makefile : $(BUILD_SCRIPT_VERSION) - @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version diff --git a/testproject/Build/makefile.mk b/testproject/Build/makefile.mk deleted file mode 100644 index c95b4b4..0000000 --- a/testproject/Build/makefile.mk +++ /dev/null @@ -1,197 +0,0 @@ -# -# Usege : make -f /Build/makefile -C -# - -BUILD_SCRIPT_VERSION := 1.2.3 - -.PHONY : app_version app_clean build_version - - -all : app_build - -clean : app_clean - -version : build_version - - -#PROJ_ROOT := $(call BSLASH2SLASH,$(PROJ_PATH)) -PROJ_ROOT := . -BUILD_ROOT := $(PROJ_ROOT)/Build - -include $(BUILD_ROOT)/basedef.mk - -include $(PROJ_ROOT)/project_def.prop --include $(PROJ_ROOT)/build_def.prop - -include $(BUILD_ROOT)/funcs.mk - --include $(BUILD_ROOT)/tooldef.mk --include $(BUILD_ROOT)/flags.mk --include $(BUILD_ROOT)/platform.mk - - -APPTYPE := $(type) - -OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG) -OBJ_OUTPUT := $(OUTPUT_DIR)/objs - -LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME)) -APPID2 := $(subst $(basename $(APPID)).,,$(APPID)) - -ifeq ($(strip $(APPTYPE)),app) -APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME) -endif -ifeq ($(strip $(APPTYPE)),staticLib) -APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a -endif -ifeq ($(strip $(APPTYPE)),sharedLib) -APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so -endif - -ifneq ($(strip $(PLATFORM_INCS)),) -PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc -endif - -include $(BUILD_ROOT)/build_c.mk - - -ifeq ($(strip $(APPTYPE)),app) -EXT_OP := -fPIE -endif -ifeq ($(strip $(APPTYPE)),staticLib) -EXT_OP := -fPIE -endif -ifeq ($(strip $(APPTYPE)),sharedLib) -EXT_OP := -fPIC -endif - -C_OPT := $(COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) -CPP_OPT := $(CPP_COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) -C_OPT_FILE := $(PLATFORM_INCS_FILE) - -OBJS := # - -# Global C/C++ -ifeq ($(strip $(USER_ROOT)),) -USER_ROOT := $(PROJ_ROOT) -endif -$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS)) -$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))) - -# Individual C/C++ -ifneq ($(strip $(USER_EXT_C_KEYS)),) -$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_INC_FILES),$(USER_EXT_$(var)_DEFS),$(USER_EXT_$(var)_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))) -$(foreach ext,cpp cxx cc c++ C,$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_CPP_INC_FILES),$(USER_EXT_$(var)_CPP_DEFS),$(USER_EXT_$(var)_CPP_UNDEFS),$(C_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS)))) -endif - - -ifneq ($(strip $(USER_LIB_DIRS)),) -_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS)) -_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS)) -LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS)) -endif - -LIBS += $(addprefix -l,$(USER_LIBS)) - -UOBJS += $(USER_OBJS) - -M_OPT = -MMD -MP -MF"$(@:%.o=%.d)" - -DEPS := $(OBJS:.o=.d) - -ifneq ($(strip $(DEPS)),) --include $(PROJ_ROOT)/Build/$(DEPS) -endif - - -ifeq ($(strip $(APPTYPE)),app) -$(APPFILE) : $(OBJS) $(UOBJS) - @echo ' Building target: $@' - @echo ' Invoking: C/C++ Linker' - $(call MAKEDIRS,$(@D)) - $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) $(RS_LIBRARIES) -Xlinker -rpath="/opt/usr/apps/$(APPID)/lib" -Werror-implicit-function-declaration - @echo ' Finished building target: $@' -endif -ifeq ($(strip $(APPTYPE)),staticLib) -$(APPFILE) : $(OBJS) $(UOBJS) - @echo ' Building target: $@' - @echo ' Invoking: Archive utility' - $(call MAKEDIRS,$(@D)) - $(AR) -r $(APPFILE) $(OBJS) $(UOBJS) $(AR_FLAGS) - @echo ' Finished building target: $@' -endif -ifeq ($(strip $(APPTYPE)),sharedLib) -$(APPFILE) : $(OBJS) $(UOBJS) - @echo ' Building target: $@' - @echo ' Invoking: C/C++ Linker' - $(call MAKEDIRS,$(@D)) - $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) $(RS_LIBRARIES) - @echo ' Finished building target: $@' -endif - - -$(OBJ_OUTPUT) : - $(call MAKEDIRS,$@) - -$(OUTPUT_DIR) : - $(call MAKEDIRS,$@) - - -ifneq ($(strip $(PLATFORM_INCS)),) -$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT) - @echo ' Building inc file: $@' -ifneq ($(findstring Windows,$(OS)),) -ifneq ($(findstring 3.82,$(MAKE_VERSION)),) - $(file > $@,$(PLATFORM_INCS)) -else - @echo $(PLATFORM_INCS) > $@ -endif -else - @echo $(PLATFORM_INCS) > $@ -endif -endif - - -include $(BUILD_ROOT)/build_edc.mk - -#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),) -ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor -#endif - -EDJ_FILES := - -# Global EDCs -ifneq ($(strip $(USER_EDCS)),) -$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES)) -endif - -# Individual EDCs -ifneq ($(strip $(USER_EXT_EDC_KEYS)),) -$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES))) -endif - - -include $(BUILD_ROOT)/build_po.mk - -MO_FILES := - -# Global POs -ifneq ($(strip $(USER_POS)),) -$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES)) -endif - - -secondary-outputs : $(EDJ_FILES) $(MO_FILES) - --include appendix.mk - -app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs - @echo ========= done ========= - - -app_clean : - rm -f $(APPFILE) - rm -rf $(OUTPUT_DIR) - -build_version : - @echo makefile.mk : $(BUILD_SCRIPT_VERSION) diff --git a/testproject/Build/platform.mk b/testproject/Build/platform.mk deleted file mode 100644 index 294a38a..0000000 --- a/testproject/Build/platform.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Add inputs and outputs from these tool invocations to the build variables - -SYSROOT = $(SBI_SYSROOT) - -USR_INCS := $(addprefix -I $(SYSROOT),$(PLATFORM_INCS_EX)) - -ifeq ($(strip $(PLATFORM_LIB_PATHS)),) -RS_LIB_PATHS := "$(SYSROOT)/usr/lib" -else -RS_LIB_PATHS := $(addprefix -L$(SYSROOT),$(PLATFORM_LIB_PATHS)) -endif - -RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX)) - -PLATFORM_INCS = $(USR_INCS) -I"$(SDK_PATH)/library" diff --git a/testproject/Build/tooldef.mk b/testproject/Build/tooldef.mk deleted file mode 100644 index fded35b..0000000 --- a/testproject/Build/tooldef.mk +++ /dev/null @@ -1,63 +0,0 @@ -# Add inputs and outputs from these tool invocations to the build variables - -ifneq ($(strip $(SHELL_BIN)),) -SHELL = $(SHELL_BIN) -else -SHELL = sh -endif - -ifneq ($(strip $(MKDIR_BIN)),) -MKDIR = $(MKDIR_BIN) -MKDIR_OP = -p -else -MKDIR = mkdir -MKDIR_OP = -p -endif - -ifneq ($(strip $(UNAME_BIN)),) -UNAME = $(UNAME_BIN) -else -UNAME = uname -endif - -ifneq ($(strip $(M4_BIN)),) -M4 = $(M4_BIN) -else -M4 = m4 -endif - -ifneq ($(strip $(TR_BIN)),) -TR = $(TR_BIN) -else -TR = tr -endif - -ifneq ($(strip $(FIND_BIN)),) -FIND = $(FIND_BIN) -else -FIND = find -endif - -ifneq ($(strip $(SED_BIN)),) -SED = $(SED_BIN) -else -SED = sed -endif - -ifneq ($(strip $(GREP_BIN)),) -GREP = $(GREP_BIN) -else -GREP = grep -endif - -ifneq ($(strip $(EDJE_CC_BIN)),) -EDJE_CC = $(EDJE_CC_BIN) -else -EDJE_CC = edje_cc -endif - -ifneq ($(strip $(MSGFMT_BIN)),) -MSGFMT = $(MSGFMT_BIN) -else -MSGFMT = msgfmt -endif diff --git a/testproject/build_def.prop b/testproject/build_def.prop deleted file mode 100644 index 6bb5e2f..0000000 --- a/testproject/build_def.prop +++ /dev/null @@ -1,6 +0,0 @@ - -# Add pre/post build process -PREBUILD_DESC = -PREBUILD_COMMAND = -POSTBUILD_DESC = -POSTBUILD_COMMAND = diff --git a/testproject/inc/basicui.h b/testproject/inc/basicui.h deleted file mode 100644 index e8de606..0000000 --- a/testproject/inc/basicui.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __basicui_H__ -#define __basicui_H__ - -#include -#include -#include -#include -#include - -#ifdef LOG_TAG -#undef LOG_TAG -#endif -#define LOG_TAG "basicui" - -#if !defined(PACKAGE) -#define PACKAGE "org.example.basicui" -#endif - -#endif /* __basicui_H__ */ diff --git a/testproject/project_def.prop b/testproject/project_def.prop deleted file mode 100644 index f721a9f..0000000 --- a/testproject/project_def.prop +++ /dev/null @@ -1,58 +0,0 @@ - -# Project Name -APPNAME = basicui - -# Project Type -type = app - -# Project Profile -profile = mobile-3.0 - -# C/CPP Sources -USER_SRCS = src/basicui.c - -# EDC Sources -USER_EDCS = - -# PO Sources -USER_POS = - -# User Defines -USER_DEFS = -USER_CPP_DEFS = - -# User Undefines -USER_UNDEFS = -USER_CPP_UNDEFS = - -# User Libraries -USER_LIBS = - -# User Objects -USER_OBJS = - -# User Includes -## C Compiler -USER_C_INC_DIRS = inc -USER_INC_FILES = -## C++ Compiler -USER_CPP_INC_DIRS = -USER_CPP_INC_FILES = - -USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS) - -# User Library Path -USER_LIB_DIRS = lib - -# EDC Resource Path -USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} -USER_EDCS_SOUND_DIRS = ${OUTPUT_DIR} -USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} - -# EDC Flags -USER_EXT_EDC_KEYS = - -# Resource Filter -USER_RES_INCLUDE = -USER_RES_EXCLUDE = - diff --git a/testproject/shared/res/basicui.png b/testproject/shared/res/basicui.png deleted file mode 100644 index 9765b1b..0000000 Binary files a/testproject/shared/res/basicui.png and /dev/null differ diff --git a/testproject/src/basicui.c b/testproject/src/basicui.c deleted file mode 100644 index ff10154..0000000 --- a/testproject/src/basicui.c +++ /dev/null @@ -1,665 +0,0 @@ -/* -$ find rs_resource -name "*-rs.xml" -exec xmlstarlet sel -t -m "//rootstrap/necessary/file" -v "text()[contains(., '.h')]" -n {} \; | sort -d -u | sed 's/ //' |sed 's/$/>/' | sed 's/^/#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -typedef struct appdata { - Evas_Object *win; - Evas_Object *conform; - Evas_Object *label; -} appdata_s; - -static void -win_delete_request_cb(void *data, Evas_Object *obj, void *event_info) -{ - ui_app_exit(); -} - -static void -win_back_cb(void *data, Evas_Object *obj, void *event_info) -{ - appdata_s *ad = data; - /* Let window go to hide state. */ - elm_win_lower(ad->win); -} - -static void -create_base_gui(appdata_s *ad) -{ - /* Window */ - /* Create and initialize elm_win. - elm_win is mandatory to manipulate window. */ - ad->win = elm_win_util_standard_add(PACKAGE, PACKAGE); - elm_win_autodel_set(ad->win, EINA_TRUE); - - if (elm_win_wm_rotation_supported_get(ad->win)) { - int rots[4] = { 0, 90, 180, 270 }; - elm_win_wm_rotation_available_rotations_set(ad->win, (const int *)(&rots), 4); - } - - evas_object_smart_callback_add(ad->win, "delete,request", win_delete_request_cb, NULL); - eext_object_event_callback_add(ad->win, EEXT_CALLBACK_BACK, win_back_cb, ad); - - /* Conformant */ - /* Create and initialize elm_conformant. - elm_conformant is mandatory for base gui to have proper size - when indicator or virtual keypad is visible. */ - ad->conform = elm_conformant_add(ad->win); - elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_SHOW); - elm_win_indicator_opacity_set(ad->win, ELM_WIN_INDICATOR_OPAQUE); - evas_object_size_hint_weight_set(ad->conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_win_resize_object_add(ad->win, ad->conform); - evas_object_show(ad->conform); - - /* Label */ - /* Create an actual view of the base gui. - Modify this part to change the view. */ - ad->label = elm_label_add(ad->conform); - elm_object_text_set(ad->label, "Hello Tizen"); - evas_object_size_hint_weight_set(ad->label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_object_content_set(ad->conform, ad->label); - - /* Show window after base gui is set up */ - evas_object_show(ad->win); -} - -static bool -app_create(void *data) -{ - /* Hook to take necessary actions before main event loop starts - Initialize UI resources and application's data - If this function returns true, the main loop of application starts - If this function returns false, the application is terminated */ - appdata_s *ad = data; - - create_base_gui(ad); - - return true; -} - -static void -app_control(app_control_h app_control, void *data) -{ - /* Handle the launch request. */ -} - -static void -app_pause(void *data) -{ - /* Take necessary actions when application becomes invisible. */ -} - -static void -app_resume(void *data) -{ - /* Take necessary actions when application becomes visible. */ -} - -static void -app_terminate(void *data) -{ - /* Release all resources. */ -} - -static void -ui_app_lang_changed(app_event_info_h event_info, void *user_data) -{ - /*APP_EVENT_LANGUAGE_CHANGED*/ - - int ret; - char *language; - - ret = app_event_get_language(event_info, &language); - if (ret != APP_ERROR_NONE) { - dlog_print(DLOG_ERROR, LOG_TAG, "app_event_get_language() failed. Err = %d.", ret); - return; - } - - if (language != NULL) { - elm_language_set(language); - free(language); - } -} - -static void -ui_app_orient_changed(app_event_info_h event_info, void *user_data) -{ - /*APP_EVENT_DEVICE_ORIENTATION_CHANGED*/ - return; -} - -static void -ui_app_region_changed(app_event_info_h event_info, void *user_data) -{ - /*APP_EVENT_REGION_FORMAT_CHANGED*/ -} - -static void -ui_app_low_battery(app_event_info_h event_info, void *user_data) -{ - /*APP_EVENT_LOW_BATTERY*/ -} - -static void -ui_app_low_memory(app_event_info_h event_info, void *user_data) -{ - /*APP_EVENT_LOW_MEMORY*/ -} - -int -main(int argc, char *argv[]) -{ - appdata_s ad = {0,}; - int ret = 0; - - ui_app_lifecycle_callback_s event_callback = {0,}; - app_event_handler_h handlers[5] = {NULL, }; - - event_callback.create = app_create; - event_callback.terminate = app_terminate; - event_callback.pause = app_pause; - event_callback.resume = app_resume; - event_callback.app_control = app_control; - - ui_app_add_event_handler(&handlers[APP_EVENT_LOW_BATTERY], APP_EVENT_LOW_BATTERY, ui_app_low_battery, &ad); - ui_app_add_event_handler(&handlers[APP_EVENT_LOW_MEMORY], APP_EVENT_LOW_MEMORY, ui_app_low_memory, &ad); - ui_app_add_event_handler(&handlers[APP_EVENT_DEVICE_ORIENTATION_CHANGED], APP_EVENT_DEVICE_ORIENTATION_CHANGED, ui_app_orient_changed, &ad); - ui_app_add_event_handler(&handlers[APP_EVENT_LANGUAGE_CHANGED], APP_EVENT_LANGUAGE_CHANGED, ui_app_lang_changed, &ad); - ui_app_add_event_handler(&handlers[APP_EVENT_REGION_FORMAT_CHANGED], APP_EVENT_REGION_FORMAT_CHANGED, ui_app_region_changed, &ad); - - ret = ui_app_main(argc, argv, &event_callback, &ad); - if (ret != APP_ERROR_NONE) { - dlog_print(DLOG_ERROR, LOG_TAG, "app_main() is failed. err = %d", ret); - } - - return ret; -} diff --git a/testproject/tizen-manifest.xml b/testproject/tizen-manifest.xml deleted file mode 100644 index 56b4023..0000000 --- a/testproject/tizen-manifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - basicui.png - - -