xref: /aosp_15_r20/external/gemmlowp/Android.bp (revision 5f39d1b313f0528e11bae88b3029b54b9e1033e7)
1// Copyright (C) 2015 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
15package {
16    default_applicable_licenses: ["external_gemmlowp_license"],
17}
18
19// Added automatically by a large-scale-change
20//
21// large-scale-change included anything that looked like it might be a license
22// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
23//
24// Please consider removing redundant or irrelevant files from 'license_text:'.
25// See: http://go/android-license-faq
26license {
27    name: "external_gemmlowp_license",
28    visibility: [":__subpackages__"],
29    license_kinds: [
30        "SPDX-license-identifier-Apache-2.0",
31    ],
32    license_text: [
33        "LICENSE",
34        "NOTICE",
35    ],
36}
37
38cc_library_headers {
39    name: "libfixedpoint",
40    vendor_available: true,
41    host_supported: true,
42    export_include_dirs: ["fixedpoint"],
43}
44
45cc_library_headers {
46    name: "libgemmlowp",
47    vendor_available: true,
48    host_supported: true,
49    export_include_dirs: ["public"],
50}
51
52cc_library_headers {
53    name: "gemmlowp_headers",
54    vendor_available: true,
55    host_supported: true,
56    export_include_dirs: ["."],
57    apex_available: [
58        "com.android.neuralnetworks",
59        "test_com.android.neuralnetworks",
60        "//apex_available:platform",
61    ],
62    sdk_version: "current",
63    min_sdk_version: "apex_inherit",
64}
65
66subdirs = ["eight_bit_int_gemm"]
67