aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jars-to-module-info-java.sh
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-17 10:55:38 -0800
committerColin Cross <ccross@android.com>2017-11-17 23:05:26 +0000
commitd00350c61bd1ea29ef34da243ac08364a2b9527a (patch)
tree031cf0c631d244085f3e05d88ea7a6cf2ceabda8 /scripts/jars-to-module-info-java.sh
parent6dfde48ba1dff752950144161313ad226d0e44d1 (diff)
downloadbuild_soong-d00350c61bd1ea29ef34da243ac08364a2b9527a.tar.gz
build_soong-d00350c61bd1ea29ef34da243ac08364a2b9527a.tar.bz2
build_soong-d00350c61bd1ea29ef34da243ac08364a2b9527a.zip
Add license headers to all go and shell files
Test: none Change-Id: I75c443e05f2b1e17fcb6823182717d2e6f5df7c4
Diffstat (limited to 'scripts/jars-to-module-info-java.sh')
-rwxr-xr-xscripts/jars-to-module-info-java.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/jars-to-module-info-java.sh b/scripts/jars-to-module-info-java.sh
index 44be5494..dd151983 100755
--- a/scripts/jars-to-module-info-java.sh
+++ b/scripts/jars-to-module-info-java.sh
@@ -1,5 +1,19 @@
#!/bin/bash -e
+# Copyright 2017 Google Inc. All rights reserved.
+#
+# 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.
+
# Extracts the Java package names of all classes in the .jar files and writes a module-info.java
# file to stdout that exports all of those packages.