summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen/vppapigen_json.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-11-20 23:10:09 -0500
committerOle Tr�an <otroan@employees.org>2020-11-21 15:44:56 +0000
commit9046e44c8493354d51237a92706a830a9db1872e (patch)
tree9721bb94740a4fdb46cb35753d043747a0bff8ab /src/tools/vppapigen/vppapigen_json.py
parent79b3f8ce33849fd789c8fc31b219373749ad9678 (diff)
vppapigen: move import processing logic to individual plugins
Vppapigen currently embeds the import following control logic in the runner. This change delegates the control to the plugins. Type: refactor Change-Id: Iad20341bc9d652bedb71ca7037d3957fe60c7a0d Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/tools/vppapigen/vppapigen_json.py')
-rw-r--r--src/tools/vppapigen/vppapigen_json.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/vppapigen/vppapigen_json.py b/src/tools/vppapigen/vppapigen_json.py
index f41bfb08c58..19f7d65b8c5 100644
--- a/src/tools/vppapigen/vppapigen_json.py
+++ b/src/tools/vppapigen/vppapigen_json.py
@@ -1,6 +1,8 @@
# JSON generation
import json
+process_imports = True
+
def walk_imports(s):
r = []