blob: 6c408c3a803ed4b87a245c2256e675a54f2ae0fc [file] [log] [blame]
Dongwon Kang1fb1d312017-12-19 11:48:15 +09001#
2# Copyright 2017 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
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
Marco Nelissen73a2b252018-01-17 12:43:45 -080021LOCAL_PACKAGE_NAME := MediaComponents
Dongwon Kang1fb1d312017-12-19 11:48:15 +090022LOCAL_MODULE_OWNER := google
Dongwon Kang1fb1d312017-12-19 11:48:15 +090023
24# TODO: create a separate key for this package.
25LOCAL_CERTIFICATE := platform
26
Christofer Ã…kerstencae43342017-12-20 17:59:35 +090027# TODO: Use System SDK once public APIs are approved
28# LOCAL_SDK_VERSION := system_current
29
30LOCAL_SRC_FILES := $(call all-java-files-under, src)
31LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
32
Dongwon Kang3e6d2452017-06-29 15:21:53 -070033LOCAL_MULTILIB := first
34
35# Embed native libraries in package, rather than installing to /system/lib*.
Dongwon Kangd73a1d92018-01-16 17:28:55 -080036# TODO: Find a right way to include libs in the apk. b/72066556
Dongwon Kang3e6d2452017-06-29 15:21:53 -070037LOCAL_MODULE_TAGS := samples
38
39# To embed native libraries in package, uncomment the lines below.
40LOCAL_JNI_SHARED_LIBRARIES := \
41 libaacextractor \
42 libamrextractor \
43 libflacextractor \
44 libmidiextractor \
45 libmkvextractor \
46 libmp3extractor \
47 libmp4extractor \
48 libmpeg2extractor \
49 liboggextractor \
50 libwavextractor \
51
Sungsoo Lim692a5472018-01-17 15:11:07 +090052# TODO: Remove dependency with other support libraries.
53LOCAL_STATIC_ANDROID_LIBRARIES += \
54 android-support-v4 \
55 android-support-v7-appcompat \
56 android-support-v7-palette
57LOCAL_USE_AAPT2 := true
58
Dongwon Kang1fb1d312017-12-19 11:48:15 +090059include $(BUILD_PACKAGE)