blob: 84adfba1569636a8cc83882037b98b58efbee20c [file] [log] [blame]
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["external_modp_b64_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_modp_b64_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: [
"LICENSE",
],
}
cc_library_static {
name: "libmodpb64",
host_supported: true,
ramdisk_available: true,
recovery_available: true,
vendor_available: true,
srcs: ["modp_b64.cc"],
cflags: [
"-Wall",
"-Werror",
],
local_include_dirs: ["modp_b64"],
export_include_dirs: ["."],
min_sdk_version: "30",
apex_available: [
"//apex_available:platform",
"com.android.btservices",
"com.android.nfcservices",
],
}
cc_library_static {
name: "libmodpb64_ndk",
vendor_available: false,
srcs: ["modp_b64.cc"],
cflags: [
"-Wall",
"-Werror",
],
local_include_dirs: ["modp_b64"],
export_include_dirs: ["."],
sdk_version: "current",
stl: "c++_static",
}