The Android Open Source Project | b301ed2 | 2009-03-03 19:32:17 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2008 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 | LOCAL_PATH := $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 20 | LOCAL_RESOURCE_DIR := packages/apps/ExactCalculator/res |
| 21 | |
| 22 | ifeq ($(TARGET_BUILD_APPS),) |
| 23 | LOCAL_RESOURCE_DIR += frameworks/support/v7/gridlayout/res |
Justin Klaassen | f36ce92 | 2017-01-27 09:09:40 -0800 | [diff] [blame] | 24 | LOCAL_RESOURCE_DIR += frameworks/support/v7/recyclerview/res |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 25 | else |
| 26 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res |
Justin Klaassen | f36ce92 | 2017-01-27 09:09:40 -0800 | [diff] [blame] | 27 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 28 | endif |
| 29 | |
Jean-Baptiste Queru | 899c6b0 | 2010-01-05 11:09:51 -0800 | [diff] [blame] | 30 | LOCAL_MODULE_TAGS := optional |
Neel Parekh | d707a32 | 2009-10-28 10:34:11 -0700 | [diff] [blame] | 31 | LOCAL_SDK_VERSION := current |
| 32 | |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 33 | LOCAL_PACKAGE_NAME := ExactCalculator |
| 34 | LOCAL_OVERRIDES_PACKAGES := Calculator |
| 35 | |
Justin Klaassen | 01db51b | 2015-04-16 15:05:07 -0700 | [diff] [blame] | 36 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 37 | |
Hans Boehm | 75ca21c | 2015-03-11 18:43:24 -0700 | [diff] [blame] | 38 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Justin Klaassen | e5459bb | 2017-02-24 09:45:33 -0800 | [diff] [blame] | 39 | LOCAL_PROGUARD_FLAG_FILES += ../../../frameworks/support/v7/recyclerview/proguard-rules.pro |
Hans Boehm | 75ca21c | 2015-03-11 18:43:24 -0700 | [diff] [blame] | 40 | |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 41 | LOCAL_STATIC_JAVA_LIBRARIES := cr |
| 42 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 |
| 43 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout |
Justin Klaassen | f36ce92 | 2017-01-27 09:09:40 -0800 | [diff] [blame] | 44 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview |
Justin Klaassen | e564d23 | 2016-08-10 19:11:07 -0700 | [diff] [blame] | 45 | |
| 46 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 47 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.gridlayout |
Justin Klaassen | f36ce92 | 2017-01-27 09:09:40 -0800 | [diff] [blame] | 48 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview |
Hans Boehm | 8461495 | 2014-11-25 18:46:17 -0800 | [diff] [blame] | 49 | |
The Android Open Source Project | b301ed2 | 2009-03-03 19:32:17 -0800 | [diff] [blame] | 50 | include $(BUILD_PACKAGE) |