|
|
@@ -0,0 +1,24 @@
|
|
|
+name: abi export removal
|
|
|
+description: remove abi exports for wifi and bt functionality
|
|
|
+
|
|
|
+runs:
|
|
|
+ using: composite
|
|
|
+ steps:
|
|
|
+ - name: remove protected exports
|
|
|
+ shell: bash
|
|
|
+ run: |
|
|
|
+ cd "$CONFIG"
|
|
|
+ if [[ -d kernel_platform ]]; then
|
|
|
+ cd kernel_platform
|
|
|
+ rm -rf ./common/android/abi_gki_protected_exports_*
|
|
|
+ rm -rf ./msm-kernel/android/abi_gki_protected_exports_*
|
|
|
+ else
|
|
|
+ cd "$GITHUB"WORKSPACE"
|
|
|
+ cd "$COMMON"
|
|
|
+ rm -rf ./android/abi_gki_protected_exports_*
|
|
|
+ fi
|
|
|
+
|
|
|
+ #remove protected exports from build.bazel file
|
|
|
+ cd "$GITHUB"WORKSPACE"
|
|
|
+ cd "$COMMON"
|
|
|
+ perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./BUILD.bazel
|