[js] Clean up obsolete V8_VERSION machinery

This is no longer needed since we dropped support for the ancient
V8 versions which didn't provide version macros, but I missed
removing it in my previous cleanup in
48eba82ac8.
This commit is contained in:
Olly Betts 2024-09-18 18:28:59 +12:00
parent 846d5d2286
commit a06fc05303
3 changed files with 1 additions and 23 deletions

View File

@ -147,11 +147,7 @@ $ make check-javascript-examples ENGINE=jsc</pre>
<pre>
$ make check-javascript-test-suite ENGINE=jsc</pre>
</div>
<p>You can specify a specific <code>V8</code> version for running the examples and tests</p>
<div class="shell">
<pre>
$ make check-javascript-examples V8_VERSION=0x032530 ENGINE=v8</pre>
</div>
</p>
<H3><a name="Javascript_known_issues">28.2.3 Known Issues</a></H3>

View File

@ -1,12 +1,6 @@
# Note: as a convention an example must be in a child directory of this.
# These paths are relative to such an example directory
ifneq (, $(V8_VERSION))
JSV8_VERSION=$(V8_VERSION)
else
JSV8_VERSION=0x031110
endif
EXAMPLES_TOP = ../..
SWIG_TOP = ../../..
SWIGEXE = $(SWIG_TOP)/swig
@ -15,10 +9,6 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
ifneq (jsc, $(ENGINE))
SWIGOPT += -DV8_VERSION=$(JSV8_VERSION)
endif
check: build
$(MAKE) -f $(EXAMPLES_TOP)/Makefile SRCDIR='$(SRCDIR)' TARGET='$(TARGET)' javascript_run

View File

@ -53,16 +53,8 @@ endif
endif
endif
ifneq (, $(V8_VERSION))
JSV8_VERSION=$(V8_VERSION)
else
JSV8_VERSION=0x031110
endif
include $(srcdir)/../common.mk
SWIGOPT += -DV8_VERSION=$(JSV8_VERSION)
_setup = \
if [ -f $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
$(ECHO_PROGRESS) "$(ACTION)ing $(LANGUAGE) ($(JSENGINE)) testcase $* (with run test)" ; \