[Libreoffice-commits] core.git: bin/gbuild-to-ide

jan Iversen jani at documentfoundation.org
Wed Feb 1 17:22:15 UTC 2017


 bin/gbuild-to-ide |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 45de3417e31337db4310fc77a048ea9d1e6772bb
Author: jan Iversen <jani at documentfoundation.org>
Date:   Wed Feb 1 18:19:22 2017 +0100

    gbuild-to-ide patch to allow faulty gbuildtojson
    
    Sometimes gbuildtojson does not get rebuild, and thus
    delivers unexpected json files (old keys)
    
    Change-Id: Ib4bab170ed5a2ab5c112d19af144f2551e608278

diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index f9ca375..962463e 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -126,6 +126,8 @@ class GbuildParser:
                     for i in ['CXXFLAGS', 'CFLAGS', 'OBJCFLAGS', 'OBJCXXFLAGS']:
                         jsondata[i] = GbuildParser.__split_flags(jsondata[i], jsondata[i+'APPEND'])
                     for i in jsonSrc:
+                        if not i in jsondata:
+                            jsondata[i] = ''
                         jsondata[i] = GbuildParser.__split_objs(module, jsondata[i], jsonSrc[i])
 
                     if not module in moduleDict:


More information about the Libreoffice-commits mailing list