ANDROID: build: Add copy of symbol list file to common directory
Currently, there's no way for our mixed build to use a custom ABI definition. To allow this capability, copy the symbol list file to the ACK tree prior to launching build which will be used to generate ABI definition. Change-Id: I14067e05da2ab7ec29a1425d6dd311940b671aca Signed-off-by: John Moon <quic_johmoo@quicinc.com> Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
This commit is contained in:
parent
953d02064c
commit
1da282c5e2
@ -8,6 +8,7 @@ import glob
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
@ -65,6 +66,13 @@ class BazelBuilder:
|
||||
"--host_crosstool_top={}".format(HOST_CROSSTOOL),
|
||||
]
|
||||
|
||||
def copy_abi_file(self):
|
||||
"""Copy ABI STG file from msm-kernel to common"""
|
||||
msm_sym_list = os.path.join(self.workspace, "msm-kernel", "android", "abi_gki_aarch64_qcom")
|
||||
|
||||
if os.path.exists(msm_sym_list):
|
||||
shutil.copy2(msm_sym_list, os.path.join(self.workspace, "common", "android", "abi_gki_aarch64_qcom"))
|
||||
|
||||
def setup_extensions(self):
|
||||
"""Set up the extension files if needed"""
|
||||
for (ext, def_src) in [
|
||||
@ -290,6 +298,7 @@ class BazelBuilder:
|
||||
sys.exit(1)
|
||||
|
||||
self.clean_legacy_generated_files()
|
||||
self.copy_abi_file()
|
||||
|
||||
if self.skip_list:
|
||||
self.user_opts.extend(["--//msm-kernel:skip_{}=true".format(s) for s in self.skip_list])
|
||||
|
Loading…
Reference in New Issue
Block a user