blob: 9e604a1686a1badeb2bbe126b9f453ad562ba51d [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
19cc_defaults {
Sally Qi0435c6b2022-08-30 15:13:10 -070020 name: "android.hardware.graphics.allocator-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010021 target: {
22 linux: {
23 static_libs: [
24 "android.hardware.graphics.allocator-V2-ndk",
25 ],
26 },
27 },
John Reckcf8d8bc2022-12-19 16:35:22 -050028 defaults: [
29 "android.hardware.graphics.common-ndk_static",
30 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070031}
32
33cc_defaults {
34 name: "android.hardware.graphics.allocator-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010035 target: {
36 linux: {
37 shared_libs: [
38 "android.hardware.graphics.allocator-V2-ndk",
39 ],
40 },
41 },
John Reckcf8d8bc2022-12-19 16:35:22 -050042 defaults: [
43 "android.hardware.graphics.common-ndk_shared",
44 ],
Sally Qi0435c6b2022-08-30 15:13:10 -070045}
46
47cc_defaults {
Sally Qi784c2532022-08-22 13:50:32 -070048 name: "android.hardware.graphics.common-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010049 target: {
50 linux: {
51 static_libs: [
52 "android.hardware.graphics.common-V5-ndk",
53 ],
54 },
55 },
Sally Qi784c2532022-08-22 13:50:32 -070056}
57
58cc_defaults {
59 name: "android.hardware.graphics.common-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010060 target: {
61 linux: {
62 shared_libs: [
63 "android.hardware.graphics.common-V5-ndk",
64 ],
65 },
66 },
Sally Qi784c2532022-08-22 13:50:32 -070067}
68
69cc_defaults {
70 name: "android.hardware.graphics.composer3-ndk_static",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010071 target: {
72 linux: {
73 static_libs: [
74 "android.hardware.drm.common-V1-ndk",
75 "android.hardware.graphics.composer3-V4-ndk",
76 ],
77 },
78 },
Sally Qi784c2532022-08-22 13:50:32 -070079}
80
81cc_defaults {
82 name: "android.hardware.graphics.composer3-ndk_shared",
Jerome Gaillard9c50f3b2024-09-19 17:25:45 +010083 target: {
84 linux: {
85 shared_libs: [
86 "android.hardware.drm.common-V1-ndk",
87 "android.hardware.graphics.composer3-V4-ndk",
88 ],
89 },
90 },
Sally Qi784c2532022-08-22 13:50:32 -070091}