Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [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) |
| 19 | RES_DIR := app/src/main/res |
| 20 | |
| 21 | LOCAL_MODULE_TAGS := optional |
| 22 | |
Dirk Vogt | 707feff | 2016-07-21 12:01:03 +0200 | [diff] [blame] | 23 | LOCAL_JAVA_LIBRARIES := android-common |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 24 | |
Dirk Vogt | 707feff | 2016-07-21 12:01:03 +0200 | [diff] [blame] | 25 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-v7-appcompat \ |
| 26 | android-support-v4 |
| 27 | |
| 28 | |
| 29 | LOCAL_RESOURCE_DIR := frameworks/support/v7/appcompat/res \ |
| 30 | $(addprefix $(LOCAL_PATH)/, $(RES_DIR)) |
| 31 | |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 32 | LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main/java) $(call all-renderscript-files-under, app/src/main/java) |
Dirk Vogt | 707feff | 2016-07-21 12:01:03 +0200 | [diff] [blame] | 33 | LOCAL_SDK_VERSION := current |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 34 | |
| 35 | LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml |
| 36 | |
| 37 | LOCAL_PACKAGE_NAME := ProximitySensorTools |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 38 | |
Dirk Vogt | 707feff | 2016-07-21 12:01:03 +0200 | [diff] [blame] | 39 | LOCAL_CERTIFICATE := platform |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 40 | LOCAL_PRIVILEGED_MODULE := true |
| 41 | |
Dirk Vogt | 707feff | 2016-07-21 12:01:03 +0200 | [diff] [blame] | 42 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 43 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat |
Maarten Derks | db352f3 | 2016-07-15 17:32:05 +0200 | [diff] [blame] | 44 | include $(BUILD_PACKAGE) |