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