mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-04-02 20:30:49 +07:00
Build hevcdec with Soong instead of Make.
Converts the hevcdec test binary to use the Soong build system. Bug: 110791537 Test: m -j48 hevcdec Change-Id: I6caa029905da69bf902ddff7b6e91cf749a0fa35
This commit is contained in:
parent
be2db551c5
commit
662b247f65
3 changed files with 14 additions and 20 deletions
14
Android.bp
14
Android.bp
|
|
@ -389,3 +389,17 @@ cc_library_static {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_test {
|
||||
name: "hevcdec",
|
||||
cflags: [
|
||||
"-DPROFILE_ENABLE",
|
||||
"-DARM",
|
||||
"-fPIC",
|
||||
"-DMD5_DISABLE",
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
],
|
||||
srcs: ["test/decoder/main.c"],
|
||||
static_libs: ["libhevcdec"],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# decoder
|
||||
include $(LOCAL_PATH)/decoder.mk
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := hevcdec
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-DPROFILE_ENABLE -DARM -fPIC -DMD5_DISABLE \
|
||||
-Wall -Werror
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../decoder $(LOCAL_PATH)/../common $(LOCAL_PATH)/
|
||||
LOCAL_SRC_FILES := decoder/main.c
|
||||
LOCAL_STATIC_LIBRARIES := libhevcdec
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue