mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
29 lines
759 B
Meson
29 lines
759 B
Meson
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'spidermonkey.cpp', 'timer.cpp')
|
|
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.cpp')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_MUJS')
|
|
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'mujs.cpp', 'timer.cpp')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_QUICKJS')
|
|
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'quickjs.cpp', 'timer.cpp')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_LIBDOM')
|
|
subdir('libdom')
|
|
endif
|