summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/Android.bp17
-rw-r--r--profcollectd/libprofcollectd/Android.bp9
-rw-r--r--profcollectd/libprofcollectd/bindings/libflags/Android.bp9
3 files changed, 35 insertions, 0 deletions
diff --git a/profcollectd/Android.bp b/profcollectd/Android.bp
index 16ffb54a..cd0d8852 100644
--- a/profcollectd/Android.bp
+++ b/profcollectd/Android.bp
@@ -14,6 +14,23 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["system_extras_profcollectd_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "system_extras_profcollectd_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
rust_binary {
name: "profcollectctl",
diff --git a/profcollectd/libprofcollectd/Android.bp b/profcollectd/libprofcollectd/Android.bp
index e1491b76..dc09889c 100644
--- a/profcollectd/libprofcollectd/Android.bp
+++ b/profcollectd/libprofcollectd/Android.bp
@@ -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 "system_extras_profcollectd_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["system_extras_profcollectd_license"],
+}
+
aidl_interface {
name: "profcollectd_aidl_interface",
unstable: true,
diff --git a/profcollectd/libprofcollectd/bindings/libflags/Android.bp b/profcollectd/libprofcollectd/bindings/libflags/Android.bp
index 9fd08551..f7cf2ed9 100644
--- a/profcollectd/libprofcollectd/bindings/libflags/Android.bp
+++ b/profcollectd/libprofcollectd/bindings/libflags/Android.bp
@@ -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 "system_extras_profcollectd_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["system_extras_profcollectd_license"],
+}
+
cc_library_static {
name: "libprofcollect_libflags",
srcs: ["get_flags.cpp"],