1# 2# Copyright (C) 2016 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17WORKING_DIR := $(call my-dir) 18include $(CLEAR_VARS) 19 20# build libopus.a 21LOCAL_PATH := $(WORKING_DIR) 22include libopus.mk 23 24# build libopusV2JNI.so 25include $(CLEAR_VARS) 26LOCAL_PATH := $(WORKING_DIR) 27LOCAL_MODULE := libopusV2JNI 28LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 29LOCAL_LICENSE_CONDITIONS := notice 30LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../LICENSE 31LOCAL_ARM_MODE := arm 32LOCAL_CPP_EXTENSION := .cc 33LOCAL_SRC_FILES := opus_jni.cc 34LOCAL_LDLIBS := -llog -lz -lm 35LOCAL_STATIC_LIBRARIES := libopus 36include $(BUILD_SHARED_LIBRARY) 37