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

Commit 464a1f3f authored by Sasha Smundak's avatar Sasha Smundak Committed by android-build-merger
Browse files

Merge "Convert Android.mk file to Android.bp" am: c000ec0c am: 26fe4911

am: f122c308

Change-Id: If8a8e8f4be010b03375b923db7a248058590ee5a
parents 6512d900 f122c308
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)