telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 ARM Ltd. All rights reserved. |
David Beck | 93e4898 | 2018-09-05 13:05:09 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 4 | // |
| 5 | |
Kevin DuBois | e6d328f | 2020-11-20 15:54:18 -0800 | [diff] [blame] | 6 | /* remove go package, not needed by AOSP build. |
Sadik Armagan | d6539c5 | 2019-05-22 18:00:30 +0100 | [diff] [blame] | 7 | bootstrap_go_package { |
| 8 | name: "armnn_nn_driver", |
| 9 | pkgPath: "android-nn-driver", |
| 10 | deps: [ |
| 11 | "blueprint", |
| 12 | "blueprint-pathtools", |
| 13 | "blueprint-proptools", |
| 14 | "soong", |
| 15 | "soong-android", |
| 16 | "soong-cc", |
| 17 | ], |
| 18 | srcs: [ |
| 19 | "androidnn.go", |
| 20 | ], |
| 21 | pluginFor: [ "soong_build" ], |
| 22 | } |
Kevin DuBois | e6d328f | 2020-11-20 15:54:18 -0800 | [diff] [blame] | 23 | */ |
Sadik Armagan | d6539c5 | 2019-05-22 18:00:30 +0100 | [diff] [blame] | 24 | |
Bob Badour | 4f9d971 | 2021-03-02 00:44:18 -0800 | [diff] [blame] | 25 | package { |
| 26 | default_applicable_licenses: ["external_android-nn-driver_license"], |
| 27 | } |
| 28 | |
| 29 | // Added automatically by a large-scale-change that took the approach of |
| 30 | // 'apply every license found to every target'. While this makes sure we respect |
| 31 | // every license restriction, it may not be entirely correct. |
| 32 | // |
| 33 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 34 | // |
| 35 | // Please consider splitting the single license below into multiple licenses, |
| 36 | // taking care not to lose any license_kind information, and overriding the |
| 37 | // default license using the 'licenses: [...]' property on targets as needed. |
| 38 | // |
| 39 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 40 | // to attach the license to, and including a comment whether the files may be |
| 41 | // used in the current project. |
| 42 | // See: http://go/android-license-faq |
| 43 | license { |
| 44 | name: "external_android-nn-driver_license", |
| 45 | visibility: [":__subpackages__"], |
| 46 | license_kinds: [ |
| 47 | "SPDX-license-identifier-Apache-2.0", |
| 48 | "SPDX-license-identifier-MIT", |
| 49 | ], |
| 50 | license_text: [ |
| 51 | "LICENSE", |
| 52 | ], |
| 53 | } |
| 54 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 55 | subdirs = [ |
| 56 | "armnn", |
| 57 | ] |