blob: 99f3dbe5c55c5e2d96f431cbac589a8aa2ad6bec [file] [log] [blame]
Corina3f93ca22020-10-15 14:52:21 +01001//
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 Badour94fb36f2021-02-12 20:29:54 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Remi NGUYEN VANb649fd22022-02-22 18:07:24 +090021// 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 Hanssone2bf0832020-12-03 16:36:12 +000031cc_library_static {
32 name: "libmodules-utils-build",
33 min_sdk_version: "29",
Remi NGUYEN VANb649fd22022-02-22 18:07:24 +090034 sdk_version: "current",
Anton Hanssone2bf0832020-12-03 16:36:12 +000035 export_include_dirs: ["include"],
Remi NGUYEN VANb649fd22022-02-22 18:07:24 +090036 header_libs: ["liblog_headers"],
37 export_header_lib_headers: ["liblog_headers"],
Anton Hanssonf1ac5842020-12-10 15:33:20 +000038 visibility: ["//visibility:public"],
Anton Hanssone2bf0832020-12-03 16:36:12 +000039 apex_available: ["//apex_available:anyapex"],
40}