blob: 787532e60a92a3e5e0f94d29edd2ee00c56f1495 [file] [log] [blame]
Kim Hansen086964d2013-12-10 11:33:28 +00001#
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)
Maarten Derks8d5a7132016-06-07 15:51:53 +020019RES_DIR := app/src/main/res
Kim Hansen086964d2013-12-10 11:33:28 +000020
21LOCAL_MODULE_TAGS := optional
22
Filipe Gonçalvesb40bfc12014-11-10 18:13:04 +000023LOCAL_STATIC_JAVA_LIBRARIES := android-common android-support-v4 roottoolslib fpucrashlytics
Kim Hansen086964d2013-12-10 11:33:28 +000024
Maarten Derks8d5a7132016-06-07 15:51:53 +020025LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIR))
26LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main/java) $(call all-renderscript-files-under, app/src/main/java)
Kim Hansen086964d2013-12-10 11:33:28 +000027#LOCAL_SDK_VERSION := current
28
Maarten Derks8d5a7132016-06-07 15:51:53 +020029LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml
30
Kim Hansen086964d2013-12-10 11:33:28 +000031LOCAL_PACKAGE_NAME := FairphoneUpdater
32LOCAL_CERTIFICATE := platform
33
Filipe Gonçalvesb40bfc12014-11-10 18:13:04 +000034LOCAL_PRIVILEGED_MODULE := true
35
Kim Hansen086964d2013-12-10 11:33:28 +000036include $(BUILD_PACKAGE)
37
Jose Pascoal48822c12014-06-24 19:00:48 +010038include $(CLEAR_VARS)
39
Maarten Derks8d5a7132016-06-07 15:51:53 +020040LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := roottoolslib:app/libs/RootTools-3.3.jar fpucrashlytics:app/libs/crashlytics.jar
Jose Pascoal48822c12014-06-24 19:00:48 +010041
42include $(BUILD_MULTI_PREBUILT)
43
Kim Hansen086964d2013-12-10 11:33:28 +000044include $(call all-makefiles-under,$(LOCAL_PATH))