summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorjan Iversen <jani@documentfoundation.org>2017-01-16 19:01:18 +0100
committerjan Iversen <jani@documentfoundation.org>2017-01-16 19:01:18 +0100
commit1fb2947aea679afeb061b38538c0a6ea8b3254a2 (patch)
tree48112d2ac03af46acb3004724da519b0d4cb69fa /bin
parentb7e6f68858198cef294774e85134088828c742c3 (diff)
post_GbuildToJson.mk, extended with extra file types
Extended the call to gbuildtojson, with extra file types. Some filetypes still need data collection, this is noted in the file as todo. Change-Id: I3e832f82656236d42d1d7b59bf3ac2925c5b1568
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbuild-to-ide6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 47eaebd84231..b2c23c886244 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -92,14 +92,14 @@ class GbuildParser:
'GENCXXOBJECTS': '.cxx', # remark is in workdir/GenCxxObject
'OBJCOBJECTS': '.m',
'OBJCXXOBJECTS': '.mm',
+ 'COBJECTS': '.c',
- # gbuildtojson defines but does not fill these:
+ # gbuildtojson defines but does not fill these:
'ASMOBJECTS': '.s',
'GENCOBJECTS': '.c',
'YACCOBJECTS': '.y',
# gbuildtojson need to be extended to fill these:
- 'COBJECTS': '.c',
'FLEXOBJECTS': '.l',
'JAVAOBJECTS': '.java',
'PYTHONOBJECTS': '.py'
@@ -122,6 +122,8 @@ class GbuildParser:
else:
filesSorted[i] = []
+ # TODO: extend GbuildLinkTarget with new json keys
+ # Find a better way instead on a zillion parameters
newObj = GbuildLinkTarget(match,
location,
foundincludes,