aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian_Js.am
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-03-16 19:46:22 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-03-18 17:47:09 -0300
commitafb66463937a8d08e2bf1d538641a9520ba457d6 (patch)
tree10a0a55ee9301ef195434a4411b7b0af02793365 /src/Makefile_Eolian_Js.am
parentefl js: Finish Eina_Iterator binding (diff)
downloadefl-afb66463937a8d08e2bf1d538641a9520ba457d6.tar.gz
efl js: Add clean up callbacks to deallocate memory used in v8::External
Add several garbage collector callbacks for cleaning allocated C and C++ data used inside v8:External objects. Fix eo_unref of already freed object in eo_js_construct_from_eo.hh. Ensure all structs are allocated with malloc. Add test for garbage collection. Had to created .sh script because shebang clause do not support multiple arguments.
Diffstat (limited to 'src/Makefile_Eolian_Js.am')
-rw-r--r--src/Makefile_Eolian_Js.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile_Eolian_Js.am b/src/Makefile_Eolian_Js.am
index 32cf893bf6..b15fa877c6 100644
--- a/src/Makefile_Eolian_Js.am
+++ b/src/Makefile_Eolian_Js.am
@@ -25,11 +25,11 @@ include Makefile_Eolian_Js_Helper.am
if EFL_ENABLE_TESTS
if HAVE_NODEJS
-TESTS += tests/eolian_js/eolian_js_suite.js
+TESTS += tests/eolian_js/eolian_js_suite.sh
check_LTLIBRARIES += tests/eolian_js/libeolian_js_suite.la
-tests/eolian_js/eolian_js_suite.js: tests/eolian_js/eolian_js_suite_mod.node
+tests/eolian_js/eolian_js_suite.sh: tests/eolian_js/eolian_js_suite_mod.node
tests/eolian_js/eolian_js_suite_mod.node: tests/eolian_js/libeolian_js_suite.la
$(AM_V_CP)$(CP) $(top_builddir)/src/tests/eolian_js/.libs/libeolian_js_suite.so $(top_builddir)/src/tests/eolian_js/eolian_js_suite_mod.node