From fb97572c29f3ed63decff594cb50db89f8619622 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 14 Apr 2021 19:06:08 +0100 Subject: [PATCH] Add restrictive default visibility for module repo Avoid dependencies that the repo owners do not know about. Test: m nothing Change-Id: I9c24b33cd0dcd98850002d9ab86492f6175acf38 --- Android.bp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Android.bp diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..28403b3 --- /dev/null +++ b/Android.bp @@ -0,0 +1,18 @@ +// Copyright (C) 2021 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_visibility: ["//packages/modules/common:__subpackages__"], + default_applicable_licenses: ["Android-Apache-2.0"], +}