This commit is contained in:
shuixx 2025-02-02 10:50:23 +08:00
parent 5cf19307c8
commit 20658e6c1d
3 changed files with 23 additions and 1 deletions

View File

@ -6,6 +6,7 @@ include vendor/custom/fonts/fonts.mk
# Include prebuilts packages
include vendor/custom/prebuilts/prebuilts.mk
RELAX_USES_LIBRARY_CHECK=true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES=true
TARGET_EXCLUDE_PACKAGES += \
Seedvault \

22
prebuilts/Android.bp Normal file
View File

@ -0,0 +1,22 @@
soong_namespace {
imports: [
],
}
cc_prebuilt_binary {
name: "wg",
srcs: ["product/bin/wg"],
installable: true,
}
cc_prebuilt_binary {
name: "wg-quick",
srcs: ["product/bin/wg-quick"],
installable: true,
}
cc_prebuilt_binary {
name: "vim",
srcs: ["product/bin/vim"],
installable: true,
}

View File

@ -1,2 +1 @@
# Copy files
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/custom/prebuilts/product/bin,$(TARGET_COPY_OUT_PRODUCT)/bin)