diff options
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/native-code.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 605406507ef2..24cdde336e0c 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -198,9 +198,13 @@ if options.groups: for (factory_name,factory_function) in factory_map[factory_group]: if factory_function == 'sb_component_getFactory': print ('#ifdef ANDROID') + if factory_function == 'xsec_xmlsec_component_getFactory': + print ('#ifndef ANDROID') print ('void * '+factory_function+'( const char* , void* , void* );') if factory_function == 'sb_component_getFactory': print ('#endif') + if factory_function == 'xsec_xmlsec_component_getFactory': + print ('#endif') print ('') if options.groups: @@ -219,9 +223,13 @@ if options.groups: for (factory_name,factory_function) in factory_map[factory_group]: if factory_function == 'sb_component_getFactory': print ('#ifdef ANDROID') + if factory_function == 'xsec_xmlsec_component_getFactory': + print ('#ifndef ANDROID') print (' { "'+factory_name+'", '+factory_function+' },') if factory_function == 'sb_component_getFactory': print ('#endif') + if factory_function == 'xsec_xmlsec_component_getFactory': + print ('#endif') print (""" { 0, 0 } |