1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19bootstrap_go_package { 20 name: "soong-compliance", 21 pkgPath: "android/soong/compliance", 22 deps: [ 23 "soong-android", 24 ], 25 srcs: [ 26 "notice.go", 27 ], 28 testSrcs: [ 29 ], 30 pluginFor: ["soong_build"], 31} 32 33notice_xml { 34 name: "notice_xml_system", 35 partition_name: "system", 36 visibility: [ 37 "//visibility:any_system_partition", 38 ], 39} 40 41notice_xml { 42 name: "notice_xml_system_ext", 43 partition_name: "system_ext", 44} 45 46notice_xml { 47 name: "notice_xml_system_dlkm", 48 partition_name: "system_dlkm", 49} 50 51notice_xml { 52 name: "notice_xml_product", 53 partition_name: "product", 54} 55 56notice_xml { 57 name: "notice_xml_odm", 58 partition_name: "odm", 59} 60 61notice_xml { 62 name: "notice_xml_odm_dlkm", 63 partition_name: "odm_dlkm", 64} 65 66notice_xml { 67 name: "notice_xml_vendor", 68 partition_name: "vendor", 69} 70 71notice_xml { 72 name: "notice_xml_vendor_dlkm", 73 partition_name: "vendor_dlkm", 74} 75