support ext args

Signed-off-by: steven_q <qichanggui@huawei.com>
Change-Id: Iaef3143b1a49b3d9de8d37d2c00c6428edb410a1
This commit is contained in:
steven_q
2023-06-27 20:01:38 +08:00
parent 367dfc1095
commit cc21f4e456
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -491,6 +491,11 @@ action("build_contexts") {
"--components",
components,
]
if (contexts_extra_args != "default") {
foreach(arg, string_split(contexts_extra_args, " ")) {
args += [ arg ]
}
}
deps = [
":build_policy",
"$THIRD_PARTY_DIR/selinux:sefcontext_compile($host_toolchain)",
+1
View File
@@ -21,6 +21,7 @@ declare_args() {
special_build_policy_script = "default"
special_build_contexts_script = "default"
extra_args = "default"
contexts_extra_args = "default"
}
declare_args() {