Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 1 | # Copyright (C) 2014 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 18 | |
| 19 | LOCAL_PACKAGE_NAME := FMRadio |
nift4 | a71ab2c | 2023-05-11 20:39:13 +0200 | [diff] [blame] | 20 | LOCAL_MODULE_TAGS := optional |
Anton Hansson | f46ec38 | 2018-02-21 14:11:44 +0000 | [diff] [blame] | 21 | |
nift4 | a71ab2c | 2023-05-11 20:39:13 +0200 | [diff] [blame] | 22 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 23 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 24 | |
| 25 | LOCAL_CERTIFICATE := platform |
Anton Hansson | f46ec38 | 2018-02-21 14:11:44 +0000 | [diff] [blame] | 26 | LOCAL_PRIVATE_PLATFORM_APIS := true |
nift4 | a71ab2c | 2023-05-11 20:39:13 +0200 | [diff] [blame] | 27 | LOCAL_PRIVILEGED_MODULE := true |
Anton Hansson | f46ec38 | 2018-02-21 14:11:44 +0000 | [diff] [blame] | 28 | |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 29 | LOCAL_JNI_SHARED_LIBRARIES := libfmjni |
| 30 | |
nift4 | 25b8ce2 | 2023-05-11 23:21:40 +0200 | [diff] [blame] | 31 | LOCAL_REQUIRED_MODULES := \ |
| 32 | privapp_whitelist_com.android.fmradio.xml \ |
| 33 | FmRecordingsProvider |
nift4 | a71ab2c | 2023-05-11 20:39:13 +0200 | [diff] [blame] | 34 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 35 | androidx.cardview_cardview |
| 36 | |
| 37 | LOCAL_PROGUARD_ENABLED := disabled |
| 38 | LOCAL_USE_AAPT2 := true |
| 39 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
Michael Bestas | 720ac70 | 2020-05-06 20:05:14 +0300 | [diff] [blame] | 40 | |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 41 | include $(BUILD_PACKAGE) |
| 42 | |
Michael Bestas | 720ac70 | 2020-05-06 20:05:14 +0300 | [diff] [blame] | 43 | include $(CLEAR_VARS) |
| 44 | LOCAL_MODULE := privapp_whitelist_com.android.fmradio.xml |
| 45 | LOCAL_MODULE_CLASS := ETC |
| 46 | LOCAL_MODULE_TAGS := optional |
| 47 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions |
| 48 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 49 | include $(BUILD_PREBUILT) |
| 50 | |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 51 | include $(call all-makefiles-under,$(LOCAL_PATH)) |