summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-14 00:45:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-14 00:45:08 +0000
commitec6e898e86c5177989b38e0319c2b3019cc0a547 (patch)
treeb1ea10db9dbd3eaeb82ec62fa94cadd82413a19f
parent26ef32a27635e278731f958c1b9559e43c8ce851 (diff)
parent1b926ebfe82498413a8f843c85402a9661140222 (diff)
downloadmtpd-android12-mainline-permission-release.tar.gz
Change-Id: I1ba5a6b5a232a358784f8caed79acc9bc892eeb5
-rw-r--r--Android.bp20
-rw-r--r--METADATA3
2 files changed, 23 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 064b0c8..f6c4960 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_mtpd_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_mtpd_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_binary {
name: "mtpd",
srcs: [
@@ -31,4 +48,7 @@ cc_binary {
"-Werror",
],
init_rc: ["mtpd.rc"],
+ sanitize: {
+ memtag_heap: true,
+ },
}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: NOTICE
+}