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

Commit 2572cbec authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libbinder_ndk: remove init_map.sh"

parents 4fabf335 d8ccc137
Loading
Loading
Loading
Loading
+0 −19
Original line number Original line Diff line number Diff line
#!/usr/bin/env bash

# Simple helper for ease of development until this API is frozen.

echo "LIBBINDER_NDK { # introduced=29"
echo "  global:"
{
    grep -oP "AIBinder_[a-zA-Z0-9_]+(?=\()" include_ndk/android/binder_ibinder.h;
    grep -oP "AIBinder_[a-zA-Z0-9_]+(?=\()" include_ndk/android/binder_ibinder_jni.h;
    grep -oP "AParcel_[a-zA-Z0-9_]+(?=\()" include_ndk/android/binder_parcel.h;
    grep -oP "AStatus_[a-zA-Z0-9_]+(?=\()" include_ndk/android/binder_status.h;
} | sort | uniq | awk '{ print "    " $0 ";"; }'
{
    grep -oP "AServiceManager_[a-zA-Z0-9_]+(?=\()" include_apex/android/binder_manager.h;
    grep -oP "ABinderProcess_[a-zA-Z0-9_]+(?=\()" include_apex/android/binder_process.h;
} | sort | uniq | awk '{ print "    " $0 "; # apex"; }'
echo "  local:"
echo "    *;"
echo "};"
+0 −1
Original line number Original line Diff line number Diff line
@@ -20,4 +20,3 @@ set -ex
# This script makes sure that the source code is in sync with the various scripts
# This script makes sure that the source code is in sync with the various scripts
./scripts/gen_parcel_helper.py
./scripts/gen_parcel_helper.py
./scripts/format.sh
./scripts/format.sh
./scripts/init_map.sh > libbinder_ndk.map.txt