diff options
author | jan Iversen <jani@documentfoundation.org> | 2017-01-26 14:24:03 +0100 |
---|---|---|
committer | jan Iversen <jani@documentfoundation.org> | 2017-01-26 14:25:49 +0100 |
commit | 1fb65a66f19ab78b01d7da9784f00437b7ce1681 (patch) | |
tree | 5cc8978bd0fff2a13c06a61043b38b65dbf69860 /bin | |
parent | 8af9286632ca2e2be4326e73fbaf233e3b422959 (diff) |
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')
-rwxr-xr-x | bin/gbuild-to-ide | 32 |
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 ? } |