From d8ccc137d8bde133f4c8b31168647fb5c54c19ba Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 2 Aug 2019 10:51:56 -0700 Subject: libbinder_ndk: remove init_map.sh We can no longer automatically generate the mapping file from source. Now that libbinder_ndk is no longer in its initially development, future changes require specific modifications to the mapping file. Bug: 136027762 Test: ./update.sh Change-Id: I3e5b351472658a56e36b10233bf91d6a81902013 --- libs/binder/ndk/scripts/init_map.sh | 19 ------------------- libs/binder/ndk/update.sh | 1 - 2 files changed, 20 deletions(-) delete mode 100755 libs/binder/ndk/scripts/init_map.sh diff --git a/libs/binder/ndk/scripts/init_map.sh b/libs/binder/ndk/scripts/init_map.sh deleted file mode 100755 index 3529b725ce..0000000000 --- a/libs/binder/ndk/scripts/init_map.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/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 "};" diff --git a/libs/binder/ndk/update.sh b/libs/binder/ndk/update.sh index 9a4577ffff..1eba892021 100755 --- a/libs/binder/ndk/update.sh +++ b/libs/binder/ndk/update.sh @@ -20,4 +20,3 @@ set -ex # This script makes sure that the source code is in sync with the various scripts ./scripts/gen_parcel_helper.py ./scripts/format.sh -./scripts/init_map.sh > libbinder_ndk.map.txt -- cgit v1.2.3-59-g8ed1b