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
This commit is contained in:
parent
76acb8ab5f
commit
45de3417e3
@ -126,6 +126,8 @@ class GbuildParser:
|
|||||||
for i in ['CXXFLAGS', 'CFLAGS', 'OBJCFLAGS', 'OBJCXXFLAGS']:
|
for i in ['CXXFLAGS', 'CFLAGS', 'OBJCFLAGS', 'OBJCXXFLAGS']:
|
||||||
jsondata[i] = GbuildParser.__split_flags(jsondata[i], jsondata[i+'APPEND'])
|
jsondata[i] = GbuildParser.__split_flags(jsondata[i], jsondata[i+'APPEND'])
|
||||||
for i in jsonSrc:
|
for i in jsonSrc:
|
||||||
|
if not i in jsondata:
|
||||||
|
jsondata[i] = ''
|
||||||
jsondata[i] = GbuildParser.__split_objs(module, jsondata[i], jsonSrc[i])
|
jsondata[i] = GbuildParser.__split_objs(module, jsondata[i], jsonSrc[i])
|
||||||
|
|
||||||
if not module in moduleDict:
|
if not module in moduleDict:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user