Build init-debug.rc with Soong

Bug: 335369205
Test: build and compare
Change-Id: Idb6105e8527e3a2b4f0517b31be3fa8b78826880
This commit is contained in:
Inseob Kim 2024-04-19 16:17:14 +09:00
parent 8c7b66629d
commit 4113b658a8
2 changed files with 6 additions and 13 deletions

View file

@ -107,3 +107,9 @@ prebuilt_etc {
src: "etc/hosts",
filename: "hosts",
}
prebuilt_etc {
name: "init-debug.rc",
src: "init-debug.rc",
sub_dir: "init",
}

View file

@ -2,19 +2,6 @@ LOCAL_PATH:= $(call my-dir)
$(eval $(call declare-1p-copy-files,system/core/rootdir,))
#######################################
# init-debug.rc
include $(CLEAR_VARS)
LOCAL_MODULE := init-debug.rc
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_SRC_FILES := $(LOCAL_MODULE)
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init
include $(BUILD_PREBUILT)
#######################################
# asan.options
ifneq ($(filter address,$(SANITIZE_TARGET)),)