blob: 03f515345d262a526bb3a7ca2ac9eb6363b91a63 [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
24else
25LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res
26endif
27
Jean-Baptiste Queru899c6b02010-01-05 11:09:51 -080028LOCAL_MODULE_TAGS := optional
Neel Parekhd707a322009-10-28 10:34:11 -070029LOCAL_SDK_VERSION := current
30
Justin Klaassene564d232016-08-10 19:11:07 -070031LOCAL_PACKAGE_NAME := ExactCalculator
32LOCAL_OVERRIDES_PACKAGES := Calculator
33
Justin Klaassen01db51b2015-04-16 15:05:07 -070034LOCAL_SRC_FILES := $(call all-java-files-under, src)
35
Hans Boehm75ca21c2015-03-11 18:43:24 -070036LOCAL_PROGUARD_FLAG_FILES := proguard.flags
37
Justin Klaassene564d232016-08-10 19:11:07 -070038LOCAL_STATIC_JAVA_LIBRARIES := cr
39LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
40LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout
41
42LOCAL_AAPT_FLAGS := --auto-add-overlay
43LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.gridlayout
44
The Android Open Source Projectb301ed22009-03-03 19:32:17 -080045include $(BUILD_PACKAGE)
Hans Boehm75ca21c2015-03-11 18:43:24 -070046
47include $(call all-makefiles-under,$(LOCAL_PATH))