1# 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 17# This package is excluded from build for now since APIs using this apk became hidden. 18# 19#LOCAL_PATH := $(call my-dir) 20#ifneq ($(TARGET_BUILD_PDK),true) # Build MediaComponents only if this is not a PDK build. MediaComponents won't 21## build in PDK builds because frameworks/base/core/java is not available but 22## IMediaSession2.aidl and IMediaController2.aidl are using classes from 23## frameworks/base/core/java. 24# 25#include $(CLEAR_VARS) 26# 27#LOCAL_PACKAGE_NAME := MediaComponents 28#LOCAL_MODULE_OWNER := google 29# 30## TODO: create a separate key for this package. 31#LOCAL_CERTIFICATE := platform 32# 33## TODO: Use System SDK once public APIs are approved 34## LOCAL_SDK_VERSION := system_current 35#LOCAL_PRIVATE_PLATFORM_APIS := true 36# 37#LOCAL_SRC_FILES := \ 38# $(call all-java-files-under, src) \ 39# $(call all-Iaidl-files-under, src) 40# 41#LOCAL_PROGUARD_FLAG_FILES := proguard.cfg 42# 43#LOCAL_MULTILIB := first 44# 45#LOCAL_JAVA_LIBRARIES += android-support-annotations 46# 47## To embed native libraries in package, uncomment the lines below. 48##LOCAL_MODULE_TAGS := samples 49##LOCAL_JNI_SHARED_LIBRARIES := \ 50## libaacextractor \ 51## libamrextractor \ 52## libflacextractor \ 53## libmidiextractor \ 54## libmkvextractor \ 55## libmp3extractor \ 56## libmp4extractor \ 57## libmpeg2extractor \ 58## liboggextractor \ 59## libwavextractor \ 60# 61## TODO: Remove dependency with other support libraries. 62#LOCAL_STATIC_ANDROID_LIBRARIES += \ 63# android-support-v4 \ 64# android-support-v7-appcompat \ 65# android-support-v7-palette 66#LOCAL_USE_AAPT2 := true 67# 68#include $(BUILD_PACKAGE) 69# 70#endif # ifneq ($(TARGET_BUILD_PDK),true) 71# 72#include $(call all-makefiles-under,$(LOCAL_PATH)) 73