summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-09-12 00:15:13 +0800
committerBruno Martins <bgcngm@gmail.com>2020-09-20 14:56:47 +0100
commit27346e2a4ae95b1a54f5f9a07a1cb618b798a6fa (patch)
treebb808b84c539f69a7c8ad98c1877673395f388d9
parentabe640021ed924f0368d61024093b68a9d24c9ce (diff)
extract_utils: Disable ELF check for shared library
* This is indeed a nice feature, but it's absolutely a bad idea to hardcode dependencies of prebuilt modules in proprietary-files.txt. Change-Id: I8c2d75ff62c0c7862f40e777bcbad4d9cebc074c
-rw-r--r--extract_utils.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/extract_utils.sh b/extract_utils.sh
index 6c28ed0..5d82b12 100644
--- a/extract_utils.sh
+++ b/extract_utils.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2019 The LineageOS Project
+# 2017-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -406,6 +406,7 @@ function write_blueprint_packages() {
if [ "$EXTRA" != "none" ]; then
printf '\tcompile_multilib: "%s",\n' "$EXTRA"
fi
+ printf '\tcheck_elf_files: false,\n'
elif [ "$CLASS" = "APPS" ]; then
printf 'android_app_import {\n'
printf '\tname: "%s",\n' "$PKGNAME"