[LSC] Add LOCAL_LICENSE_KINDS to device/google/sunfish
Added SPDX-license-identifier-Apache-2.0 to:
bootctrl/Android.bp
dumpstate/Android.mk
health/Android.bp
keymaster/Android.bp
overlay_packages/SettingsOverlayG025J/Android.bp
overlay_packages/SettingsOverlayG025M/Android.bp
overlay_packages/SettingsOverlayG025N/Android.bp
pixelstats/Android.bp
powerstats/Android.bp
rro_overlays/WifiOverlay/Android.bp
self-extractors/qcom/staging/Android.mk
usb/Android.bp
vibrator/Android.bp
vibrator/apex/Android.bp
vibrator/common/Android.bp
vibrator/common/bench/Android.bp
vibrator/drv2624/Android.bp
vibrator/drv2624/bench/Android.bp
vibrator/drv2624/tests/Android.bp
voice_processing/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT legacy_not_a_contribution
legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-BSD
to:
gpt-utils/Android.bp
Added SPDX-license-identifier-MIT legacy_unencumbered
to:
json-c/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ie80d0d60f0f11e319f786604d4a548543ab07ce9
Merged-in: I1fb52042e21be78a79d59c4d8c33c34b6a2957aa
This commit is contained in:
31
Android.bp
31
Android.bp
@@ -5,3 +5,34 @@ soong_namespace {
|
||||
"hardware/qcom/bootctrl",
|
||||
],
|
||||
}
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["device_google_sunfish_license"],
|
||||
}
|
||||
|
||||
// Added automatically by a large-scale-change that took the approach of
|
||||
// 'apply every license found to every target'. While this makes sure we respect
|
||||
// every license restriction, it may not be entirely correct.
|
||||
//
|
||||
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
|
||||
//
|
||||
// Please consider splitting the single license below into multiple licenses,
|
||||
// taking care not to lose any license_kind information, and overriding the
|
||||
// default license using the 'licenses: [...]' property on targets as needed.
|
||||
//
|
||||
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
|
||||
// to attach the license to, and including a comment whether the files may be
|
||||
// used in the current project.
|
||||
// See: http://go/android-license-faq
|
||||
license {
|
||||
name: "device_google_sunfish_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"SPDX-license-identifier-Apache-2.0",
|
||||
"SPDX-license-identifier-BSD",
|
||||
"SPDX-license-identifier-MIT",
|
||||
"legacy_not_a_contribution",
|
||||
"legacy_unencumbered",
|
||||
],
|
||||
// large-scale-change unable to identify any license_text files
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "bootctrl.sm6150",
|
||||
defaults: ["bootctrl_hal_defaults"],
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := android.hardware.dumpstate@1.1-service.sunfish
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.sunfish.rc
|
||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||
|
||||
|
||||
@@ -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 "device_google_sunfish_license"
|
||||
// to get the below license kinds:
|
||||
// SPDX-license-identifier-BSD
|
||||
default_applicable_licenses: ["device_google_sunfish_license"],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libgptutils.sunfish",
|
||||
vendor: true,
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "android.hardware.health@2.1-impl-sunfish",
|
||||
stem: "android.hardware.health@2.0-impl-2.1-sunfish",
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
LIBJSON_ROOT := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := libjson
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT legacy_unencumbered
|
||||
LOCAL_LICENSE_CONDITIONS := notice unencumbered
|
||||
LOCAL_PATH := $(LIBJSON_ROOT)
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/COPYING
|
||||
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
||||
LOCAL_COPY_HEADERS_TO := libjson/inc
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "wait_for_strongbox",
|
||||
relative_install_path: "hw",
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsOverlayG025J",
|
||||
product_specific: true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsOverlayG025M",
|
||||
product_specific: true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsOverlayG025N",
|
||||
product_specific: true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "pixelstats-vendor",
|
||||
init_rc: ["pixelstats-vendor.sunfish.rc"],
|
||||
@@ -32,4 +36,3 @@ cc_binary {
|
||||
static_libs: ["chre_client"],
|
||||
header_libs: ["chre_api"],
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
// 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.
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.power.stats@1.0-service.pixel",
|
||||
relative_install_path: "hw",
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiOverlay",
|
||||
theme: "WifiOverlay",
|
||||
|
||||
@@ -4,6 +4,9 @@ ifneq ($(filter sunfish, $(TARGET_DEVICE)),)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_MODULE := ims
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
@@ -17,6 +20,9 @@ include $(BUILD_PREBUILT)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_MODULE := qcrilmsgtunnel
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
@@ -30,6 +36,9 @@ include $(BUILD_PREBUILT)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_MODULE := QtiTelephonyService
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.usb@1.2-service.sunfish",
|
||||
relative_install_path: "hw",
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "PixelVibratorDefaultsSunfish",
|
||||
defaults: ["hidl_defaults"],
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
apex {
|
||||
name: "com.android.vibrator.sunfish",
|
||||
manifest: "apex_manifest.json",
|
||||
@@ -47,4 +51,4 @@ prebuilt_etc {
|
||||
name: "android.hardware.vibrator@1.3-service.sunfish.rc",
|
||||
src: "android.hardware.vibrator@1.3-service.sunfish.rc",
|
||||
installable: false,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "PixelVibratorCommonSunfish",
|
||||
srcs: [
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_benchmark {
|
||||
name: "VibratorHalIntegrationBenchmarkSunfish",
|
||||
defaults: ["hidl_defaults"],
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "android.hardware.vibrator@1.3-defaults.sunfish",
|
||||
defaults: ["PixelVibratorDefaultsSunfish"],
|
||||
@@ -57,4 +61,4 @@ prebuilt_firmware {
|
||||
src: "drv2624.bin",
|
||||
filename_from_src: true,
|
||||
proprietary: true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_benchmark {
|
||||
name: "VibratorHalDrv2624BenchmarkSunfish",
|
||||
defaults: ["VibratorHalDrv2624TestDefaultsSunfish"],
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_test {
|
||||
name: "VibratorHalDrv2624TestSuiteSunfish",
|
||||
defaults: ["VibratorHalDrv2624TestDefaultsSunfish"],
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libqcomvoiceprocessingdescriptors",
|
||||
srcs: ["voice_processing_descriptors.c"],
|
||||
|
||||
Reference in New Issue
Block a user