diff --git a/Android.mk b/Android.mk deleted file mode 100644 index 7c5725869..000000000 --- a/Android.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2008 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -LOCAL_PATH := $(my-dir) - -include $(call first-makefiles-under,$(LOCAL_PATH)) diff --git a/libsparse/Android.bp b/libsparse/Android.bp index 8ad339f5f..2ec47541b 100644 --- a/libsparse/Android.bp +++ b/libsparse/Android.bp @@ -67,3 +67,18 @@ cc_binary_host { cflags: ["-Werror"], } + +python_binary_host { + name: "simg_dump.py", + main: "simg_dump.py", + srcs: ["simg_dump.py"], + version: { + py2: { + embedded_launcher: true, + enabled: true, + }, + py3: { + enabled: false, + }, + }, +} diff --git a/libsparse/Android.mk b/libsparse/Android.mk deleted file mode 100644 index 05e68bce6..000000000 --- a/libsparse/Android.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2010 The Android Open Source Project - -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := simg_dump.py -LOCAL_SRC_FILES := simg_dump.py -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_IS_HOST_MODULE := true -LOCAL_CFLAGS := -Werror -include $(BUILD_PREBUILT) diff --git a/logd/Android.bp b/logd/Android.bp index 3abfc2171..78eaff5b7 100644 --- a/logd/Android.bp +++ b/logd/Android.bp @@ -78,3 +78,10 @@ cc_binary { cflags: ["-Werror"], } + + +prebuilt_etc { + name: "logtagd.rc", + src: "logtagd.rc", + sub_dir: "init", +} diff --git a/logd/Android.mk b/logd/Android.mk deleted file mode 100644 index aafa28dc6..000000000 --- a/logd/Android.mk +++ /dev/null @@ -1,10 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE := logtagd.rc -LOCAL_SRC_FILES := $(LOCAL_MODULE) -LOCAL_MODULE_CLASS := ETC -LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init - -include $(BUILD_PREBUILT)