Commit ddee0f34 by Lingfeng Yang

android: avoid exporting normal Vulkan APIs

this can break the android build. Keep the current vk_swiftshader.lds for the other purposes Bug: b/148822450 Change-Id: I791b216cc05606ebf51f95d051bb658c0be388fe Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40868 Kokoro-Presubmit: Lingfeng Yang <lfy@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Tested-by: 's avatarLingfeng Yang <lfy@google.com>
parent 41a7302e
...@@ -542,7 +542,7 @@ cc_defaults { ...@@ -542,7 +542,7 @@ cc_defaults {
local_include_dirs: [ "Vulkan" ], local_include_dirs: [ "Vulkan" ],
version_script: "Vulkan/vk_swiftshader.lds", version_script: "Vulkan/android_vk_swiftshader.lds",
generated_headers: [ "commit_header" ], generated_headers: [ "commit_header" ],
......
# For Android, we must not export anything other than loader-related API
{
global:
vkGetInstanceProcAddr;
# Loader-ICD interface functions
vk_icdGetInstanceProcAddr;
vk_icdNegotiateLoaderICDInterfaceVersion;
# Type-strings and type-infos required by sanitizers
_ZTS*;
_ZTI*;
# Android HAL module info object
HMI;
local:
*;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment