blob: e19386dd074f312bb531c05dacf9846277f65128 [file] [log] [blame]
Franz Geigerf998afe2017-08-23 12:48:13 +02001#
2# Copyright (C) 2016 Fairphone B.V.
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)
18
19#
20# Build app code.
21#
22include $(CLEAR_VARS)
23
24LOCAL_MODULE_TAGS := optional
25
26LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main/java)
27
28LOCAL_JAVA_LIBRARIES := android-common\
29
30LOCAL_STATIC_JAVA_LIBRARIES := \
31 android-support-v7-appcompat \
32 android-support-v4
33
34LOCAL_MANIFEST_FILE = app/src/main/AndroidManifest.xml
35LOCAL_AAPT_FLAGS := --auto-add-overlay
36LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
37
38LOCAL_RESOURCE_DIR := \
39 frameworks/support/v7/appcompat/res \
40 $(LOCAL_PATH)/app/src/main/res
41
42LOCAL_SDK_VERSION := current
43
44LOCAL_PACKAGE_NAME := CameraSwapInfo
45
46include $(BUILD_PACKAGE)