Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 17 | } |
| 18 | |
| 19 | cc_defaults { |
Sally Qi | 0435c6b | 2022-08-30 15:13:10 -0700 | [diff] [blame] | 20 | name: "android.hardware.graphics.allocator-ndk_static", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 21 | target: { |
| 22 | linux: { |
| 23 | static_libs: [ |
| 24 | "android.hardware.graphics.allocator-V2-ndk", |
| 25 | ], |
| 26 | }, |
| 27 | }, |
John Reck | cf8d8bc | 2022-12-19 16:35:22 -0500 | [diff] [blame] | 28 | defaults: [ |
| 29 | "android.hardware.graphics.common-ndk_static", |
| 30 | ], |
Sally Qi | 0435c6b | 2022-08-30 15:13:10 -0700 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | cc_defaults { |
| 34 | name: "android.hardware.graphics.allocator-ndk_shared", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 35 | target: { |
| 36 | linux: { |
| 37 | shared_libs: [ |
| 38 | "android.hardware.graphics.allocator-V2-ndk", |
| 39 | ], |
| 40 | }, |
| 41 | }, |
John Reck | cf8d8bc | 2022-12-19 16:35:22 -0500 | [diff] [blame] | 42 | defaults: [ |
| 43 | "android.hardware.graphics.common-ndk_shared", |
| 44 | ], |
Sally Qi | 0435c6b | 2022-08-30 15:13:10 -0700 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | cc_defaults { |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 48 | name: "android.hardware.graphics.common-ndk_static", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 49 | target: { |
| 50 | linux: { |
| 51 | static_libs: [ |
| 52 | "android.hardware.graphics.common-V5-ndk", |
| 53 | ], |
| 54 | }, |
| 55 | }, |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | cc_defaults { |
| 59 | name: "android.hardware.graphics.common-ndk_shared", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 60 | target: { |
| 61 | linux: { |
| 62 | shared_libs: [ |
| 63 | "android.hardware.graphics.common-V5-ndk", |
| 64 | ], |
| 65 | }, |
| 66 | }, |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | cc_defaults { |
| 70 | name: "android.hardware.graphics.composer3-ndk_static", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 71 | target: { |
| 72 | linux: { |
| 73 | static_libs: [ |
| 74 | "android.hardware.drm.common-V1-ndk", |
| 75 | "android.hardware.graphics.composer3-V4-ndk", |
| 76 | ], |
| 77 | }, |
| 78 | }, |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | cc_defaults { |
| 82 | name: "android.hardware.graphics.composer3-ndk_shared", |
Jerome Gaillard | 9c50f3b | 2024-09-19 17:25:45 +0100 | [diff] [blame] | 83 | target: { |
| 84 | linux: { |
| 85 | shared_libs: [ |
| 86 | "android.hardware.drm.common-V1-ndk", |
| 87 | "android.hardware.graphics.composer3-V4-ndk", |
| 88 | ], |
| 89 | }, |
| 90 | }, |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 91 | } |