diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp index a5f014205..c54570ee6 100644 --- a/libnativebridge/Android.bp +++ b/libnativebridge/Android.bp @@ -17,7 +17,15 @@ cc_library { "liblog", ], - version_script: "libnativebridge.map.txt", + target: { + android: { + version_script: "libnativebridge.map.txt", + }, + linux: { + version_script: "libnativebridge.map.txt", + }, + }, + stubs: { symbol_file: "libnativebridge.map.txt", versions: ["1"],