summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:03:17 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:03:17 +0000
commit99cea46d41cd9c81b5dd242feba51b0b23e41904 (patch)
tree90b2363e73cdadae0dbdfc89a6a9a4fbc7d7c775
parent6f60cd7b3c380556509737f833b2198d7cb29596 (diff)
parent220cc312538874a582dd473938da9967c6331609 (diff)
downloaddoclava-99cea46d41cd9c81b5dd242feba51b0b23e41904.tar.gz
Snap for 7152399 from 220cc312538874a582dd473938da9967c6331609 to sc-v2-release
Change-Id: I3012a0f7a3e5ca29b24883f7c70a8ffbeec512c9
-rw-r--r--Android.bp35
1 files changed, 35 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4a5646b..4c81ca5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,41 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_doclava_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_doclava_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-CC-BY",
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
droiddoc_exported_dir {
name: "droiddoc-templates-sdk",
path: "res/assets/templates-sdk",