2020-07-28 23:25:49 +01:00
|
|
|
if with_android_stub
|
2020-09-21 22:27:24 +01:00
|
|
|
stub_libs = []
|
|
|
|
|
2020-11-26 04:52:58 +00:00
|
|
|
foreach lib : ['backtrace', 'cutils', 'hardware', 'log', 'nativewindow', 'sync']
|
2020-09-21 22:27:24 +01:00
|
|
|
stub_libs += shared_library(
|
|
|
|
lib,
|
|
|
|
files(lib + '_stub.cpp'),
|
|
|
|
include_directories : inc_include,
|
|
|
|
install : false,
|
|
|
|
)
|
|
|
|
endforeach
|
2020-07-28 23:25:49 +01:00
|
|
|
|
|
|
|
dep_android = declare_dependency(
|
2020-09-21 22:27:24 +01:00
|
|
|
link_with : stub_libs,
|
2020-07-28 23:25:49 +01:00
|
|
|
)
|
|
|
|
endif
|