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

Commit f122c308 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

Change-Id: I335628f7d658b0251c6df413ea3f1921365bc15d
parents 536426c3 26fe4911
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)