summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp4
-rw-r--r--framework/Android.bp4
-rw-r--r--service/Android.bp4
-rw-r--r--testing/Android.bp4
-rw-r--r--tests/Android.bp4
5 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e30df05b2..96d4259d0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
apex {
name: "com.android.permission",
defaults: ["com.android.permission-defaults"],
diff --git a/framework/Android.bp b/framework/Android.bp
index 1a2d5d541..f325184a9 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
filegroup {
name: "framework-permission-sources",
srcs: [
diff --git a/service/Android.bp b/service/Android.bp
index cc6f2019a..f10e7bf36 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
filegroup {
name: "service-permission-sources",
srcs: [
diff --git a/testing/Android.bp b/testing/Android.bp
index 63bf0a08e..8abed1e0c 100644
--- a/testing/Android.bp
+++ b/testing/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
apex_test {
name: "test_com.android.permission",
visibility: [
diff --git a/tests/Android.bp b/tests/Android.bp
index 271e328c1..eb4270a6f 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_test {
name: "PermissionApexTests",
sdk_version: "test_current",