diff options
author | jan Iversen <jani@documentfoundation.org> | 2017-02-01 18:19:22 +0100 |
---|---|---|
committer | jan Iversen <jani@documentfoundation.org> | 2017-02-01 18:21:37 +0100 |
commit | 45de3417e31337db4310fc77a048ea9d1e6772bb (patch) | |
tree | 5d896391f5112a92930fdc085bbecaaac47c21c4 /bin | |
parent | 76acb8ab5f302d1dc3a33ac8c13e5e8fd7b6c7a5 (diff) |
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
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gbuild-to-ide | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index f9ca375357d9..962463e78642 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: |