Skip to content
Snippets Groups Projects
Commit 756d190e authored by Yuntao Xu's avatar Yuntao Xu Committed by Automerger Merge Worker
Browse files

Merge "Convert jni/Android.mk to Android.bp" am: 01b8e3e9 am: 4bcb4230

Original change: https://android-review.googlesource.com/c/platform/external/v4l2_codec2/+/1869664

Change-Id: I41f9308dd1216fba64bfbc6dac4a67cb53387d57
parents 446a4c8c 4bcb4230
No related branches found
No related tags found
No related merge requests found
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package {
// See: http://go/android-license-faq
default_applicable_licenses: [
"external_v4l2_codec2_license",
],
}
cc_library_shared {
name: "libcodectest",
srcs: [
"video_encoder_e2e_test.cpp",
"video_decoder_e2e_test.cpp",
"e2e_test_jni.cpp",
"common.cpp",
"encoded_data_helper.cpp",
"video_frame.cpp",
"md5.cpp",
"mediacodec_encoder.cpp",
"mediacodec_decoder.cpp",
],
shared_libs: [
"liblog",
"libmediandk",
"libandroid",
],
header_libs: ["liblog_headers"],
sdk_version: "28",
stl: "c++_static",
static_libs: ["libgtest_ndk_c++"],
// TODO(stevensd): Fix and reenable warnings
cflags: ["-Wno-everything"],
}
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
video_encoder_e2e_test.cpp \
video_decoder_e2e_test.cpp \
e2e_test_jni.cpp \
common.cpp \
encoded_data_helper.cpp \
video_frame.cpp \
md5.cpp \
mediacodec_encoder.cpp \
mediacodec_decoder.cpp \
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := \
liblog \
libmediandk \
libandroid \
LOCAL_HEADER_LIBRARIES := liblog_headers
LOCAL_SDK_VERSION := 28
LOCAL_NDK_STL_VARIANT := c++_static
LOCAL_STATIC_LIBRARIES := libgtest_ndk_c++
LOCAL_MODULE := libcodectest
LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD legacy_unencumbered
LOCAL_LICENSE_CONDITIONS := notice unencumbered
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../NOTICE
# TODO(stevensd): Fix and reenable warnings
LOCAL_CFLAGS += -Wno-everything
include $(BUILD_SHARED_LIBRARY)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment