summaryrefslogtreecommitdiffstats
path: root/bin/gbuild-to-ide
diff options
context:
space:
mode:
authorjan Iversen <jani@documentfoundation.org>2017-01-26 14:24:03 +0100
committerjan Iversen <jani@documentfoundation.org>2017-01-26 14:25:49 +0100
commit1fb65a66f19ab78b01d7da9784f00437b7ce1681 (patch)
tree5cc8978bd0fff2a13c06a61043b38b65dbf69860 /bin/gbuild-to-ide
parent-Werror=implicit-fallthrough= (GCC 7) (diff)
downloadcore-1fb65a66f19ab78b01d7da9784f00437b7ce1681.tar.gz
core-1fb65a66f19ab78b01d7da9784f00437b7ce1681.zip
gbuildtojson, added support for lex files
added add_scanner macro Finalized the move around in gbuild-to-ide, to signal which generators are actively supported. Change-Id: I11699cd4380d49efc3b541abb7780b5136162433
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-xbin/gbuild-to-ide32
1 files changed, 22 insertions, 10 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 3d9460ce74c2..860f7243e8da 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -76,19 +76,31 @@ class GbuildParser:
def parse(self):
+ # current json blacklist, this is just for reference:
+ # bridges
+ # connectivity compilerplugins cli_ure cppu cppuhelper cpputools
+ # dictionaries
+ # extensions external
+ # helpcompiler helpcontent2
+ # i18npool icon-themes
+ # javaunohelper jurt
+ # lingucomponent
+ # odk
+ # sal scaddins shell solenv stoc
+ # tools translations
+ # udkapi unoid
+ # Add handling of BLACKLIST
# Relation between json object and file extension
jsonSrc = {
- 'CXXOBJECTS': '.cxx',
+ 'CXXOBJECTS': '.cxx', 'OBJCOBJECTS': '.m', 'OBJCXXOBJECTS': '.mm', 'COBJECTS': '.c',
+
'GENCXXOBJECTS': '.cxx', # remark is in workdir/GenCxxObject
- 'OBJCOBJECTS': '.m',
- 'OBJCXXOBJECTS': '.mm',
- 'ASMOBJECTS': '.s',
- 'YACCOBJECTS': '.y',
- 'GENCOBJECTS': '.c',
- 'COBJECTS': '.c',
- 'FLEXOBJECTS': '.l',
- 'JAVAOBJECTS': '.java',
- 'PYTHONOBJECTS': '.py'
+ 'ASMOBJECTS': '.s', #not in json, due to Blacklist ?
+ 'YACCOBJECTS': '.y', #not in json, due to Blacklist ?
+ 'GENCOBJECTS': '.c', #not in json, due to Blacklist ?
+ 'LEXOBJECTS': '.l', #not in json, due to add_scanners
+ 'JAVAOBJECTS': '.java', #not in json, due to Blacklist ?
+ 'PYTHONOBJECTS': '.py' #not in json, due to Blacklist ?
}