blob: cc023503f761a065f6a5b44d451977b4ba27a444 [file] [log] [blame]
Dan Willemsena088d392016-07-13 23:56:38 -07001// 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
Bob Badour38a2bcd2021-02-12 20:28:59 -080015package {
16 default_applicable_licenses: ["external_modp_b64_license"],
17}
18
19// Added automatically by a large-scale-change
20// See: http://go/android-license-faq
21license {
22 name: "external_modp_b64_license",
23 visibility: [":__subpackages__"],
24 license_kinds: [
25 "SPDX-license-identifier-BSD",
26 ],
27 license_text: [
28 "LICENSE",
29 ],
30}
31
Dan Willemsena088d392016-07-13 23:56:38 -070032cc_library_static {
33 name: "libmodpb64",
34 host_supported: true,
Inseob Kim6353ccb2021-06-14 11:55:27 +090035 ramdisk_available: true,
Dan Willemsendf5b9e22018-10-23 14:08:14 -070036 recovery_available: true,
Dan Willemsen68d0b572017-04-07 14:13:23 -070037 vendor_available: true,
Dan Willemsena088d392016-07-13 23:56:38 -070038 srcs: ["modp_b64.cc"],
39
40 cflags: [
41 "-Wall",
42 "-Werror",
43 ],
44 local_include_dirs: ["modp_b64"],
45 export_include_dirs: ["."],
Roopa Sattiraju0dfb8062021-12-23 11:17:46 -080046 min_sdk_version: "30",
William Escande74543e12022-03-02 20:25:14 +010047 apex_available: [
48 "//apex_available:platform",
49 "com.android.bluetooth",
50 ],
Dan Willemsena088d392016-07-13 23:56:38 -070051}
Emilian Peev57d75ec2019-01-29 11:06:19 -080052
53cc_library_static {
54 name: "libmodpb64_ndk",
55 vendor_available: false,
56 srcs: ["modp_b64.cc"],
57
58 cflags: [
59 "-Wall",
60 "-Werror",
61 ],
62 local_include_dirs: ["modp_b64"],
63 export_include_dirs: ["."],
64 sdk_version: "current",
65 stl: "c++_static",
66}