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

Commit c000ec0c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Convert Android.mk file to Android.bp"

parents 479b7353 8b07840b
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
// Build the unit tests.
cc_test {
    name: "ResourceManagerService_test",
    srcs: ["ResourceManagerService_test.cpp"],
    shared_libs: [
        "libbinder",
        "liblog",
        "libmedia",
        "libresourcemanagerservice",
        "libutils",
    ],
    include_dirs: [
        "frameworks/av/include",
        "frameworks/av/services/mediaresourcemanager",
    ],
    cflags: [
        "-Werror",
        "-Wall",
    ],
    compile_multilib: "32",
}

cc_test {
    name: "ServiceLog_test",
    srcs: ["ServiceLog_test.cpp"],
    shared_libs: [
        "liblog",
        "libmedia",
        "libresourcemanagerservice",
        "libutils",
    ],
    include_dirs: [
        "frameworks/av/include",
        "frameworks/av/services/mediaresourcemanager",
    ],
    cflags: [
        "-Werror",
        "-Wall",
    ],
    compile_multilib: "32",
}
+0 −52
Original line number Diff line number Diff line
# Build the unit tests.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := ResourceManagerService_test

LOCAL_MODULE_TAGS := tests

LOCAL_SRC_FILES := \
  ResourceManagerService_test.cpp \

LOCAL_SHARED_LIBRARIES := \
  libbinder \
  liblog \
  libmedia \
  libresourcemanagerservice \
  libutils \

LOCAL_C_INCLUDES := \
  frameworks/av/include \
  frameworks/av/services/mediaresourcemanager \

LOCAL_CFLAGS += -Werror -Wall

LOCAL_32_BIT_ONLY := true

include $(BUILD_NATIVE_TEST)

include $(CLEAR_VARS)

LOCAL_MODULE := ServiceLog_test

LOCAL_MODULE_TAGS := tests

LOCAL_SRC_FILES := \
  ServiceLog_test.cpp \

LOCAL_SHARED_LIBRARIES := \
  liblog \
  libmedia \
  libresourcemanagerservice \
  libutils \

LOCAL_C_INCLUDES := \
  frameworks/av/include \
  frameworks/av/services/mediaresourcemanager \

LOCAL_CFLAGS += -Werror -Wall

LOCAL_32_BIT_ONLY := true

include $(BUILD_NATIVE_TEST)