blob: ac5c17f1569a17b3b6b18500e9011faaa31df98e [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 Talvalaa65c9af2024-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",
38 static_libs: [
John Reck48c546c2022-11-15 16:29:21 -050039 "android.hardware.graphics.allocator-V2-ndk",
Sally Qi0435c6b2022-08-30 15:13:10 -070040 ],
John Reckcf8d8bc2022-12-19 16:35:22 -050041 defaults: [
42 "android.hardware.graphics.common-ndk_static",
43 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070044}
45
46cc_defaults {
47 name: "android.hardware.graphics.allocator-ndk_shared",
48 shared_libs: [
John Reck48c546c2022-11-15 16:29:21 -050049 "android.hardware.graphics.allocator-V2-ndk",
Sally Qi0435c6b2022-08-30 15:13:10 -070050 ],
John Reckcf8d8bc2022-12-19 16:35:22 -050051 defaults: [
52 "android.hardware.graphics.common-ndk_shared",
53 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070054}
55
Eino-Ville Talvalaa65c9af2024-10-16 17:48:22 -070056aidl_interface_defaults {
57 name: "android.hardware.graphics.common-latest",
58 imports: [
59 "android.hardware.graphics.common-V5",
60 ],
61}
62
63rust_defaults {
64 name: "android.hardware.graphics.common-latest-rust",
65 rustlibs: [
66 "android.hardware.graphics.common-V5-rust",
67 ],
68}
69
Sally Qi0435c6b2022-08-30 15:13:10 -070070cc_defaults {
Sally Qi784c2532022-08-22 13:50:32 -070071 name: "android.hardware.graphics.common-ndk_static",
72 static_libs: [
sergiuferentz7d7a24d2023-09-27 03:13:04 +000073 "android.hardware.graphics.common-V5-ndk",
Sally Qi784c2532022-08-22 13:50:32 -070074 ],
75}
76
77cc_defaults {
78 name: "android.hardware.graphics.common-ndk_shared",
79 shared_libs: [
sergiuferentz7d7a24d2023-09-27 03:13:04 +000080 "android.hardware.graphics.common-V5-ndk",
Sally Qi784c2532022-08-22 13:50:32 -070081 ],
82}
83
Eino-Ville Talvalaa65c9af2024-10-16 17:48:22 -070084aidl_interface_defaults {
85 name: "android.hardware.graphics.composer3-latest",
86 imports: [
87 "android.hardware.graphics.composer3-V4",
88 ],
89}
90
Sally Qi784c2532022-08-22 13:50:32 -070091cc_defaults {
92 name: "android.hardware.graphics.composer3-ndk_static",
93 static_libs: [
ramindanie50ed5d2023-06-29 19:54:40 -070094 "android.hardware.graphics.composer3-V3-ndk",
Sally Qi784c2532022-08-22 13:50:32 -070095 ],
96}
97
98cc_defaults {
99 name: "android.hardware.graphics.composer3-ndk_shared",
100 shared_libs: [
ramindanie50ed5d2023-06-29 19:54:40 -0700101 "android.hardware.graphics.composer3-V3-ndk",
Sally Qi784c2532022-08-22 13:50:32 -0700102 ],
103}