summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:51:14 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:51:14 +0000
commita4d2cfbceaba1e8f74584adc0793339ad5e5ee25 (patch)
treeb1ea10db9dbd3eaeb82ec62fa94cadd82413a19f
parent26ef32a27635e278731f958c1b9559e43c8ce851 (diff)
parent1b926ebfe82498413a8f843c85402a9661140222 (diff)
downloadmtpd-a4d2cfbceaba1e8f74584adc0793339ad5e5ee25.tar.gz
Change-Id: I02aea91d165ce671fc02ad686fe8b1c3e14b3f64
-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
+}