Corina | 3f93ca2 | 2020-10-15 14:52:21 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 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 | |
Bob Badour | 94fb36f | 2021-02-12 20:29:54 -0800 | [diff] [blame] | 17 | package { |
| 18 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 19 | } |
| 20 | |
Remi NGUYEN VAN | b649fd2 | 2022-02-22 18:07:24 +0900 | [diff] [blame] | 21 | // This library does not have srcs, so it is basically equivalent to a |
| 22 | // cc_library_headers at the moment: users of the library will compile the |
| 23 | // headers themselves and will need to include the necessary dependencies |
| 24 | // themselves (so there are no "libs" or "static_libs" below). Right now there |
| 25 | // is no lib dependency; the tests include the headers and build them without |
| 26 | // dependency to enforce that. |
| 27 | // If sources are added in the future, make sure not to add any heavy |
| 28 | // dependency, as it would grow all targets using the library, and such targets |
| 29 | // could be very lightweight originally (such as <20kB JNI libraries not using |
| 30 | // libc++). |
Anton Hansson | e2bf083 | 2020-12-03 16:36:12 +0000 | [diff] [blame] | 31 | cc_library_static { |
| 32 | name: "libmodules-utils-build", |
| 33 | min_sdk_version: "29", |
Remi NGUYEN VAN | b649fd2 | 2022-02-22 18:07:24 +0900 | [diff] [blame] | 34 | sdk_version: "current", |
Anton Hansson | e2bf083 | 2020-12-03 16:36:12 +0000 | [diff] [blame] | 35 | export_include_dirs: ["include"], |
Remi NGUYEN VAN | b649fd2 | 2022-02-22 18:07:24 +0900 | [diff] [blame] | 36 | header_libs: ["liblog_headers"], |
| 37 | export_header_lib_headers: ["liblog_headers"], |
Anton Hansson | f1ac584 | 2020-12-10 15:33:20 +0000 | [diff] [blame] | 38 | visibility: ["//visibility:public"], |
Anton Hansson | e2bf083 | 2020-12-03 16:36:12 +0000 | [diff] [blame] | 39 | apex_available: ["//apex_available:anyapex"], |
| 40 | } |