mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Generate a list of supported DOM APIs from parsed WebIDLs.
This commit is contained in:
parent
2df5d705e1
commit
3c2435a172
9 changed files with 113 additions and 12 deletions
|
@ -18,7 +18,7 @@ bindinggen_dependencies := $(addprefix $(BINDINGS_SRC)/,BindingGen.py Bindings.c
|
|||
|
||||
globalgen_dependencies := $(addprefix $(BINDINGS_SRC)/,GlobalGen.py Bindings.conf Configuration.py CodegenRust.py parser/WebIDL.py) $(CACHE_DIR)/.done $(OUT_DIR)/Bindings/.done
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: all dom_docs
|
||||
all: $(AUTOGEN_SRC)
|
||||
|
||||
$(OUT_DIR)/Bindings/.done:
|
||||
|
@ -38,6 +38,16 @@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
|
|||
. \
|
||||
$(WEBIDLS)
|
||||
|
||||
dom_docs: $(CACHE_DIR)/.done
|
||||
$(PYTHON) \
|
||||
$(BINDINGS_SRC)/GlobalGen.py \
|
||||
--cachedir=$(CACHE_DIR) \
|
||||
--only-html \
|
||||
$(BINDINGS_SRC)/Bindings.conf \
|
||||
$(OUT_DIR) \
|
||||
. \
|
||||
$(WEBIDLS)
|
||||
|
||||
$(AUTOGEN_SRC): $(OUT_DIR)/Bindings/%Binding.rs: $(bindinggen_dependencies) \
|
||||
$(addprefix $(WEBIDLS_SRC)/,%.webidl)
|
||||
$(PYTHON) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue