165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# Copyright (C) 2014 The Android Open Source Project
265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane#
365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# Licensed under the Apache License, Version 2.0 (the "License");
465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# you may not use this file except in compliance with the License.
565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# You may obtain a copy of the License at
665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane#
765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane#      http://www.apache.org/licenses/LICENSE-2.0
865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane#
965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# Unless required by applicable law or agreed to in writing, software
1065a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# distributed under the License is distributed on an "AS IS" BASIS,
1165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# See the License for the specific language governing permissions and
1365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane# limitations under the License.
1465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
1565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_PATH := $(call my-dir)
1665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
1765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Laneinclude $(CLEAR_VARS)
1865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
1965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_PACKAGE_NAME := TvSettings
2065a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_CERTIFICATE := platform
2165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_MODULE_TAGS := optional
2265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_PROGUARD_FLAG_FILES := proguard.cfg
2365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
2465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_PRIVILEGED_MODULE := true
2565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
2665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_STATIC_JAVA_LIBRARIES := \
2765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    android-support-v7-recyclerview \
2865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    android-support-v13 \
2965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    android-support-v17-leanback
3065a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
3165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_RESOURCE_DIR := \
3265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    $(TOP)/frameworks/support/v17/leanback/res \
339f9802948fb77c712753dff2a8540cd945acaaedDeepanshu Gupta    $(TOP)/frameworks/support/v7/recyclerview/res \
3465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    $(LOCAL_PATH)/res
3565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
369f9802948fb77c712753dff2a8540cd945acaaedDeepanshu GuptaLOCAL_AAPT_FLAGS := --auto-add-overlay \
379f9802948fb77c712753dff2a8540cd945acaaedDeepanshu Gupta    --extra-packages android.support.v17.leanback:android.support.v7.recyclerview
3865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
3965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher LaneLOCAL_SRC_FILES := \
4065a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    $(call all-java-files-under, src) \
4165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane    $(call all-Iaidl-files-under, src)
4265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane
43ae7ec950a70894efcae68d1f47061ac7631c56f1Tony Mantlerinclude frameworks/base/packages/SettingsLib/common.mk
44ae7ec950a70894efcae68d1f47061ac7631c56f1Tony Mantler
4565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Laneinclude $(BUILD_PACKAGE)
46