blob: bf5d31963476c3608b33614907127902d0f29fd8 [file] [log] [blame]
Maarten Derksdb352f32016-07-15 17:32:05 +02001#
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)
19RES_DIR := app/src/main/res
20
21LOCAL_MODULE_TAGS := optional
22
Dirk Vogt707feff2016-07-21 12:01:03 +020023LOCAL_JAVA_LIBRARIES := android-common
Maarten Derksdb352f32016-07-15 17:32:05 +020024
Dirk Vogt707feff2016-07-21 12:01:03 +020025LOCAL_STATIC_JAVA_LIBRARIES := android-support-v7-appcompat \
26 android-support-v4
27
28
29LOCAL_RESOURCE_DIR := frameworks/support/v7/appcompat/res \
30 $(addprefix $(LOCAL_PATH)/, $(RES_DIR))
31
Maarten Derksdb352f32016-07-15 17:32:05 +020032LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main/java) $(call all-renderscript-files-under, app/src/main/java)
Dirk Vogt707feff2016-07-21 12:01:03 +020033LOCAL_SDK_VERSION := current
Maarten Derksdb352f32016-07-15 17:32:05 +020034
35LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml
36
37LOCAL_PACKAGE_NAME := ProximitySensorTools
Maarten Derksdb352f32016-07-15 17:32:05 +020038
Dirk Vogt707feff2016-07-21 12:01:03 +020039LOCAL_CERTIFICATE := platform
Maarten Derksdb352f32016-07-15 17:32:05 +020040LOCAL_PRIVILEGED_MODULE := true
41
Dirk Vogt707feff2016-07-21 12:01:03 +020042LOCAL_AAPT_FLAGS := --auto-add-overlay
43LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
Maarten Derksdb352f32016-07-15 17:32:05 +020044include $(BUILD_PACKAGE)