blob: 2213f15b1c5af3c14699d62804e771530d80742d [file] [log] [blame]
Sally Qi784c2532022-08-22 13:50:32 -07001// Copyright (C) 2022 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
15package {
16 default_applicable_licenses: ["hardware_interfaces_license"],
17}
18
Eino-Ville Talvala50b91572024-10-16 17:48:22 -070019aidl_interface_defaults {
20 name: "android.hardware.graphics.allocator-latest",
21 imports: [
22 "android.hardware.graphics.allocator-V2",
23 ],
24}
25
26rust_defaults {
27 name: "android.hardware.graphics.allocator-latest-rust",
28 rustlibs: [
29 "android.hardware.graphics.allocator-V2-rust",
30 ],
31 defaults: [
32 "android.hardware.graphics.common-latest-rust",
33 ],
34}
35
Sally Qi784c2532022-08-22 13:50:32 -070036cc_defaults {
Sally Qi0435c6b2022-08-30 15:13:10 -070037 name: "android.hardware.graphics.allocator-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010038 target: {
39 linux: {
40 static_libs: [
41 "android.hardware.graphics.allocator-V2-ndk",
42 ],
43 },
44 },
John Reckcf8d8bc2022-12-19 16:35:22 -050045 defaults: [
46 "android.hardware.graphics.common-ndk_static",
47 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070048}
49
50cc_defaults {
51 name: "android.hardware.graphics.allocator-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010052 target: {
53 linux: {
54 shared_libs: [
55 "android.hardware.graphics.allocator-V2-ndk",
56 ],
57 },
58 },
John Reckcf8d8bc2022-12-19 16:35:22 -050059 defaults: [
60 "android.hardware.graphics.common-ndk_shared",
61 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070062}
63
Eino-Ville Talvala50b91572024-10-16 17:48:22 -070064aidl_interface_defaults {
65 name: "android.hardware.graphics.common-latest",
66 imports: [
Eino-Ville Talvala12a95752024-10-16 17:50:42 -070067 "android.hardware.graphics.common-V6",
Eino-Ville Talvala50b91572024-10-16 17:48:22 -070068 ],
69}
70
71rust_defaults {
72 name: "android.hardware.graphics.common-latest-rust",
73 rustlibs: [
Eino-Ville Talvala12a95752024-10-16 17:50:42 -070074 "android.hardware.graphics.common-V6-rust",
Eino-Ville Talvala50b91572024-10-16 17:48:22 -070075 ],
76}
77
Sally Qi0435c6b2022-08-30 15:13:10 -070078cc_defaults {
Sally Qi784c2532022-08-22 13:50:32 -070079 name: "android.hardware.graphics.common-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010080 target: {
81 linux: {
82 static_libs: [
Eino-Ville Talvala12a95752024-10-16 17:50:42 -070083 "android.hardware.graphics.common-V6-ndk",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010084 ],
85 },
86 },
Sally Qi784c2532022-08-22 13:50:32 -070087}
88
89cc_defaults {
90 name: "android.hardware.graphics.common-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010091 target: {
92 linux: {
93 shared_libs: [
Eino-Ville Talvala12a95752024-10-16 17:50:42 -070094 "android.hardware.graphics.common-V6-ndk",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010095 ],
96 },
97 },
Sally Qi784c2532022-08-22 13:50:32 -070098}
99
Eino-Ville Talvala50b91572024-10-16 17:48:22 -0700100aidl_interface_defaults {
101 name: "android.hardware.graphics.composer3-latest",
102 imports: [
103 "android.hardware.graphics.composer3-V4",
104 ],
105}
106
Sally Qi784c2532022-08-22 13:50:32 -0700107cc_defaults {
108 name: "android.hardware.graphics.composer3-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +0100109 target: {
110 linux: {
111 static_libs: [
112 "android.hardware.drm.common-V1-ndk",
113 "android.hardware.graphics.composer3-V4-ndk",
114 ],
115 },
116 },
Sally Qi784c2532022-08-22 13:50:32 -0700117}
118
119cc_defaults {
120 name: "android.hardware.graphics.composer3-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +0100121 target: {
122 linux: {
123 shared_libs: [
124 "android.hardware.drm.common-V1-ndk",
125 "android.hardware.graphics.composer3-V4-ndk",
126 ],
127 },
128 },
Sally Qi784c2532022-08-22 13:50:32 -0700129}