Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | ifeq ($(TARGET_BUILD_APPS),) |
| 19 | support_library_root_dir := frameworks/support |
| 20 | else |
| 21 | support_library_root_dir := prebuilts/sdk/current/support |
| 22 | endif |
| 23 | |
| 24 | LOCAL_MODULE_TAGS := eng |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 25 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-v14-preference \ |
mariagpuyol | aee2378 | 2016-02-16 13:29:49 -0800 | [diff] [blame] | 26 | android-support-v13 \ |
| 27 | android-support-v7-appcompat \ |
Colin Cross | 6b50ee3 | 2017-01-06 12:02:35 -0800 | [diff] [blame] | 28 | android-support-v7-preference \ |
| 29 | android-support-v7-recyclerview \ |
| 30 | android-support-v4 \ |
| 31 | android-support-design \ |
| 32 | android-support-transition |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 33 | |
| 34 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 35 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res \ |
Colin Cross | 6b50ee3 | 2017-01-06 12:02:35 -0800 | [diff] [blame] | 36 | $(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)/v14/preference/res \ |
| 41 | $(support_library_root_dir)/design/res \ |
| 42 | $(support_library_root_dir)/transition/res |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 43 | |
| 44 | LOCAL_AAPT_FLAGS := --auto-add-overlay \ |
mariagpuyol | aee2378 | 2016-02-16 13:29:49 -0800 | [diff] [blame] | 45 | --extra-packages android.support.v7.preference \ |
| 46 | --extra-packages android.support.v14.preference \ |
| 47 | --extra-packages android.support.v7.appcompat \ |
| 48 | --extra-packages android.support.v7.recyclerview \ |
Colin Cross | 6b50ee3 | 2017-01-06 12:02:35 -0800 | [diff] [blame] | 49 | --extra-packages android.support.design \ |
| 50 | --extra-packages android.support.transition |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 51 | |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 52 | LOCAL_PACKAGE_NAME := EmergencyInfo |
| 53 | LOCAL_CERTIFICATE := platform |
| 54 | LOCAL_PRIVILEGED_MODULE := true |
| 55 | |
Allen Hair | ba7ea36 | 2016-08-25 15:31:51 -0700 | [diff] [blame] | 56 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.emergency.* |
| 57 | |
Juan Lang | 9ea75a4 | 2017-04-27 15:29:43 -0700 | [diff] [blame^] | 58 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 59 | |
Akshay Kannan | cdb6c14 | 2016-01-20 18:25:44 -0800 | [diff] [blame] | 60 | include $(BUILD_PACKAGE) |
mariagpuyol | 9109578 | 2016-03-24 17:52:28 -0700 | [diff] [blame] | 61 | |
| 62 | include $(call all-makefiles-under,$(LOCAL_PATH)) |