Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["frameworks_native_libs_arect_license"], |
John Reck | 38bc8a8 | 2024-02-21 17:08:27 -0500 | [diff] [blame] | 17 | default_team: "trendy_team_android_core_graphics_stack", |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | // Added automatically by a large-scale-change |
| 21 | // See: http://go/android-license-faq |
| 22 | license { |
| 23 | name: "frameworks_native_libs_arect_license", |
| 24 | visibility: [":__subpackages__"], |
| 25 | license_kinds: [ |
| 26 | "SPDX-license-identifier-Apache-2.0", |
| 27 | ], |
| 28 | license_text: [ |
| 29 | "NOTICE", |
| 30 | ], |
| 31 | } |
| 32 | |
Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 33 | ndk_headers { |
Marco Nelissen | f782022 | 2019-10-30 13:58:26 -0700 | [diff] [blame] | 34 | name: "libarect_headers_for_ndk", |
Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 35 | from: "include/android", |
| 36 | to: "android", |
| 37 | srcs: ["include/android/*.h"], |
| 38 | license: "NOTICE", |
| 39 | } |
| 40 | |
Marco Nelissen | f782022 | 2019-10-30 13:58:26 -0700 | [diff] [blame] | 41 | cc_library_headers { |
| 42 | name: "libarect_headers", |
Aleks Todorov | ce4d636 | 2024-09-16 13:40:14 +0100 | [diff] [blame] | 43 | host_supported: true, |
Harish Mahendrakar | 54ff521 | 2022-05-27 10:41:14 -0700 | [diff] [blame] | 44 | vendor_available: true, |
| 45 | min_sdk_version: "29", |
Victor Khimenko | fa98c1c | 2020-08-18 16:15:29 +0200 | [diff] [blame] | 46 | // TODO(b/153609531): remove when no longer needed. |
| 47 | native_bridge_supported: true, |
Marco Nelissen | f782022 | 2019-10-30 13:58:26 -0700 | [diff] [blame] | 48 | export_include_dirs: ["include"], |
Harish Mahendrakar | 54ff521 | 2022-05-27 10:41:14 -0700 | [diff] [blame] | 49 | apex_available: [ |
| 50 | "//apex_available:platform", |
| 51 | "com.android.media", |
| 52 | "com.android.media.swcodec", |
| 53 | ], |
Spandan Das | 0bb757a | 2022-10-25 00:50:08 +0000 | [diff] [blame] | 54 | llndk: { |
| 55 | llndk_headers: true, |
| 56 | }, |
Marco Nelissen | f782022 | 2019-10-30 13:58:26 -0700 | [diff] [blame] | 57 | } |
| 58 | |
Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 59 | cc_library_static { |
| 60 | name: "libarect", |
| 61 | host_supported: true, |
Jiyong Park | c45a816 | 2017-04-27 17:29:29 +0900 | [diff] [blame] | 62 | vendor_available: true, |
Victor Khimenko | b7322fc | 2020-06-16 01:01:15 +0200 | [diff] [blame] | 63 | // TODO(b/153609531): remove when no longer needed. |
| 64 | native_bridge_supported: true, |
Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 65 | export_include_dirs: ["include"], |
Jerome Gaillard | 81a3af2 | 2018-11-29 19:27:57 +0000 | [diff] [blame] | 66 | target: { |
| 67 | windows: { |
| 68 | enabled: true, |
| 69 | }, |
| 70 | }, |
Jooyung Han | a395c8d | 2020-04-16 18:48:32 +0900 | [diff] [blame] | 71 | min_sdk_version: "29", |
Ray Essick | b6e9998 | 2022-01-26 10:38:31 -0800 | [diff] [blame] | 72 | // static link, so it won't straddle a module boundary at runtime. |
| 73 | apex_available: [ |
| 74 | "//apex_available:platform", |
| 75 | "com.android.media", |
| 76 | "com.android.media.swcodec", |
Spandan Das | d3cf3c7 | 2023-05-06 00:01:25 +0000 | [diff] [blame] | 77 | "com.android.neuralnetworks", |
Ray Essick | b6e9998 | 2022-01-26 10:38:31 -0800 | [diff] [blame] | 78 | ], |
| 79 | |
Mathias Agopian | a934764 | 2017-02-13 16:42:28 -0800 | [diff] [blame] | 80 | } |