Replace llndk_library with llndk clause in cc_library

Remove the vestigial llndk_library and replace it with properties
in the llndk clause of the implementation cc_library.

In order to reduce duplication of the arch-specific headers used
by the implementation and LLNDK, rename libc_headers_arch to
libc_llndk_headers and hoist the "include" directory out of it,
since that directory is preproccessed separately for LLNDK
libraries.

Bug: 170784825
Test: m checkbuild
Test: compare out/soong/build.ninja
Change-Id: I75f0ff9129d910640da55eee6a6387467e6e4a9d
diff --git a/libdl/Android.bp b/libdl/Android.bp
index 3004671..750a6e2 100644
--- a/libdl/Android.bp
+++ b/libdl/Android.bp
@@ -56,7 +56,6 @@
     recovery_available: true,
     native_bridge_supported: true,
     static_ndk_lib: true,
-    llndk_stubs: "libdl.llndk",
 
     defaults: ["linux_bionic_supported"],
 
@@ -137,6 +136,9 @@
             "current",
         ],
     },
+    llndk: {
+        symbol_file: "libdl.map.txt",
+    },
 
     apex_available: [
         "//apex_available:platform",
@@ -235,12 +237,6 @@
     first_version: "9",
 }
 
-llndk_library {
-    name: "libdl.llndk",
-    native_bridge_supported: true,
-    symbol_file: "libdl.map.txt",
-}
-
 genrule {
     name: "libdl.arm.map",
     out: ["libdl.arm.map"],