Rahul Sabnis | 9af11bf | 2022-02-22 16:48:39 -0800 | [diff] [blame] | 1 | // OBEX library |
| 2 | package { |
| 3 | default_applicable_licenses: ["obex_license"], |
| 4 | } |
| 5 | |
| 6 | // Added automatically by a large-scale-change that took the approach of |
| 7 | // 'apply every license found to every target'. While this makes sure we respect |
| 8 | // every license restriction, it may not be entirely correct. |
| 9 | // |
| 10 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 11 | // |
| 12 | // Please consider splitting the single license below into multiple licenses, |
| 13 | // taking care not to lose any license_kind information, and overriding the |
| 14 | // default license using the 'licenses: [...]' property on targets as needed. |
| 15 | // |
| 16 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 17 | // to attach the license to, and including a comment whether the files may be |
| 18 | // used in the current project. |
| 19 | // See: http://go/android-license-faq |
| 20 | license { |
| 21 | name: "obex_license", |
| 22 | visibility: [":__subpackages__"], |
| 23 | license_kinds: [ |
| 24 | "SPDX-license-identifier-Apache-2.0", |
| 25 | "SPDX-license-identifier-BSD", |
| 26 | ], |
| 27 | license_text: [ |
| 28 | "LICENSE", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | java_library { |
Rahul Sabnis | fb45b35 | 2022-02-28 17:16:49 -0800 | [diff] [blame] | 33 | name: "com.android.obex", |
Rahul Sabnis | 9af11bf | 2022-02-22 16:48:39 -0800 | [diff] [blame] | 34 | |
| 35 | srcs: ["**/*.java"], |
| 36 | apex_available: [ |
| 37 | "com.android.bluetooth", |
| 38 | ], |
| 39 | sdk_version: "module_current", |
| 40 | min_sdk_version: "Tiramisu", |
| 41 | } |