diff options
author | Nikolay Lopatka <n.lopatka@samsung.com> | 2013-03-13 15:23:23 +0900 |
---|---|---|
committer | Cedric BAIL <cedric.bail@samsung.com> | 2013-03-13 16:47:53 +0900 |
commit | 3e07236148f8032f476c5928f9ef59487b11529a (patch) | |
tree | 56c975a044bc93103968d3f0485020f693b7c6d2 /src/Makefile_Edje.am | |
parent | 488ea9ec82a2f28d8af4b0e2dac6c4797b4cea28 (diff) |
Edje: Add test for edje_object_file_set.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r-- | src/Makefile_Edje.am | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am index 20ec55288..94e05a33f 100644 --- a/src/Makefile_Edje.am +++ b/src/Makefile_Edje.am @@ -196,6 +196,17 @@ tests/edje/edje_tests_helpers.h bin_SCRIPTS += bin/edje/edje_recc +# Useful to other modules that generate EDJ +EDJE_CC = EFL_RUN_IN_TREE=1 $(builddir)/bin/edje/edje_cc +EDJE_CC_FLAGS_VERBOSE = $(EDJE_CC_FLAGS_VERBOSE_@AM_V@) +EDJE_CC_FLAGS_VERBOSE_ = $(EDJE_CC_FLAGS_VERBOSE_@AM_DEFAULT_V@) +EDJE_CC_FLAGS_VERBOSE_1 = -v +EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_VERBOSE) -id $(srcdir) -fd $(srcdir) + +AM_V_EDJ = $(am__v_EDJ_@AM_V@) +am__v_EDJ_ = $(am__v_EDJ_@AM_DEFAULT_V@) +am__v_EDJ_0 = @echo " EDJ " $@; + ### Unit tests if EFL_ENABLE_TESTS @@ -214,15 +225,17 @@ $(EDJE_COMMON_CPPFLAGS) \ @CHECK_CFLAGS@ tests_edje_edje_suite_LDADD = @CHECK_LIBS@ @USE_EDJE_LIBS@ tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ -endif -# Useful to other modules that generate EDJ -EDJE_CC = EFL_RUN_IN_TREE=1 $(builddir)/bin/edje/edje_cc -EDJE_CC_FLAGS_VERBOSE = $(EDJE_CC_FLAGS_VERBOSE_@AM_V@) -EDJE_CC_FLAGS_VERBOSE_ = $(EDJE_CC_FLAGS_VERBOSE_@AM_DEFAULT_V@) -EDJE_CC_FLAGS_VERBOSE_1 = -v -EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_VERBOSE) -id $(srcdir) -fd $(srcdir) +tests/edje/data/test_layout.edj: tests/edje/data/test_layout.edc bin/edje/edje_cc + @$(MKDIR_P) tests/edje/data + $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data $< $@ -AM_V_EDJ = $(am__v_EDJ_@AM_V@) -am__v_EDJ_ = $(am__v_EDJ_@AM_DEFAULT_V@) -am__v_EDJ_0 = @echo " EDJ " $@; +EDJE_DATA_FILES = tests/edje/data/test_layout.edc + +edjedatafilesdir = $(datadir)/edje/data +edjedatafiles_DATA = tests/edje/data/test_layout.edj +CLEANFILES += tests/edje/data/test_layout.edj + +endif + +EXTRA_DIST += $(EDJE_DATA_FILES) |