• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
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++).
31cc_library_static {
32    name: "libmodules-utils-build",
33    min_sdk_version: "29",
34    sdk_version: "current",
35    export_include_dirs: ["include"],
36    header_libs: ["liblog_headers"],
37    export_header_lib_headers: ["liblog_headers"],
38    visibility: ["//visibility:public"],
39    apex_available: ["//apex_available:anyapex"],
40}
41