blob: e5aa05f4763c2ef89f9a379f9968abf38c17f4a5 [file] [log] [blame]
Akshay Kannancdb6c142016-01-20 18:25:44 -08001# Copyright (C) 2016 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
17
18ifeq ($(TARGET_BUILD_APPS),)
19support_library_root_dir := frameworks/support
20else
21support_library_root_dir := prebuilts/sdk/current/support
22endif
23
24LOCAL_MODULE_TAGS := eng
mariagpuyol4ca9a492016-01-21 13:50:24 -080025LOCAL_JAVA_LIBRARIES := framework
Akshay Kannancdb6c142016-01-20 18:25:44 -080026LOCAL_STATIC_JAVA_LIBRARIES := android-support-v14-preference \
mariagpuyolaee23782016-02-16 13:29:49 -080027 android-support-v13 \
28 android-support-v7-appcompat \
29 android-support-v7-preference \
30 android-support-v7-recyclerview \
31 android-support-v4 \
32 android-support-design
Akshay Kannancdb6c142016-01-20 18:25:44 -080033
34LOCAL_SRC_FILES := $(call all-java-files-under, src)
35LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res \
mariagpuyolaee23782016-02-16 13:29:49 -080036 $(support_library_root_dir)/v7/appcompat/res \
37 $(support_library_root_dir)/v7/preference/res \
38 $(support_library_root_dir)/v7/recyclerview/res \
39 $(support_library_root_dir)/v14/preference/res \
40 $(support_library_root_dir)/design/res
Akshay Kannancdb6c142016-01-20 18:25:44 -080041
42LOCAL_AAPT_FLAGS := --auto-add-overlay \
mariagpuyolaee23782016-02-16 13:29:49 -080043 --extra-packages android.support.v7.preference \
44 --extra-packages android.support.v14.preference \
45 --extra-packages android.support.v7.appcompat \
46 --extra-packages android.support.v7.recyclerview \
47 --extra-packages android.support.design
Akshay Kannancdb6c142016-01-20 18:25:44 -080048
49LOCAL_SDK_VERSION := current
50LOCAL_PACKAGE_NAME := EmergencyInfo
51LOCAL_CERTIFICATE := platform
52LOCAL_PRIVILEGED_MODULE := true
53
54include $(BUILD_PACKAGE)