OSDN Git Service

android: VNDK support for libLLVM and llvm-amdgpu-headers
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 23 May 2021 09:48:12 +0000 (05:48 -0400)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 25 May 2021 21:03:23 +0000 (23:03 +0200)
As required for VNDK support
https://source.android.com/devices/architecture/vndk/enabling

llvm/Android.bp
llvm/lib/Target/AMDGPU/Android.bp

index f3a8aa0..f106d6e 100644 (file)
@@ -267,6 +267,7 @@ llvm_amdgpu_static_libraries = [
 
 cc_library_shared {
     host_supported: true,
+    vendor_available: true,
     name: "libLLVM",
     defaults: [
         "llvm-defaults",
index 3c6ff98..1c605f5 100644 (file)
@@ -21,6 +21,7 @@ cc_defaults {
 cc_library_static {
     name: "llvm-amdgpu-headers",
     host_supported: true,
+    vendor_available: true,
     target: {
         windows: {
             enabled: true,