Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7db8d79 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android (Google) Code Review
Browse files

Merge "Allow vendor code to link to libandroid_net."

parents b13d6b62 d15f0af2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -87,3 +87,10 @@ cc_library_shared {

    include_dirs: ["bionic/libc/dns/include"],
}

llndk_library {
    name: "libandroid_net",
    export_include_dirs: ["include"],
    symbol_file: "libandroid_net.map.txt",
    unversioned: true,
}
+1 −0
Original line number Diff line number Diff line
../../../../native/include/android/multinetwork.h
 No newline at end of file
+10 −0
Original line number Diff line number Diff line
# These functions have been part of the NDK since API 24.
# They are also all available to vendor code.
LIBANDROID_NET {
  global:
    android_setsocknetwork; # vndk
    android_setprocnetwork; # vndk
    android_getaddrinfofornetwork; # vndk
  local:
    *;
};