aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp28
1 files changed, 22 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 5e5382e..27161ee 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,12 +14,28 @@
// limitations under the License.
//
-cc_prebuilt_binary {
- name: "shflags",
- device_supported: false,
- host_supported: true,
+package {
+ default_applicable_licenses: ["external_shflags_license"],
+}
- srcs: ["src/shflags"],
+// Added automatically by a large-scale-change
+//
+// large-scale-change filtered out the below license kinds as false-positives:
+// SPDX-license-identifier-LGPL
+// See: http://go/android-license-faq
+license {
+ name: "external_shflags_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
- relative_install_path: "lib/shflags",
+sh_binary_host {
+ name: "shflags",
+ src: "shflags",
+ sub_dir: "lib/shflags",
}