Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3eac266 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Convert host tools to Android.bp

See build/soong/README.md for more information.

Test: m libinstrumentation interrupter accessorychat accessorytest bit obbtool pbkdf2gen libsplit-select_tests split-select protoc-gen-javastream validatekeymaps libaapt_tests aapt
Test: mmma frameworks/base
Test: out/host/linux-x86/nativetest64/libaapt_tests/libaapt_tests
Test: out/host/linux-x86/nativetest64/libsplit-select_tests/libsplit-select_tests
Change-Id: I93cf24d4b232353a52d53be8ed85781b8f4a3877
parent 1cb5ab2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ cc_library {
}

subdirs = [
    "cmds/*",
    "core/jni",
    "libs/*",
    "media/*",

cmds/am/Android.bp

0 → 100644
+11 −0
Original line number Diff line number Diff line
// Copyright 2008 The Android Open Source Project
//

cc_library_host_static {
    name: "libinstrumentation",
    srcs: ["**/*.proto"],
    proto: {
        type: "full",
        export_proto_headers: true,
    },
}
+0 −11
Original line number Diff line number Diff line
@@ -16,14 +16,3 @@ LOCAL_SRC_FILES := am
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_TAGS := optional
include $(BUILD_PREBUILT)


include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
    $(call all-proto-files-under, proto)
LOCAL_MODULE := libinstrumentation
LOCAL_PROTOC_OPTIMIZE_TYPE := full
LOCAL_EXPORT_C_INCLUDE_DIRS := \
    $(call intermediates-dir-for,STATIC_LIBRARIES,libinstrumentation,HOST,,,)/proto/$(LOCAL_PATH)/proto
include $(BUILD_HOST_STATIC_LIBRARY)
+11 −0
Original line number Diff line number Diff line
cc_library_shared {
    name: "interrupter",
    host_supported: true,
    srcs: ["interrupter.c"],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wunused",
        "-Wunreachable-code",
    ],
}

cmds/interrupter/Android.mk

deleted100644 → 0
+0 −23
Original line number Diff line number Diff line
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
    interrupter.c
LOCAL_MODULE := interrupter
LOCAL_MODULE_TAGS := eng tests
LOCAL_LDFLAGS := -ldl
LOCAL_CFLAGS := -Wall -Werror -Wunused -Wunreachable-code

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
    interrupter.c
LOCAL_MODULE := interrupter
LOCAL_MODULE_TAGS := eng tests
LOCAL_LDFLAGS := -ldl
LOCAL_CFLAGS := -Wall -Werror -Wunused -Wunreachable-code

include $(BUILD_HOST_SHARED_LIBRARY)
Loading