1if with_android_stub 2 stub_libs = [] 3 lib_names = ['cutils', 'hardware', 'log', 'nativewindow', 'sync'] 4 5 if with_libbacktrace 6 lib_names += ['backtrace'] 7 endif 8 9 foreach lib : lib_names 10 stub_libs += shared_library( 11 lib, 12 files(lib + '_stub.cpp'), 13 include_directories : inc_include, 14 install : false, 15 ) 16 endforeach 17 18 dep_android = declare_dependency( 19 link_with : stub_libs, 20 ) 21endif 22