| // Copyright (C) 2023 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. |
| |
| // This is manually maintained and automatically included into the Android.bp by the gn2bp script. |
| |
| license { |
| name: "external_cronet_license", |
| license_kinds: [ |
| "SPDX-license-identifier-AFL-2.0", |
| "SPDX-license-identifier-Apache-2.0", |
| "SPDX-license-identifier-BSD", |
| "SPDX-license-identifier-BSD-3-Clause", |
| "SPDX-license-identifier-BSD-Source-Code", |
| "SPDX-license-identifier-BSD-2-Clause", |
| "SPDX-license-identifier-BSD-4-Clause", |
| "SPDX-license-identifier-BSL-1.0", |
| "SPDX-license-identifier-ICU", |
| "SPDX-license-identifier-ISC", |
| "SPDX-license-identifier-MIT", |
| "SPDX-license-identifier-MPL", |
| "SPDX-license-identifier-MPL-1.1", |
| "SPDX-license-identifier-MPL-2.0", |
| "SPDX-license-identifier-NCSA", |
| // "SPDX-license-identifier-GPL-2.0-with-autoconf-exception", // ICU TODO(aymanm): Reapply those once aosp/2470343 is merged |
| // "SPDX-license-identifier-GPL-3.0-with-autoconf-exception", // ICU TODO(aymanm): Reapply those once aosp/2470343 is merged |
| "SPDX-license-identifier-OpenSSL", |
| "SPDX-license-identifier-Unicode-DFS-2016", |
| "legacy_unencumbered", |
| ], |
| license_text: [ |
| "LICENSE", |
| ], |
| } |
| |
| java_library { |
| // Don't change the name of the module. |
| name: "cronet_aml_api_java", |
| srcs: [ |
| ":cronet_aml_api_sources", |
| ], |
| libs: [ |
| "androidx.annotation_annotation", |
| "framework-annotations-lib", |
| "framework-connectivity.stubs.module_lib", |
| ], |
| sdk_version: "module_current", |
| } |