summaryrefslogtreecommitdiff
path: root/usb
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-02-10 13:39:55 -0800
committerBob Badour <bbadour@google.com>2022-02-10 13:39:55 -0800
commit13cb922a0542cd211c19fddb1f936bb39743a676 (patch)
tree39be41eb2eb0dc52aa022bd27a82122c600da129 /usb
parent477f865b05ae4c234326df01653a0032e614fb34 (diff)
[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to: camera/common/aidl/Android.bp camera/device/aidl/Android.bp camera/metadata/aidl/Android.bp usb/aidl/Android.bp usb/aidl/default/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: Ie530a51faa37d782428a20238e78573658697be8
Diffstat (limited to 'usb')
-rw-r--r--usb/aidl/Android.bp9
-rw-r--r--usb/aidl/default/Android.bp9
2 files changed, 18 insertions, 0 deletions
diff --git a/usb/aidl/Android.bp b/usb/aidl/Android.bp
index d1e9e680e9..f71cacb686 100644
--- a/usb/aidl/Android.bp
+++ b/usb/aidl/Android.bp
@@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "hardware_interfaces_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_interfaces_license"],
+}
+
aidl_interface {
name: "android.hardware.usb",
vendor_available: true,
diff --git a/usb/aidl/default/Android.bp b/usb/aidl/default/Android.bp
index da0cff23c3..7cb2822312 100644
--- a/usb/aidl/default/Android.bp
+++ b/usb/aidl/default/Android.bp
@@ -14,6 +14,15 @@
// limitations under the License.
//
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "hardware_interfaces_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_interfaces_license"],
+}
+
cc_binary {
name: "android.hardware.usb-service.example",
relative_install_path: "hw",