Merge "Convert to Soong"

This commit is contained in:
android-build-prod (mdb)
2018-05-05 14:43:45 +00:00
committed by Gerrit Code Review
2 changed files with 20 additions and 17 deletions

20
cmds/backup/Android.bp Normal file
View File

@@ -0,0 +1,20 @@
// Copyright 2009 The Android Open Source Project
cc_binary {
name: "btool",
srcs: ["backup.cpp"],
shared_libs: [
"libcutils",
"libutils",
"libandroidfw",
],
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
}

View File

@@ -1,17 +0,0 @@
# Copyright 2009 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= backup.cpp
LOCAL_SHARED_LIBRARIES := libcutils libutils libandroidfw
LOCAL_MODULE:= btool
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
include $(BUILD_EXECUTABLE)