xref: /aosp_15_r20/external/cpuinfo/deps/clog/Android.bp (revision 2b54f0db79fd8303838913b20ff3780cddaa909f)
1*2b54f0dbSXin Li// Copyright (C) 2020 The Android Open Source Project
2*2b54f0dbSXin Li//
3*2b54f0dbSXin Li// Licensed under the Apache License, Version 2.0 (the "License");
4*2b54f0dbSXin Li// you may not use this file except in compliance with the License.
5*2b54f0dbSXin Li// You may obtain a copy of the License at
6*2b54f0dbSXin Li//
7*2b54f0dbSXin Li//      http://www.apache.org/licenses/LICENSE-2.0
8*2b54f0dbSXin Li//
9*2b54f0dbSXin Li// Unless required by applicable law or agreed to in writing, software
10*2b54f0dbSXin Li// distributed under the License is distributed on an "AS IS" BASIS,
11*2b54f0dbSXin Li// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*2b54f0dbSXin Li// See the License for the specific language governing permissions and
13*2b54f0dbSXin Li// limitations under the License.
14*2b54f0dbSXin Li
15*2b54f0dbSXin Lipackage {
16*2b54f0dbSXin Li    default_applicable_licenses: ["external_cpuinfo_deps_clog_license"],
17*2b54f0dbSXin Li}
18*2b54f0dbSXin Li
19*2b54f0dbSXin Li// Added automatically by a large-scale-change
20*2b54f0dbSXin Li// See: http://go/android-license-faq
21*2b54f0dbSXin Lilicense {
22*2b54f0dbSXin Li    name: "external_cpuinfo_deps_clog_license",
23*2b54f0dbSXin Li    visibility: [":__subpackages__"],
24*2b54f0dbSXin Li    license_kinds: [
25*2b54f0dbSXin Li        "SPDX-license-identifier-BSD",
26*2b54f0dbSXin Li    ],
27*2b54f0dbSXin Li    license_text: [
28*2b54f0dbSXin Li        "LICENSE",
29*2b54f0dbSXin Li    ],
30*2b54f0dbSXin Li}
31*2b54f0dbSXin Li
32*2b54f0dbSXin Licc_library_static {
33*2b54f0dbSXin Li    name: "libclog",
34*2b54f0dbSXin Li    export_include_dirs: ["include"],
35*2b54f0dbSXin Li    vendor_available: true,
36*2b54f0dbSXin Li    sdk_version: "current",
37*2b54f0dbSXin Li    srcs: [
38*2b54f0dbSXin Li        "src/clog.c",
39*2b54f0dbSXin Li    ],
40*2b54f0dbSXin Li    cflags: [
41*2b54f0dbSXin Li        "-std=c99",
42*2b54f0dbSXin Li        "-Oz",
43*2b54f0dbSXin Li    ],
44*2b54f0dbSXin Li    shared_libs: [
45*2b54f0dbSXin Li        "liblog",
46*2b54f0dbSXin Li    ]
47*2b54f0dbSXin Li}
48