Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [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) |
Maarten Derks | 8d5a713 | 2016-06-07 15:51:53 +0200 | [diff] [blame] | 19 | RES_DIR := app/src/main/res |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 20 | |
| 21 | LOCAL_MODULE_TAGS := optional |
| 22 | |
Filipe Gonçalves | b40bfc1 | 2014-11-10 18:13:04 +0000 | [diff] [blame] | 23 | LOCAL_STATIC_JAVA_LIBRARIES := android-common android-support-v4 roottoolslib fpucrashlytics |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 24 | |
Maarten Derks | 8d5a713 | 2016-06-07 15:51:53 +0200 | [diff] [blame] | 25 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIR)) |
| 26 | LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main/java) $(call all-renderscript-files-under, app/src/main/java) |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 27 | #LOCAL_SDK_VERSION := current |
| 28 | |
Maarten Derks | 8d5a713 | 2016-06-07 15:51:53 +0200 | [diff] [blame] | 29 | LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml |
| 30 | |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 31 | LOCAL_PACKAGE_NAME := FairphoneUpdater |
| 32 | LOCAL_CERTIFICATE := platform |
| 33 | |
Filipe Gonçalves | b40bfc1 | 2014-11-10 18:13:04 +0000 | [diff] [blame] | 34 | LOCAL_PRIVILEGED_MODULE := true |
| 35 | |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 36 | include $(BUILD_PACKAGE) |
| 37 | |
Jose Pascoal | 48822c1 | 2014-06-24 19:00:48 +0100 | [diff] [blame] | 38 | include $(CLEAR_VARS) |
| 39 | |
Maarten Derks | 8d5a713 | 2016-06-07 15:51:53 +0200 | [diff] [blame] | 40 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := roottoolslib:app/libs/RootTools-3.3.jar fpucrashlytics:app/libs/crashlytics.jar |
Jose Pascoal | 48822c1 | 2014-06-24 19:00:48 +0100 | [diff] [blame] | 41 | |
| 42 | include $(BUILD_MULTI_PREBUILT) |
| 43 | |
Kim Hansen | 086964d | 2013-12-10 11:33:28 +0000 | [diff] [blame] | 44 | include $(call all-makefiles-under,$(LOCAL_PATH)) |