| Jayant Chowdhary | dac6dc8 | 2018-10-01 22:52:44 +0000 | [diff] [blame] | 1 | // Copyright (C) 2018 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 |  | 
| Steven Moreland | 39d887d | 2020-01-31 14:56:45 -0800 | [diff] [blame] | 15 | // DO NOT ADD NEW USAGES OF THIS | 
|  | 16 | // See comments in header file. | 
|  | 17 | cc_library_static { | 
|  | 18 | name: "libbinderthreadstateutils", | 
|  | 19 | double_loadable: true, | 
|  | 20 | vendor_available: true, | 
|  | 21 | host_supported: true, | 
|  | 22 |  | 
|  | 23 | shared_libs: [ | 
|  | 24 | "libbinder", | 
| Jooyung Han | a395c8d | 2020-04-16 18:48:32 +0900 | [diff] [blame] | 25 | "libhidlbase", // libhwbinder is in here | 
| Steven Moreland | 39d887d | 2020-01-31 14:56:45 -0800 | [diff] [blame] | 26 | ], | 
|  | 27 |  | 
|  | 28 | export_include_dirs: ["include"], | 
|  | 29 |  | 
|  | 30 | cflags: [ | 
|  | 31 | "-Wall", | 
|  | 32 | "-Werror", | 
|  | 33 | ], | 
| Jooyung Han | a395c8d | 2020-04-16 18:48:32 +0900 | [diff] [blame] | 34 | min_sdk_version: "29", | 
| Steven Moreland | 39d887d | 2020-01-31 14:56:45 -0800 | [diff] [blame] | 35 | } | 
|  | 36 |  | 
|  | 37 | hidl_package_root { | 
|  | 38 | name: "binderthreadstateutilstest", | 
|  | 39 | } | 
|  | 40 |  | 
|  | 41 | aidl_interface { | 
|  | 42 | name: "binderthreadstateutilstest.aidl", | 
| Jiyong Park | 701fa1a | 2020-04-13 12:55:44 +0900 | [diff] [blame] | 43 | unstable: true, | 
| Steven Moreland | 39d887d | 2020-01-31 14:56:45 -0800 | [diff] [blame] | 44 | srcs: ["IAidlStuff.aidl"], | 
|  | 45 | } | 
|  | 46 |  | 
|  | 47 | cc_test { | 
|  | 48 | name: "libbinderthreadstateutils_test", | 
|  | 49 | srcs: ["test.cpp"], | 
|  | 50 | static_libs: [ | 
|  | 51 | "binderthreadstateutilstest@1.0", | 
|  | 52 | "binderthreadstateutilstest.aidl-cpp", | 
|  | 53 | "libbinderthreadstateutils", | 
|  | 54 | ], | 
|  | 55 | shared_libs: [ | 
|  | 56 | "libbase", | 
|  | 57 | "libbinder", | 
|  | 58 | "libcutils", | 
|  | 59 | "libhidlbase", | 
|  | 60 | "libutils", | 
|  | 61 | "liblog", | 
|  | 62 | ], | 
|  | 63 | test_suites: [ | 
|  | 64 | "general-tests", | 
|  | 65 | ], | 
|  | 66 | require_root: true, | 
|  | 67 | } |