T.J. Mercier | 28b37f2 | 2024-06-07 18:34:19 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | package { |
| 18 | default_team: "trendy_team_android_kernel", |
| 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
T.J. Mercier | ae0b290 | 2024-08-05 18:18:35 +0000 | [diff] [blame^] | 22 | cc_library_static { |
T.J. Mercier | 28b37f2 | 2024-06-07 18:34:19 +0000 | [diff] [blame] | 23 | name: "libprocessgroup_util", |
| 24 | vendor_available: true, |
| 25 | product_available: true, |
| 26 | ramdisk_available: true, |
| 27 | vendor_ramdisk_available: true, |
| 28 | recovery_available: true, |
| 29 | host_supported: true, |
| 30 | native_bridge_supported: true, |
| 31 | apex_available: [ |
| 32 | "//apex_available:platform", |
| 33 | "//apex_available:anyapex", |
| 34 | ], |
| 35 | min_sdk_version: "30", |
| 36 | export_include_dirs: [ |
| 37 | "include", |
| 38 | ], |
T.J. Mercier | ae0b290 | 2024-08-05 18:18:35 +0000 | [diff] [blame^] | 39 | srcs: [ |
| 40 | "util.cpp", |
| 41 | ], |
T.J. Mercier | 28b37f2 | 2024-06-07 18:34:19 +0000 | [diff] [blame] | 42 | defaults: ["libprocessgroup_build_flags_cc"], |
| 43 | } |
| 44 | |
| 45 | cc_test { |
| 46 | name: "libprocessgroup_util_test", |
T.J. Mercier | ae0b290 | 2024-08-05 18:18:35 +0000 | [diff] [blame^] | 47 | static_libs: ["libprocessgroup_util"], |
T.J. Mercier | 28b37f2 | 2024-06-07 18:34:19 +0000 | [diff] [blame] | 48 | srcs: ["tests/util.cpp"], |
| 49 | test_suites: ["general-tests"], |
| 50 | } |