summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen/vppapigen_c.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_c.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_c.py')
-rw-r--r--src/tools/vppapigen/vppapigen_c.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py
index 07975ce23b4..a8790744054 100644
--- a/src/tools/vppapigen/vppapigen_c.py
+++ b/src/tools/vppapigen/vppapigen_c.py
@@ -6,6 +6,8 @@ import sys
from io import StringIO
import shutil
+process_imports = False
+
datestring = datetime.datetime.utcfromtimestamp(
int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
input_filename = 'inputfil'