blob: 5b92157e87340ffb92f71cd2a14fce57daff375a [file] [log] [blame]
The Android Open Source Projectb301ed22009-03-03 19:32:17 -08001#
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
17LOCAL_PATH := $(call my-dir)
18include $(CLEAR_VARS)
19
Justin Klaassene564d232016-08-10 19:11:07 -070020LOCAL_RESOURCE_DIR := packages/apps/ExactCalculator/res
21
22ifeq ($(TARGET_BUILD_APPS),)
23LOCAL_RESOURCE_DIR += frameworks/support/v7/gridlayout/res
Justin Klaassenf36ce922017-01-27 09:09:40 -080024LOCAL_RESOURCE_DIR += frameworks/support/v7/recyclerview/res
Justin Klaassene564d232016-08-10 19:11:07 -070025else
26LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res
Justin Klaassenf36ce922017-01-27 09:09:40 -080027LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res
Justin Klaassene564d232016-08-10 19:11:07 -070028endif
29
Jean-Baptiste Queru899c6b02010-01-05 11:09:51 -080030LOCAL_MODULE_TAGS := optional
Neel Parekhd707a322009-10-28 10:34:11 -070031LOCAL_SDK_VERSION := current
32
Justin Klaassene564d232016-08-10 19:11:07 -070033LOCAL_PACKAGE_NAME := ExactCalculator
34LOCAL_OVERRIDES_PACKAGES := Calculator
35
Justin Klaassen01db51b2015-04-16 15:05:07 -070036LOCAL_SRC_FILES := $(call all-java-files-under, src)
37
Hans Boehm75ca21c2015-03-11 18:43:24 -070038LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Justin Klaassene5459bb2017-02-24 09:45:33 -080039LOCAL_PROGUARD_FLAG_FILES += ../../../frameworks/support/v7/recyclerview/proguard-rules.pro
Hans Boehm75ca21c2015-03-11 18:43:24 -070040
Justin Klaassene564d232016-08-10 19:11:07 -070041LOCAL_STATIC_JAVA_LIBRARIES := cr
42LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
43LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout
Justin Klaassenf36ce922017-01-27 09:09:40 -080044LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
Justin Klaassene564d232016-08-10 19:11:07 -070045
46LOCAL_AAPT_FLAGS := --auto-add-overlay
47LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.gridlayout
Justin Klaassenf36ce922017-01-27 09:09:40 -080048LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview
Hans Boehm84614952014-11-25 18:46:17 -080049
The Android Open Source Projectb301ed22009-03-03 19:32:17 -080050include $(BUILD_PACKAGE)