xref: /aosp_15_r20/hardware/interfaces/security/see/hdcp/aidl/trusty/drm/rust/rules.mk (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1# Copyright (C) 2024 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
16LOCAL_DIR := $(GET_LOCAL_DIR)
17
18MODULE := $(LOCAL_DIR)
19
20AIDL_DIR := hardware/interfaces/drm/aidl
21
22MODULE_AIDL_FLAGS := \
23	--stability=vintf \
24	--version=1 \
25
26MODULE_CRATE_NAME := android_hardware_drm
27
28MODULE_AIDL_LANGUAGE := rust
29
30MODULE_AIDL_PACKAGE := android/hardware/drm
31
32MODULE_AIDL_INCLUDES := \
33	-I $(AIDL_DIR) \
34
35MODULE_AIDLS := \
36    $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/HdcpLevel.aidl   \
37    $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/HdcpLevels.aidl   \
38
39include make/aidl.mk
40