From 492d4b7a88f9dc15e3a0605e3329d77a6c72a47c Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Sun, 12 Sep 2021 21:27:59 +0200 Subject: sdm660-common: Move to SPDX license identifier Change-Id: Ic46de254772fb2c3d57566ac0c60a7f5a7f55ab9 --- Android.mk | 12 +----------- BoardConfigCommon.mk | 20 +------------------- biometrics/Android.bp | 11 +---------- biometrics/BiometricsFingerprint.cpp | 12 +----------- biometrics/BiometricsFingerprint.h | 12 +----------- biometrics/service.cpp | 12 +----------- dpm/Android.bp | 11 +---------- init/Android.bp | 12 +----------- light/Android.bp | 11 +---------- light/Light.cpp | 12 +----------- light/Light.h | 12 +----------- light/service.cpp | 12 +----------- org.ifaa.android.manager/Android.bp | 12 +----------- sdm660.mk | 19 +------------------ 14 files changed, 14 insertions(+), 166 deletions(-) diff --git a/Android.mk b/Android.mk index 38cf9c5..b150d9f 100644 --- a/Android.mk +++ b/Android.mk @@ -1,17 +1,7 @@ # # Copyright (C) 2018 The LineageOS 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. +# SPDX-License-Identifier: Apache-2.0 # LOCAL_PATH := $(call my-dir) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 31cfb16..f5fdd05 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -1,25 +1,7 @@ # # Copyright (C) 2018 The LineageOS 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 file sets variables that control the way modules are built -# thorughout the system. It should not be used to conditionally -# disable makefiles (the proper mechanism to control what gets -# included in a build is to use PRODUCT_PACKAGES in a product -# definition file). +# SPDX-License-Identifier: Apache-2.0 # COMMON_PATH := device/xiaomi/sdm660-common diff --git a/biometrics/Android.bp b/biometrics/Android.bp index bf6e9da..739547a 100644 --- a/biometrics/Android.bp +++ b/biometrics/Android.bp @@ -1,17 +1,8 @@ // // Copyright (C) 2017-2018 The LineageOS 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 +// SPDX-License-Identifier: Apache-2.0 // -// 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. cc_binary { name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660", diff --git a/biometrics/BiometricsFingerprint.cpp b/biometrics/BiometricsFingerprint.cpp index 311bbc6..1937465 100644 --- a/biometrics/BiometricsFingerprint.cpp +++ b/biometrics/BiometricsFingerprint.cpp @@ -2,17 +2,7 @@ * Copyright (C) 2017 The Android Open Source Project * Copyright (C) 2018 The LineageOS 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. + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660" diff --git a/biometrics/BiometricsFingerprint.h b/biometrics/BiometricsFingerprint.h index 6d64e3d..852e3c7 100644 --- a/biometrics/BiometricsFingerprint.h +++ b/biometrics/BiometricsFingerprint.h @@ -1,17 +1,7 @@ /* * Copyright (C) 2017 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. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H diff --git a/biometrics/service.cpp b/biometrics/service.cpp index bf833b3..4f7dfb3 100644 --- a/biometrics/service.cpp +++ b/biometrics/service.cpp @@ -1,17 +1,7 @@ /* * Copyright (C) 2017 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. + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660" diff --git a/dpm/Android.bp b/dpm/Android.bp index 253b243..f385621 100644 --- a/dpm/Android.bp +++ b/dpm/Android.bp @@ -1,17 +1,8 @@ // // Copyright (C) 2020 The LineageOS 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 +// SPDX-License-Identifier: Apache-2.0 // -// 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. cc_library { name: "libshim_dpmframework", diff --git a/init/Android.bp b/init/Android.bp index dd596b9..c011681 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -1,17 +1,7 @@ // // Copyright (C) 2019-2020 The LineageOS 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. +// SPDX-License-Identifier: Apache-2.0 // cc_library_static { diff --git a/light/Android.bp b/light/Android.bp index b6910e6..66509c2 100644 --- a/light/Android.bp +++ b/light/Android.bp @@ -1,17 +1,8 @@ // // Copyright (C) 2018 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 +// SPDX-License-Identifier: Apache-2.0 // -// 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. cc_binary { defaults: ["hidl_defaults"], diff --git a/light/Light.cpp b/light/Light.cpp index 145ed32..2de81cb 100644 --- a/light/Light.cpp +++ b/light/Light.cpp @@ -2,17 +2,7 @@ * Copyright (C) 2018 The Android Open Source Project * Copyright (C) 2020 The LineageOS 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. + * SPDX-License-Identifier: Apache-2.0 */ // Author := dev_harsh1998, Isaac Chen diff --git a/light/Light.h b/light/Light.h index 1a28589..18cbb08 100644 --- a/light/Light.h +++ b/light/Light.h @@ -1,17 +1,7 @@ /* * Copyright (C) 2017-2020 The LineageOS 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. + * SPDX-License-Identifier: Apache-2.0 */ #pragma once diff --git a/light/service.cpp b/light/service.cpp index 27a4ebf..5b223a1 100644 --- a/light/service.cpp +++ b/light/service.cpp @@ -2,17 +2,7 @@ * Copyright (C) 2018 The Android Open Source Project * Copyright (C) 2020 The LineageOS 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. + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.light@2.0-service.xiaomi_sdm660" diff --git a/org.ifaa.android.manager/Android.bp b/org.ifaa.android.manager/Android.bp index 2c7d12d..b236038 100644 --- a/org.ifaa.android.manager/Android.bp +++ b/org.ifaa.android.manager/Android.bp @@ -1,17 +1,7 @@ /* * Copyright (C) 2017-2020 The LineageOS 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. +* SPDX-License-Identifier: Apache-2.0 */ java_library { diff --git a/sdm660.mk b/sdm660.mk index a286123..4e57a6d 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -1,24 +1,7 @@ # # Copyright (C) 2018 The LineageOS 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 file sets variables that control the way modules are built -# thorughout the system. It should not be used to conditionally -# disable makefiles (the proper mechanism to control what gets -# included in a build is to use PRODUCT_PACKAGES in a product -# definition file). +# SPDX-License-Identifier: Apache-2.0 # # Overlays -- cgit v1.2.3