2022-04-15 13:16:16 +08:00
|
|
|
soong_namespace {
|
|
|
|
|
imports: [
|
|
|
|
|
"hardware/google/interfaces",
|
|
|
|
|
"hardware/google/pixel",
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package {
|
2022-04-15 18:52:04 +08:00
|
|
|
default_applicable_licenses: ["device_google_zuma_license"],
|
2022-04-15 13:16:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 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 {
|
2022-04-15 18:52:04 +08:00
|
|
|
name: "device_google_zuma_license",
|
2022-04-15 13:16:16 +08:00
|
|
|
visibility: [":__subpackages__"],
|
|
|
|
|
license_kinds: [
|
|
|
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
|
|
|
"SPDX-license-identifier-BSD",
|
|
|
|
|
],
|
|
|
|
|
license_text: [
|
|
|
|
|
"NOTICE",
|
|
|
|
|
],
|
|
|
|
|
}
|
2023-05-17 06:06:03 +00:00
|
|
|
|
|
|
|
|
sh_binary {
|
|
|
|
|
name: "disable_contaminant_detection.sh",
|
|
|
|
|
src: "disable_contaminant_detection.sh",
|
|
|
|
|
vendor: true,
|
|
|
|
|
sub_dir: "hw",
|
|
|
|
|
}
|
2024-03-13 15:45:45 -07:00
|
|
|
|
|
|
|
|
// Filesystem: Copy efs/efs_backup/modem_userdata to /data partition
|
|
|
|
|
// so that they can be accessed under 16K mode. By default, these partitions
|
|
|
|
|
// are 4K F2FS , which can't be mounted under 16K mode.
|
|
|
|
|
// (b/293313353)
|
|
|
|
|
sh_binary {
|
|
|
|
|
name: "copy_efs_files_to_data",
|
|
|
|
|
src: "copy_efs_files_to_data.sh",
|
|
|
|
|
vendor: true,
|
|
|
|
|
}
|
|
|
|
|
|