From 8c934c72a019df51d77e251cd1f0e59380dd9236 Mon Sep 17 00:00:00 2001 From: dimitry Date: Tue, 15 Jan 2019 17:38:39 +0100 Subject: [PATCH] Fix sdk-mac build. Do not use version_script for darwin Bug: http://b/122886514 Test: make Change-Id: I8a860e67b0768cce387de1257147e8989f711f06 --- libnativebridge/Android.bp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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"],