1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/ecmascript/meson.build

23 lines
639 B
Meson
Raw Normal View History

#INCLUDES += $(SPIDERMONKEY_CFLAGS)
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
subdir('spidermonkey')
2021-10-25 11:43:07 -04:00
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'spidermonkey.c')
endif
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
CONFIG_ANY_SPIDERMONKEY = true
elif conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY')
CONFIG_ANY_SPIDERMONKEY = true
else
CONFIG_ANY_SPIDERMONKEY = false
endif
if CONFIG_ANY_SPIDERMONKEY
srcs += files('spidermonkey-shared.c', 'empty.cpp')
endif
if conf_data.get('CONFIG_QUICKJS')
subdir('quickjs')
2021-10-29 16:06:39 -04:00
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'quickjs.c', 'empty.cpp')
endif