blob: 5abf9296425cf4cce88caeb5e3777e4f4034f961 [file] [log] [blame]
Benson Huanga8b6afc2014-11-20 15:42:26 +08001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
Benson Huanga8b6afc2014-11-20 15:42:26 +080018
19LOCAL_PACKAGE_NAME := FMRadio
nift4a71ab2c2023-05-11 20:39:13 +020020LOCAL_MODULE_TAGS := optional
Anton Hanssonf46ec382018-02-21 14:11:44 +000021
nift4a71ab2c2023-05-11 20:39:13 +020022LOCAL_SRC_FILES := $(call all-java-files-under, src)
23LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
24
25LOCAL_CERTIFICATE := platform
Anton Hanssonf46ec382018-02-21 14:11:44 +000026LOCAL_PRIVATE_PLATFORM_APIS := true
nift4a71ab2c2023-05-11 20:39:13 +020027LOCAL_PRIVILEGED_MODULE := true
Anton Hanssonf46ec382018-02-21 14:11:44 +000028
Benson Huanga8b6afc2014-11-20 15:42:26 +080029LOCAL_JNI_SHARED_LIBRARIES := libfmjni
30
nift425b8ce22023-05-11 23:21:40 +020031LOCAL_REQUIRED_MODULES := \
32 privapp_whitelist_com.android.fmradio.xml \
33 FmRecordingsProvider
nift4a71ab2c2023-05-11 20:39:13 +020034LOCAL_STATIC_ANDROID_LIBRARIES := \
35 androidx.cardview_cardview
36
37LOCAL_PROGUARD_ENABLED := disabled
38LOCAL_USE_AAPT2 := true
39LOCAL_AAPT_FLAGS := --auto-add-overlay
Michael Bestas720ac702020-05-06 20:05:14 +030040
Benson Huanga8b6afc2014-11-20 15:42:26 +080041include $(BUILD_PACKAGE)
42
Michael Bestas720ac702020-05-06 20:05:14 +030043include $(CLEAR_VARS)
44LOCAL_MODULE := privapp_whitelist_com.android.fmradio.xml
45LOCAL_MODULE_CLASS := ETC
46LOCAL_MODULE_TAGS := optional
47LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
48LOCAL_SRC_FILES := $(LOCAL_MODULE)
49include $(BUILD_PREBUILT)
50
Benson Huanga8b6afc2014-11-20 15:42:26 +080051include $(call all-makefiles-under,$(LOCAL_PATH))