Convert Android.mk file to Android.bp
See build/soong/README.md for more information. Bug: 122332380 Test: treehugger Change-Id: I39a69c722922cfb19059d10ff37132442f0337ba
This commit is contained in:
parent
c87d1ed611
commit
3a62fc44e8
5 changed files with 22 additions and 39 deletions
18
Android.mk
18
Android.mk
|
|
@ -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))
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
@ -78,3 +78,10 @@ cc_binary {
|
|||
|
||||
cflags: ["-Werror"],
|
||||
}
|
||||
|
||||
|
||||
prebuilt_etc {
|
||||
name: "logtagd.rc",
|
||||
src: "logtagd.rc",
|
||||
sub_dir: "init",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue