blob: 7c7718ef97d2578556a9aae55ec0b83143a87bbf [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
Jaewan Kimc63d0062018-01-29 21:40:32 +090030LOCAL_SRC_FILES := \
31 $(call all-java-files-under, src) \
32 $(call all-Iaidl-files-under, src)
33
Christofer Ã…kerstencae43342017-12-20 17:59:35 +090034LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
35
Dongwon Kang3e6d2452017-06-29 15:21:53 -070036LOCAL_MULTILIB := first
37
Insun Kang080b9342018-01-17 23:03:48 +090038LOCAL_JAVA_LIBRARIES += android-support-annotations
39
Dongwon Kang3e6d2452017-06-29 15:21:53 -070040# To embed native libraries in package, uncomment the lines below.
Dongwon Kang767456d2018-01-19 16:26:19 -080041#LOCAL_MODULE_TAGS := samples
42#LOCAL_JNI_SHARED_LIBRARIES := \
43# libaacextractor \
44# libamrextractor \
45# libflacextractor \
46# libmidiextractor \
47# libmkvextractor \
48# libmp3extractor \
49# libmp4extractor \
50# libmpeg2extractor \
51# liboggextractor \
52# libwavextractor \
Dongwon Kang3e6d2452017-06-29 15:21:53 -070053
Sungsoo Lim692a5472018-01-17 15:11:07 +090054# TODO: Remove dependency with other support libraries.
55LOCAL_STATIC_ANDROID_LIBRARIES += \
56 android-support-v4 \
57 android-support-v7-appcompat \
58 android-support-v7-palette
59LOCAL_USE_AAPT2 := true
60
Dongwon Kang1fb1d312017-12-19 11:48:15 +090061include $(BUILD_PACKAGE)
Jaewan Kim35a6aa32018-01-21 20:54:43 +090062
63include $(call all-makefiles-under,$(LOCAL_PATH))